From f2ec4026d4be2e3a367f0d23c0cf2ff9ae9531fb Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 21 Nov 2006 03:59:00 +0000 Subject: [PATCH] r1296: Marking a few missed strings in admin/index.php --- admin/index.php | 6 +++--- docs/changes.txt | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/admin/index.php b/admin/index.php index ffe21e3..10d27d4 100755 --- a/admin/index.php +++ b/admin/index.php @@ -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('
Update Avaliable:
Your installation of Bugdar is out-of-date. You are running version ' . $bugsys->options['trackerversion'] . ' and the latest version is ' . $check['version-check']['update']['value'] . '. You can download the update at Blue Static\'s website. You are strongly encouraged to apply all updates to fix bugs and any security issues (if present).
'); + $admin->page_code('
' . _('Update Avaliable') . ':
' . sprintf(_('Your installation of Bugdar is out-of-date. You are running version %1$s and the latest version is %2$s. You can download the update at Blue Static\'s website. 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']) . '
'); } else if (isset($check['version-check']['up-to-date'])) { - $admin->page_code('
Up-to-Date:
Your installation of Bugdar is up-to-date. You are running version ' . $bugsys->options['trackerversion'] . '.
'); + $admin->page_code('
' . _('Up-to-Date') . ':
' . sprintf(_('Your installation of Bugdar is up-to-date. You are running version %1$s.'), $bugsys->options['trackerversion']) . '
'); } } } diff --git a/docs/changes.txt b/docs/changes.txt index 09d7c10..7a1668f 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -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 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 1.1.3 =============================== -- 2.22.5