[lang] Missing localization for a string.

From Marcus Hinz.
This commit is contained in:
Solomon Peachy 2008-08-28 15:02:40 -04:00
parent b242e16c3d
commit 94536a39ee
4 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,7 @@ For further information about Photo Organizer, see its web site at:
[fix] An incorrect function name in site_display_random_photos() [#374]
[fix] Adding new label types failed.
[fix] Label/Film/Camera deletion wasn't working.
[fix] Localize an overlooked string. [#375]
2.36 (August 17, 2008)

View File

@ -249,6 +249,7 @@ function display_colorspace_combo($identifier, $current_value) {
}
function display_photo_index_status($offset, $limit, $num_of_items) {
global $strings;
$first_index = $offset + 1;
$last_index = $offset + $limit;
@ -262,7 +263,7 @@ function display_photo_index_status($offset, $limit, $num_of_items) {
return "<b>$num_of_items</b>";
}
else
return "<b>$first_index</b>-<b>$last_index</b> of <b>$num_of_items</b>";
return "<b>$first_index</b>-<b>$last_index</b> " . $strings['generic']['of'] . " <b>$num_of_items</b>";
}
function emit_yes_no_text($value) {

View File

@ -336,6 +336,7 @@ $strings['generic']['add'] = 'hinzufügen';
$strings['generic']['and'] = 'und';
$strings['generic']['with'] = 'mit';
$strings['generic']['in'] = 'in';
$strings['generic']['of'] = 'von';
$strings['generic']['add_versions'] = 'zusätzliche Versionen';
$strings['generic']['members_storing'] = 'Benutzer speichern';

View File

@ -528,6 +528,7 @@ $strings['generic']['add'] = 'Add';
$strings['generic']['and'] = 'and';
$strings['generic']['with'] = 'with';
$strings['generic']['in'] = 'in';
$strings['generic']['of'] = 'of';
$strings['generic']['refs'] = 'references';