Prepare for gettext

This commit is contained in:
Vojtěch Sajdl
2017-12-31 00:41:58 +01:00
parent 83e72e2f4c
commit bef338fd99
14 changed files with 149 additions and 149 deletions
+4 -4
View File
@@ -18,9 +18,9 @@ if ($mysqli->connect_errno) {
$mysqli->set_charset("utf8");
//This should later be translatable, maybe find a better solution?
$statuses = array("Major outage", "Minor outage", "Planned maintenance", "Operational" );
$statuses = array(_("Major outage"), _("Minor outage"), _("Planned maintenance"), _("Operational") );
$classes = array("danger", "warning", "primary", "success" );
$icons = array("fa fa-times", "fa fa-exclamation", "fa fa-info", "fa fa-check" );
$some = array("Some systems are experiencing major outages", "Some systems are experiencing minor outages", "Some systems are under maintenance");
$all = array("Our systems are experiencing major outages.", "Our systems are experiencing minor outages", "Our systems are under maintenance", "All systems operational");
$permissions = array("Super admin", "Admin", "Writer");
$some = array(_("Some systems are experiencing major outages"), _("Some systems are experiencing minor outages"), _("Some systems are under maintenance"));
$all = array(_("Our systems are experiencing major outages."), _("Our systems are experiencing minor outages"), _("Our systems are under maintenance"), _("All systems operational"));
$permissions = array(_("Super admin"), _("Admin"), _("Writer"));