r1296: Marking a few missed strings in admin/index.php
authorRobert Sesek <rsesek@bluestatic.org>
Tue, 21 Nov 2006 03:59:00 +0000 (03:59 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Tue, 21 Nov 2006 03:59:00 +0000 (03:59 +0000)
admin/index.php
docs/changes.txt

index ffe21e3988f3a32acaa6ed4c6bd9c5356c5b0e50..10d27d4e6d62c148c12e24a06e7782fccc8a55a5 100755 (executable)
@@ -25,7 +25,7 @@ NavLinks::optionsPages();
 $navigator->set_focus('tab', 'options', null);
 $navigator->set_focus('link', 'options-pages-home', 'options-pages');
 
-$admin->page_start('Home');
+$admin->page_start(_('Home'));
 
 // ###################################################################
 
@@ -37,11 +37,11 @@ if (!defined('NO_VERSION_CHEK') OR constant('NO_VERSION_CHECK') != true)
                $check = $bugsys->xml->parse($check);
                if (isset($check['version-check']['update']))
                {
-                       $admin->page_code('<div style="background-color: white; border-color: red; border-width: 2px; border-style: solid; color: red; padding: 4px"><div style="font-size: 18px; font-weight: bold">Update Avaliable:</div>Your installation of Bugdar is out-of-date. You are running version <strong>' . $bugsys->options['trackerversion'] . '</strong> and the latest version is <strong>' . $check['version-check']['update']['value'] . '</strong>. You can download the update at <a href="http://www.bluestatic.org">Blue Static\'s website</a>. You are strongly encouraged to apply all updates to fix bugs and any security issues (if present).</div>');
+                       $admin->page_code('<div style="background-color: white; border-color: red; border-width: 2px; border-style: solid; color: red; padding: 4px"><div style="font-size: 18px; font-weight: bold">' . _('Update Avaliable') . ':</div>' . sprintf(_('Your installation of Bugdar is out-of-date. You are running version <strong>%1$s</strong> and the latest version is <strong>%2$s</strong>. You can download the update at <a href="http://www.bluestatic.org">Blue Static\'s website</a>. You are strongly encouraged to apply all updates to fix bugs and any security issues (if present).'), $bugsys->options['trackerversion'], $check['version-check']['update']['value']) . '</div>');
                }
                else if (isset($check['version-check']['up-to-date']))
                {
-                       $admin->page_code('<div style="background-color: white; border-color: green; border-width: 2px; border-style: solid; color: green; padding: 4px"><div style="font-size: 18px; font-weight: bold">Up-to-Date:</div>Your installation of Bugdar is up-to-date. You are running version <strong>' . $bugsys->options['trackerversion'] . '</strong>.</div>');
+                       $admin->page_code('<div style="background-color: white; border-color: green; border-width: 2px; border-style: solid; color: green; padding: 4px"><div style="font-size: 18px; font-weight: bold">' . _('Up-to-Date') . ':</div>' . sprintf(_('Your installation of Bugdar is up-to-date. You are running version <strong>%1$s</strong>.'), $bugsys->options['trackerversion']) . '</div>');
                }
        }
 }
index 09d7c109af87e42fc8c822c6ae98d5b2043118af..7a1668f815a25dfa071507d65e9593cb507402a5 100644 (file)
@@ -20,6 +20,8 @@
 - Only allow JPG, JPEG, PNG, and GIF attachments to be displayed inline because all other types could lead to an XSS attack
 - Added maxlength attributes to all <input type="text"/> fields so the database doesn't truncate (http://www.bluestatic.org/bugs/showreport.php?bugid=58)
 - Fixed display issues in Firefox for RTL languages in the bug report screen and attachment display (http://www.bluestatic.org/bugs/showreport.php?bugid=59)
+- Localized the version checking information strings in admin/index.php
+- Localized the word "Home" in the admin/index.php <title>
 
 1.1.3
 ===============================