mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-09 20:47:00 -04:00
Fix locale errors
This commit is contained in:
@@ -33,7 +33,7 @@ menu:
|
|||||||
cut keyword: Cu&t Ctrl+X
|
cut keyword: Cu&t Ctrl+X
|
||||||
copy: &Copy Ctrl+C
|
copy: &Copy Ctrl+C
|
||||||
copy card: &Copy Ctrl+C
|
copy card: &Copy Ctrl+C
|
||||||
copy keyword : &Copy Ctrl+C
|
copy keyword: &Copy Ctrl+C
|
||||||
paste: &Paste Ctrl+V
|
paste: &Paste Ctrl+V
|
||||||
paste card: &Paste Ctrl+V
|
paste card: &Paste Ctrl+V
|
||||||
paste keyword: &Paste Ctrl+V
|
paste keyword: &Paste Ctrl+V
|
||||||
@@ -452,9 +452,6 @@ label:
|
|||||||
seed: Seed
|
seed: Seed
|
||||||
total cards: Total
|
total cards: Total
|
||||||
|
|
||||||
# Open dialogs
|
|
||||||
all files: All files
|
|
||||||
|
|
||||||
# Other set window dialogs
|
# Other set window dialogs
|
||||||
save changes:
|
save changes:
|
||||||
The set '%s' has changed.
|
The set '%s' has changed.
|
||||||
@@ -493,7 +490,6 @@ label:
|
|||||||
# Card select / images export
|
# Card select / images export
|
||||||
select cards: Cards to export
|
select cards: Cards to export
|
||||||
selected card count: %s cards will be exported.
|
selected card count: %s cards will be exported.
|
||||||
select cards print: Select the cards you want to print
|
|
||||||
filename format: &Format:
|
filename format: &Format:
|
||||||
filename conflicts: &Handle duplicating filenames:
|
filename conflicts: &Handle duplicating filenames:
|
||||||
export filenames: Filenames
|
export filenames: Filenames
|
||||||
@@ -668,6 +664,7 @@ title:
|
|||||||
select columns: Select Columns
|
select columns: Select Columns
|
||||||
select cards: Select Cards
|
select cards: Select Cards
|
||||||
select cards export:Select Cards to Export
|
select cards export:Select Cards to Export
|
||||||
|
select cards print: Select the cards you want to print
|
||||||
# slice
|
# slice
|
||||||
slice image: Slice Image
|
slice image: Slice Image
|
||||||
# pack
|
# pack
|
||||||
|
|||||||
@@ -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) {
|
PrintJobP make_print_job(Window* parent, const SetP& set, const ExportCardSelectionChoices& choices) {
|
||||||
// Let the user choose cards
|
// Let the user choose cards
|
||||||
// controls
|
// 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");
|
wxCheckBox* space = new wxCheckBox(&wnd, wxID_ANY, L"Put space between cards");
|
||||||
space->SetValue(settings.print_layout);
|
space->SetValue(settings.print_layout);
|
||||||
// layout
|
// layout
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ sub validate_locale {
|
|||||||
foreach my $key (sort keys %{$locale_keys{$type}}) {
|
foreach my $key (sort keys %{$locale_keys{$type}}) {
|
||||||
if (!defined($locale{$type}{$key})) {
|
if (!defined($locale{$type}{$key})) {
|
||||||
if (!$locale_keys{$type}{$key}{'opt'}) {
|
if (!$locale_keys{$type}{$key}{'opt'}) {
|
||||||
print "Missing key in locale: $type: $key\n";
|
print "Missing key in locale: $type: '$key'\n";
|
||||||
$ok = 0;
|
$ok = 0;
|
||||||
}
|
}
|
||||||
next;
|
next;
|
||||||
@@ -205,7 +205,7 @@ sub validate_locale {
|
|||||||
}
|
}
|
||||||
foreach my $key (sort keys %{$locale{$type}}) {
|
foreach my $key (sort keys %{$locale{$type}}) {
|
||||||
if (!defined($locale_keys{$type}{$key})) {
|
if (!defined($locale_keys{$type}{$key})) {
|
||||||
print "Unknown key in locale: $type: $key\n";
|
print "Unknown key in locale: $type: '$key'\n";
|
||||||
$ok = 0;
|
$ok = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user