Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(402)

Side by Side Diff: pkg/intl/test/message_extraction/foo_messages_de_DE.dart

Issue 183763026: Allow a single translation to be from multiple differently-named sources (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Re-upload Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /** 1 /**
2 * DO NOT EDIT. This is code generated via pkg/intl/generate_localized.dart 2 * DO NOT EDIT. This is code generated via pkg/intl/generate_localized.dart
3 * This is a library that provides messages for a de_DE locale. All the 3 * This is a library that provides messages for a de_DE locale. All the
4 * messages from the main program should be duplicated here with the same 4 * messages from the main program should be duplicated here with the same
5 * function name. 5 * function name.
6 */ 6 */
7 7
8 library messages_de_DE; 8 library messages_de_DE;
9 import 'package:intl/intl.dart'; 9 import 'package:intl/intl.dart';
10 import 'package:intl/message_lookup_by_library.dart'; 10 import 'package:intl/message_lookup_by_library.dart';
11 11
12 final messages = new MessageLookup(); 12 final messages = new MessageLookup();
13 13
14 class MessageLookup extends MessageLookupByLibrary { 14 class MessageLookup extends MessageLookupByLibrary {
15 15
16 get localeName => 'de_DE'; 16 get localeName => 'de_DE';
17 static alwaysTranslated() => "Diese Zeichenkette wird immer übersetzt"; 17 static alwaysTranslated() => "Diese Zeichenkette wird immer übersetzt";
18 18
19 static differentNameSameContents() => "Hallo Welt";
20
19 static escapable() => "Escapes: \n\r\f\b\t\v."; 21 static escapable() => "Escapes: \n\r\f\b\t\v.";
20 22
21 static leadingQuotes() => "\"Sogenannt\""; 23 static leadingQuotes() => "\"Sogenannt\"";
22 24
23 static message1() => "Dies ist eine Nachricht"; 25 static message1() => "Dies ist eine Nachricht";
24 26
25 static message2(x) => "Eine weitere Meldung mit dem Parameter $x"; 27 static message2(x) => "Eine weitere Meldung mit dem Parameter $x";
26 28
27 static message3(a, b, c) => "Zeichen, die Flucht benötigen, zB Schrägstriche \ \ Dollar \${ (geschweiften Klammern sind ok) und xml reservierte Zeichen <& und Zitate \" Parameter $a, $b und $c"; 29 static message3(a, b, c) => "Zeichen, die Flucht benötigen, zB Schrägstriche \ \ Dollar \${ (geschweiften Klammern sind ok) und xml reservierte Zeichen <& und Zitate \" Parameter $a, $b und $c";
28 30
(...skipping 14 matching lines...) Expand all
43 static outerGender(g) => "${Intl.gender(g, female: 'Frau', male: 'Mann', other : 'andere')}"; 45 static outerGender(g) => "${Intl.gender(g, female: 'Frau', male: 'Mann', other : 'andere')}";
44 46
45 static outerPlural(n) => "${Intl.plural(n, zero: 'Null', one: 'ein', other: 'e inige')}"; 47 static outerPlural(n) => "${Intl.plural(n, zero: 'Null', one: 'ein', other: 'e inige')}";
46 48
47 static outerSelect(currency, amount) => "${Intl.select(currency, {'CDN': '$amo unt Kanadischen dollar', 'other': '$amount einige Währung oder anderen.', })}"; 49 static outerSelect(currency, amount) => "${Intl.select(currency, {'CDN': '$amo unt Kanadischen dollar', 'other': '$amount einige Währung oder anderen.', })}";
48 50
49 static pluralThatFailsParsing(noOfThings) => "${Intl.plural(noOfThings, one: ' eins:', other: '$noOfThings Dinge:')}"; 51 static pluralThatFailsParsing(noOfThings) => "${Intl.plural(noOfThings, one: ' eins:', other: '$noOfThings Dinge:')}";
50 52
51 static plurals(num) => "${Intl.plural(num, zero: 'Ist Null Plural?', one: 'Die s ist einmalig', other: 'Dies ist Plural ($num).')}"; 53 static plurals(num) => "${Intl.plural(num, zero: 'Ist Null Plural?', one: 'Die s ist einmalig', other: 'Dies ist Plural ($num).')}";
52 54
55 static sameContentsDifferentName() => "Hallo Welt";
56
53 static staticMessage() => "Dies ergibt sich aus einer statischen Methode"; 57 static staticMessage() => "Dies ergibt sich aus einer statischen Methode";
54 58
55 static trickyInterpolation(s) => "Interpolation ist schwierig, wenn es einen S atz wie dieser endet ${s}."; 59 static trickyInterpolation(s) => "Interpolation ist schwierig, wenn es einen S atz wie dieser endet ${s}.";
56 60
57 static types(a, b, c) => "$a, $b, $c"; 61 static types(a, b, c) => "$a, $b, $c";
58 62
59 static whereTheyWentMessage(name, gender, place) => "${Intl.gender(gender, fem ale: '${name} ging zu ihrem ${place}', male: '${name} ging zu seinem ${place}', other: '${name} ging zu seinem ${place}')}"; 63 static whereTheyWentMessage(name, gender, place) => "${Intl.gender(gender, fem ale: '${name} ging zu ihrem ${place}', male: '${name} ging zu seinem ${place}', other: '${name} ging zu seinem ${place}')}";
60 64
61 65
62 final messages = const { 66 final messages = const {
63 "alwaysTranslated" : alwaysTranslated, 67 "alwaysTranslated" : alwaysTranslated,
68 "differentNameSameContents" : differentNameSameContents,
64 "escapable" : escapable, 69 "escapable" : escapable,
65 "leadingQuotes" : leadingQuotes, 70 "leadingQuotes" : leadingQuotes,
66 "message1" : message1, 71 "message1" : message1,
67 "message2" : message2, 72 "message2" : message2,
68 "message3" : message3, 73 "message3" : message3,
69 "method" : method, 74 "method" : method,
70 "multiLine" : multiLine, 75 "multiLine" : multiLine,
71 "nestedMessage" : nestedMessage, 76 "nestedMessage" : nestedMessage,
72 "nestedOuter" : nestedOuter, 77 "nestedOuter" : nestedOuter,
73 "nestedSelect" : nestedSelect, 78 "nestedSelect" : nestedSelect,
74 "nonLambda" : nonLambda, 79 "nonLambda" : nonLambda,
75 "originalNotInBMP" : originalNotInBMP, 80 "originalNotInBMP" : originalNotInBMP,
76 "outerGender" : outerGender, 81 "outerGender" : outerGender,
77 "outerPlural" : outerPlural, 82 "outerPlural" : outerPlural,
78 "outerSelect" : outerSelect, 83 "outerSelect" : outerSelect,
79 "pluralThatFailsParsing" : pluralThatFailsParsing, 84 "pluralThatFailsParsing" : pluralThatFailsParsing,
80 "plurals" : plurals, 85 "plurals" : plurals,
86 "sameContentsDifferentName" : sameContentsDifferentName,
81 "staticMessage" : staticMessage, 87 "staticMessage" : staticMessage,
82 "trickyInterpolation" : trickyInterpolation, 88 "trickyInterpolation" : trickyInterpolation,
83 "types" : types, 89 "types" : types,
84 "whereTheyWentMessage" : whereTheyWentMessage 90 "whereTheyWentMessage" : whereTheyWentMessage
85 }; 91 };
86 } 92 }
OLDNEW
« no previous file with comments | « pkg/intl/test/message_extraction/foo_messages_all.dart ('k') | pkg/intl/test/message_extraction/foo_messages_fr.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698