mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(mobile): empty translation placeholders (#18063)
* fix: empty placeholders * fix: use namedArgs --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
parent
2af8095880
commit
ece977d9ca
28 changed files with 228 additions and 203 deletions
|
|
@ -42,7 +42,8 @@ class MemoryService {
|
|||
if (dbAssets.isNotEmpty) {
|
||||
final String title = yearsAgo <= 1
|
||||
? 'memories_year_ago'.tr()
|
||||
: 'memories_years_ago'.tr(args: [yearsAgo.toString()]);
|
||||
: 'memories_years_ago'
|
||||
.tr(namedArgs: {'years': yearsAgo.toString()});
|
||||
memories.add(
|
||||
Memory(
|
||||
title: title,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue