Skip to content

Commit 8050e87

Browse files
committed
feat(l10n): add commenterName string for missing user objects
- Add new localization string for displaying commenter name when full user object is not available - Implement in both Arabic (app_ar.arb) and English (app_en.arb) localization files - Include placeholder for partial user ID in the string
1 parent 301a1c1 commit 8050e87

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

lib/l10n/arb/app_ar.arb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2046,5 +2046,15 @@
20462046
"commentInputExistingHint": "لقد علقت بالفعل على هذا العنوان.",
20472047
"@commentInputExistingHint": {
20482048
"description": "Hint text for the comment input field when the user has already posted a comment."
2049+
},
2050+
"commenterName": "مستخدم {id}",
2051+
"@commenterName": {
2052+
"description": "Display name for a commenter when their full user object is not available, showing a partial ID.",
2053+
"placeholders": {
2054+
"id": {
2055+
"type": "String",
2056+
"example": "1a2b"
2057+
}
2058+
}
20492059
}
20502060
}

lib/l10n/arb/app_en.arb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2046,5 +2046,15 @@
20462046
"commentInputExistingHint": "You have already commented on this headline.",
20472047
"@commentInputExistingHint": {
20482048
"description": "Hint text for the comment input field when the user has already posted a comment."
2049+
},
2050+
"commenterName": "User {id}",
2051+
"@commenterName": {
2052+
"description": "Display name for a commenter when their full user object is not available, showing a partial ID.",
2053+
"placeholders": {
2054+
"id": {
2055+
"type": "String",
2056+
"example": "1a2b"
2057+
}
2058+
}
20492059
}
20502060
}

0 commit comments

Comments
 (0)