Fix locale errors

This commit is contained in:
Twan van Laarhoven
2020-05-22 19:02:31 +02:00
parent 8192bd9613
commit 9922e39feb
3 changed files with 5 additions and 8 deletions
+1 -4
View File
@@ -452,9 +452,6 @@ label:
seed: Seed
total cards: Total
# Open dialogs
all files: All files
# Other set window dialogs
save changes:
The set '%s' has changed.
@@ -493,7 +490,6 @@ label:
# Card select / images export
select cards: Cards to export
selected card count: %s cards will be exported.
select cards print: Select the cards you want to print
filename format: &Format:
filename conflicts: &Handle duplicating filenames:
export filenames: Filenames
@@ -668,6 +664,7 @@ title:
select columns: Select Columns
select cards: Select Cards
select cards export:Select Cards to Export
select cards print: Select the cards you want to print
# slice
slice image: Slice Image
# pack
+1 -1
View File
@@ -165,7 +165,7 @@ void CardsPrintout::drawCard(DC& dc, const CardP& card, int card_nr) {
PrintJobP make_print_job(Window* parent, const SetP& set, const ExportCardSelectionChoices& choices) {
// Let the user choose cards
// controls
ExportWindowBase wnd(parent, _TITLE_("select cards"), set, choices);
ExportWindowBase wnd(parent, _TITLE_("select cards print"), set, choices);
wxCheckBox* space = new wxCheckBox(&wnd, wxID_ANY, L"Put space between cards");
space->SetValue(settings.print_layout);
// layout
+2 -2
View File
@@ -182,7 +182,7 @@ sub validate_locale {
foreach my $key (sort keys %{$locale_keys{$type}}) {
if (!defined($locale{$type}{$key})) {
if (!$locale_keys{$type}{$key}{'opt'}) {
print "Missing key in locale: $type: $key\n";
print "Missing key in locale: $type: '$key'\n";
$ok = 0;
}
next;
@@ -205,7 +205,7 @@ sub validate_locale {
}
foreach my $key (sort keys %{$locale{$type}}) {
if (!defined($locale_keys{$type}{$key})) {
print "Unknown key in locale: $type: $key\n";
print "Unknown key in locale: $type: '$key'\n";
$ok = 0;
}
}