Localizely: Translations update (#5902)

* chore(mobile): translation update

* fix localizely plurals form

* more fix
This commit is contained in:
Alex 2023-12-24 10:20:34 -06:00 committed by GitHub
parent 83da1c74fc
commit 17ef411b0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 3325 additions and 845 deletions

View file

@ -176,7 +176,8 @@ class AssetsInBoundBottomSheetState extends ConsumerState<MapPageBottomSheet> {
Widget buildDragHandle(ScrollController scrollController) {
final textToDisplay = assetsInBound.value.isNotEmpty
? "map_assets_in_bounds".plural(assetsInBound.value.length)
? "map_assets_in_bounds"
.tr(args: [assetsInBound.value.length.toString()])
: "map_no_assets_in_bounds".tr();
final dragHandle = Container(
height: 70,

View file

@ -82,15 +82,19 @@ class MapSettingsDialog extends HookConsumerWidget {
),
DropdownMenuEntry(
value: 1,
label: "map_settings_date_range_option_days".plural(1),
label: "map_settings_date_range_option_day".tr(),
),
DropdownMenuEntry(
value: 7,
label: "map_settings_date_range_option_days".plural(7),
label: "map_settings_date_range_option_days".tr(
args: ["7"],
),
),
DropdownMenuEntry(
value: 30,
label: "map_settings_date_range_option_days".plural(30),
label: "map_settings_date_range_option_days".tr(
args: ["30"],
),
),
DropdownMenuEntry(
value: now
@ -105,7 +109,7 @@ class MapSettingsDialog extends HookConsumerWidget {
),
)
.inDays,
label: "map_settings_date_range_option_years".plural(1),
label: "map_settings_date_range_option_year".tr(),
),
DropdownMenuEntry(
value: now
@ -120,7 +124,7 @@ class MapSettingsDialog extends HookConsumerWidget {
),
)
.inDays,
label: "map_settings_date_range_option_years".plural(3),
label: "map_settings_date_range_option_years".tr(args: ["3"]),
),
],
);