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

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

Issue 23484010: Re-arrange tests to allow testing generated messages code in dart2js (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Regenerated code Created 7 years, 3 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
(Empty)
1 /**
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
4 * messages from the main program should be duplicated here with the same
5 * function name.
6 */
7
8 library messages_de_DE;
9 import 'package:intl/intl.dart';
10 import 'package:intl/message_lookup_by_library.dart';
11
12 final messages = new MessageLookup();
13
14 class MessageLookup extends MessageLookupByLibrary {
15
16 get localeName => 'de_DE';
17 static alwaysTranslated() => "Diese Zeichenkette wird immer übersetzt";
18
19 static escapable() => "Escapes: \n\r\f\b\t\v.";
20
21 static leadingQuotes() => "\"Sogenannt\"";
22
23 static message1() => "Dies ist eine Nachricht";
24
25 static message2(x) => "Eine weitere Meldung mit dem Parameter $x";
26
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";
28
29 static method() => "Dies ergibt sich aus einer Methode";
30
31 static multiLine() => "Dieser String erstreckt sich über mehrere Zeilen erstre cken.";
32
33 static nestedMessage(names, number, combinedGender, place) => "${Intl.gender(c ombinedGender, female: '${Intl.plural(number, one: '$names ging in dem $place', other: '$names gingen zum $place')}', other: '${Intl.plural(number, zero: 'Niema nd ging zu $place', one: '${names} ging zum $place', other: '${names} gingen zum $place')}')}";
34
35 static nestedOuter(number, gen) => "${Intl.plural(number, other: '${Intl.gende r(gen, male: '$number Mann', other: '$number andere')}')}";
36
37 static nestedSelect(currency, amount) => "${Intl.select(currency, {'CDN': '${I ntl.plural(amount, one: '$amount Kanadischer dollar', other: '$amount Kanadische n dollar')}', 'other': 'whatever', })}";
38
39 static nonLambda() => "Diese Methode ist nicht eine Lambda";
40
41 static originalNotInBMP() => "Antike griechische Galgenmännchen Zeichen: 𐅆𐅇";
42
43 static outerGender(g) => "${Intl.gender(g, female: 'Frau', male: 'Mann', other : 'andere')}";
44
45 static outerPlural(n) => "${Intl.plural(n, zero: 'Null', one: 'ein', other: 'e inige')}";
46
47 static outerSelect(currency, amount) => "${Intl.select(currency, {'CDN': '$amo unt Kanadischen dollar', 'other': '$amount einige Währung oder anderen.', })}";
48
49 static plurals(num) => "${Intl.plural(num, zero: 'Ist Null Plural?', one: 'Die s ist einmalig', other: 'Dies ist Plural ($num).')}";
50
51 static staticMessage() => "Dies ergibt sich aus einer statischen Methode";
52
53 static trickyInterpolation(s) => "Interpolation ist schwierig, wenn es einen S atz wie dieser endet ${s}.";
54
55 static types(a, b, c) => "$a, $b, $c";
56
57 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}')}";
58
59
60 final messages = const {
61 "alwaysTranslated" : alwaysTranslated,
62 "escapable" : escapable,
63 "leadingQuotes" : leadingQuotes,
64 "message1" : message1,
65 "message2" : message2,
66 "message3" : message3,
67 "method" : method,
68 "multiLine" : multiLine,
69 "nestedMessage" : nestedMessage,
70 "nestedOuter" : nestedOuter,
71 "nestedSelect" : nestedSelect,
72 "nonLambda" : nonLambda,
73 "originalNotInBMP" : originalNotInBMP,
74 "outerGender" : outerGender,
75 "outerPlural" : outerPlural,
76 "outerSelect" : outerSelect,
77 "plurals" : plurals,
78 "staticMessage" : staticMessage,
79 "trickyInterpolation" : trickyInterpolation,
80 "types" : types,
81 "whereTheyWentMessage" : whereTheyWentMessage
82 };
83 }
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