X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d8889d5ef6aa51c7021810920eb363310d5bc15c..8d76bf978a59f6bca6a009937589d3e2b0996e99:/script/locale/diff diff --git a/script/locale/diff b/script/locale/diff index 0606791ba..0335fe983 100755 --- a/script/locale/diff +++ b/script/locale/diff @@ -2,7 +2,7 @@ use feature ':5.10'; use strict; use warnings; -use YAML::Syck qw(Load LoadFile); +use YAML::Syck qw(LoadFile); use Test::Differences; use Pod::Usage (); use Getopt::Long (); @@ -149,7 +149,7 @@ sub prune_untranslated_with_blacklist my %keys; @keys{@keys} = (); - my $end_yaml = Load(join '', ); + my $end_yaml = LoadFile(*DATA); my $untranslated_values = $end_yaml->{untranslated_values}; my $default = $untranslated_values->{default}; my $this_language = $untranslated_values->{$language} || {}; @@ -250,6 +250,7 @@ untranslated_values: layouts.project_name.h1: true layouts.project_name.title: true site.index.license.project_url: true + browse.relation_member.entry: true de: activerecord.attributes.message.sender: true @@ -296,3 +297,9 @@ untranslated_values: # http://creativecommons.org/licenses/by-sa/2.0/ site.index.license.license_url: true + + # {{id}} + printable_name.with_id: true + + # {{name}} ({{id}}) + printable_name.with_name: true