Skip to content

Commit 53e0e9a

Browse files
committed
fix(xcstrings): update entry value to use Empty translation variant
- Changed the entry value from `Translation::Singular("")` to `Translation::Empty` to align with the new handling of untranslated entries. - This update ensures that empty translations are represented consistently across the xcstrings format, improving the management of localization resources.
1 parent b8c6988 commit 53e0e9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

langcodec/src/formats/xcstrings.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ impl TryFrom<Format> for Vec<Resource> {
149149
})
150150
.add_entry(Entry {
151151
id: id.clone(),
152-
value: Translation::Singular("".to_string()),
152+
value: Translation::Empty,
153153
comment: item.comment.clone(),
154154
status: EntryStatus::Translated,
155155
custom: custom.clone(),

0 commit comments

Comments
 (0)