Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions localization/panorama_english.txt
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,12 @@
"Settings_General_Search_MatchedEnglishTag" "Matches "
"Settings_General_Search_VeryFull" "{s:count} more match"
"Settings_General_Search_VeryFull_Plural" "{s:count} more matches"

// Needed for Cyrillic languages. Russian has two definitions of the word "plural"; one is for
// exactly two matches (Search_VeryFull_Plural), another is for more than two matches (Search_VeryFull_Plural2).
// So this "duplicate" string exists and is used in place.
"Settings_General_Search_VeryFull_Plural2" "{s:count} more matches"

"Settings_Reset_Title" "Confirm Reset"
"Settings_Reset_Message_Generic" "Are you sure you want to reset this section's settings to their default values?"
"Settings_Reset_Message_Checker" "The following settings are currently different from their default values and will be reset:"
Expand Down
4 changes: 4 additions & 0 deletions scripts/pages/settings/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,10 @@ class SettingsSearch {
class: 'settings-search__empty-para'
});
if (left === 1) p.SetLocalizationString('#Settings_General_Search_VeryFull');
// Needed for Cyrillic languages. Russian has two definitions of the word "plural"; one is for
// exactly two matches (Search_VeryFull_Plural), another is for more than two matches (Search_VeryFull_Plural2).
// So this "duplicate" string exists and is used in place.
else if (left > 2) p.SetLocalizationString('#Settings_General_Search_VeryFull_Plural2');
else p.SetLocalizationString('#Settings_General_Search_VeryFull_Plural');
p.SetDialogVariable('count', left);
}
Expand Down
Loading