mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
Localizely: Translations update (#5902)
* chore(mobile): translation update * fix localizely plurals form * more fix
This commit is contained in:
parent
83da1c74fc
commit
17ef411b0a
36 changed files with 3325 additions and 845 deletions
|
|
@ -42,15 +42,17 @@ class SharedLinkItem extends ConsumerWidget {
|
|||
if (difference.inHours % 24 > 12) {
|
||||
dayDifference += 1;
|
||||
}
|
||||
expiresText = "shared_link_expires_days".plural(dayDifference);
|
||||
expiresText =
|
||||
"shared_link_expires_days".tr(args: [dayDifference.toString()]);
|
||||
} else if (difference.inHours > 0) {
|
||||
expiresText = "shared_link_expires_hours".plural(difference.inHours);
|
||||
expiresText = "shared_link_expires_hours"
|
||||
.tr(args: [difference.inHours.toString()]);
|
||||
} else if (difference.inMinutes > 0) {
|
||||
expiresText =
|
||||
"shared_link_expires_minutes".plural(difference.inMinutes);
|
||||
expiresText = "shared_link_expires_minutes"
|
||||
.tr(args: [difference.inMinutes.toString()]);
|
||||
} else if (difference.inSeconds > 0) {
|
||||
expiresText =
|
||||
"shared_link_expires_seconds".plural(difference.inSeconds);
|
||||
expiresText = "shared_link_expires_seconds"
|
||||
.tr(args: [difference.inSeconds.toString()]);
|
||||
}
|
||||
}
|
||||
return Text(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue