From b09efea3b6b11f5d7832ed5e79b4ff2a69203e55 Mon Sep 17 00:00:00 2001 From: tateisu Date: Thu, 25 Oct 2018 08:32:38 +0900 Subject: [PATCH] add values-cy/strings.xml (Welsh / Cymraeg) --- app/src/main/res/values-cy/strings.xml | 6 ++++++ checkMissingTranslation.pl | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/values-cy/strings.xml diff --git a/app/src/main/res/values-cy/strings.xml b/app/src/main/res/values-cy/strings.xml new file mode 100644 index 00000000..74719fe2 --- /dev/null +++ b/app/src/main/res/values-cy/strings.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/checkMissingTranslation.pl b/checkMissingTranslation.pl index 04b6d616..476c1d80 100644 --- a/checkMissingTranslation.pl +++ b/checkMissingTranslation.pl @@ -29,7 +29,8 @@ for my $file(@files){ } my $data = $xml->XMLin($file); if( not $data->{string} or ($data->{string}{content} and not ref $data->{string}{content} )){ - die "!! please make at least 2 string entries in $file\n"; + warn "!! please make at least 2 string entries in $file\n"; + next; } my %names;