Skip to content

Commit 004c82f

Browse files
committed
migrate l10n
1 parent fcfaa08 commit 004c82f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+481
-708
lines changed

Diff for: flutter-init.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ flutter config --no-analytics
1212

1313
flutter pub get
1414

15-
flutter pub global activate intl_utils
16-
flutter --no-color pub global run intl_utils:generate
15+
flutter gen-l10n
1716

1817
flutter pub run flutter_oss_licenses:generate.dart
1918
mv lib/oss_licenses.dart lib/generated

Diff for: src/ui/flutter_app/l10n.yaml

+18-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
1+
# see https://flutter.dev/go/i18n-user-guide
2+
# https://docs.google.com/document/d/10e0saTfAv32OZLRmONy866vnaw0I2jwL8zukykpgWBc/edit#
3+
#
4+
# WARNING: DO NOT translate app_XX.arb files directly here. For translations please see:
5+
# https://weblate.rimikis.de/projects/bierverkostung/
6+
# (only the source language, app_en.arb is edited manually here).
7+
#
8+
# We are now using synthetic packages, so to use `AppLocalizations` inside the code
9+
# you have to add the following import:
10+
# import 'package:yahtzee_counter/l10n/app_localizations.g.dart';
11+
112
arb-dir: lib/l10n
213
template-arb-file: intl_en.arb
3-
output-localization-file: app_localizations.dart
4-
untranslated-messages-file: untranslated-messages-file.txt
14+
output-dir: lib/generated/intl/
15+
output-localization-file: l10n.dart
16+
output-class: S
17+
untranslated-messages-file: untranslated-messages-file.txt
18+
# use-deferred-loading: true #enable for web support
19+
synthetic-package: false
20+
nullable-getter: false

Diff for: src/ui/flutter_app/lib/l10n/intl_ar.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "أجوف",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "عربى",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_bg.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Куха",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "български",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_bn.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "ফাঁপা",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "বাংলা",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_cs.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Dutý",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "Čeština",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_da.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Hul",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "Dansk",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_de.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Hohle",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "Deutsch",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_de_ch.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Hohle",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "Schweizerdeutsch",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_el.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Κοίλος",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "Ελληνικά",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_en.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Hollow",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "English",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_es.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Hueco",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "Español",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_et.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Õõnes",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "Eestlane",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_fa.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "توخالی",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "فارسی",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_fi.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Ontto",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "Suomalainen",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_fr.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Creux",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "Français",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_gu.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "હોલો",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "ગુજરાતી",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_hi.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "खोखला",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "हिंदी",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_hr.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Šuplje",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "Hrvatski",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_hu.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Üreges",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "Magyar",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_id.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Kosong",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "Indonesia",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_it.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Vuoto",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "Italiano",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_ja.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "中空円",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "日本語",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_kn.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "ಟೊಳ್ಳು",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "ಕನ್ನಡ",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_ko.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "구멍",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "한국어",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_lt.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Tuščiaviduriai",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "Lietuvis",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_lv.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Dobis",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "Latvietis",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_mk.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Шупливи",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "Македонски",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_ms.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Berongga",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "Melayu",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_nl.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Hol",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "Nederlands",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_nn.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Hul",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "Norsk",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_pl.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Dziurawy",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "Polskie",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_pt.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Oco",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "Português",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_ro.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Gol",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "Română",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

Diff for: src/ui/flutter_app/lib/l10n/intl_ru.arb

+4
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,9 @@
12481248
"hollow": "Пустой",
12491249
"@hollow": {
12501250
"description": "Hollow"
1251+
},
1252+
"languageName": "Pусский",
1253+
"@languageName": {
1254+
"description": "The name of the current language"
12511255
}
12521256
}

0 commit comments

Comments
 (0)