From bed83454852e7d44cccc43688177947ef7329ed1 Mon Sep 17 00:00:00 2001 From: Thibault Deckers Date: Sat, 7 Jan 2023 19:54:03 +0100 Subject: [PATCH] l10n --- lib/l10n/app_en.arb | 8 +- .../thumbnail_overlay_location_icon.dart | 4 +- .../enums/thumbnail_overlay_tag_icon.dart | 4 +- untranslated.json | 150 ++++++------------ 4 files changed, 56 insertions(+), 110 deletions(-) diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb index 1e97d51d1..fe982ed71 100644 --- a/lib/l10n/app_en.arb +++ b/lib/l10n/app_en.arb @@ -139,8 +139,10 @@ "filterFavouriteLabel": "Favorite", "filterNoDateLabel": "Undated", "filterNoAddressLabel": "No address", + "filterLocatedLabel": "Located", "filterNoLocationLabel": "Unlocated", "filterNoRatingLabel": "Unrated", + "filterTaggedLabel": "Tagged", "filterNoTagLabel": "Untagged", "filterNoTitleLabel": "Untitled", "filterOnThisDayLabel": "On this day", @@ -214,12 +216,6 @@ "subtitlePositionTop": "Top", "subtitlePositionBottom": "Bottom", - "thumbnailOverlayLocatedIcon": "Located icon", - "thumbnailOverlayUnlocatedIcon": "Unlocated icon", - - "thumbnailOverlayTaggedIcon": "Tagged icon", - "thumbnailOverlayUntaggedIcon": "Untagged icon", - "videoPlaybackSkip": "Skip", "videoPlaybackMuted": "Play muted", "videoPlaybackWithSound": "Play with sound", diff --git a/lib/model/settings/enums/thumbnail_overlay_location_icon.dart b/lib/model/settings/enums/thumbnail_overlay_location_icon.dart index 5ed61db52..a0f76c54e 100644 --- a/lib/model/settings/enums/thumbnail_overlay_location_icon.dart +++ b/lib/model/settings/enums/thumbnail_overlay_location_icon.dart @@ -8,9 +8,9 @@ extension ExtraThumbnailOverlayLocationIcon on ThumbnailOverlayLocationIcon { String getName(BuildContext context) { switch (this) { case ThumbnailOverlayLocationIcon.located: - return context.l10n.thumbnailOverlayLocatedIcon; + return context.l10n.filterLocatedLabel; case ThumbnailOverlayLocationIcon.unlocated: - return context.l10n.thumbnailOverlayUnlocatedIcon; + return context.l10n.filterNoLocationLabel; case ThumbnailOverlayLocationIcon.none: return context.l10n.settingsDisabled; } diff --git a/lib/model/settings/enums/thumbnail_overlay_tag_icon.dart b/lib/model/settings/enums/thumbnail_overlay_tag_icon.dart index 7bdb3c940..00f006ec9 100644 --- a/lib/model/settings/enums/thumbnail_overlay_tag_icon.dart +++ b/lib/model/settings/enums/thumbnail_overlay_tag_icon.dart @@ -8,9 +8,9 @@ extension ExtraThumbnailOverlayTagIcon on ThumbnailOverlayTagIcon { String getName(BuildContext context) { switch (this) { case ThumbnailOverlayTagIcon.tagged: - return context.l10n.thumbnailOverlayTaggedIcon; + return context.l10n.filterTaggedLabel; case ThumbnailOverlayTagIcon.untagged: - return context.l10n.thumbnailOverlayUntaggedIcon; + return context.l10n.filterNoTagLabel; case ThumbnailOverlayTagIcon.none: return context.l10n.settingsDisabled; } diff --git a/untranslated.json b/untranslated.json index 5a4f38bb7..df5c1c4a8 100644 --- a/untranslated.json +++ b/untranslated.json @@ -96,8 +96,10 @@ "filterFavouriteLabel", "filterNoDateLabel", "filterNoAddressLabel", + "filterLocatedLabel", "filterNoLocationLabel", "filterNoRatingLabel", + "filterTaggedLabel", "filterNoTagLabel", "filterNoTitleLabel", "filterOnThisDayLabel", @@ -148,10 +150,6 @@ "displayRefreshRatePreferLowest", "subtitlePositionTop", "subtitlePositionBottom", - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon", "videoPlaybackSkip", "videoPlaybackMuted", "videoPlaybackWithSound", @@ -598,10 +596,8 @@ ], "cs": [ - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon", + "filterLocatedLabel", + "filterTaggedLabel", "settingsModificationWarningDialogMessage", "settingsViewerShowDescription", "settingsDisplayUseTvInterface" @@ -609,10 +605,8 @@ "de": [ "columnCount", - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon", + "filterLocatedLabel", + "filterTaggedLabel", "settingsModificationWarningDialogMessage", "settingsViewerShowDescription", "settingsAccessibilityShowPinchGestureAlternatives", @@ -620,20 +614,16 @@ ], "el": [ - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon", + "filterLocatedLabel", + "filterTaggedLabel", "settingsModificationWarningDialogMessage", "settingsViewerShowDescription", "settingsDisplayUseTvInterface" ], "es": [ - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon" + "filterLocatedLabel", + "filterTaggedLabel" ], "fa": [ @@ -647,6 +637,8 @@ "slideshowActionResume", "filterAspectRatioLandscapeLabel", "filterAspectRatioPortraitLabel", + "filterLocatedLabel", + "filterTaggedLabel", "filterOnThisDayLabel", "filterRatingRejectedLabel", "filterTypeAnimatedLabel", @@ -681,10 +673,6 @@ "displayRefreshRatePreferLowest", "subtitlePositionTop", "subtitlePositionBottom", - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon", "videoPlaybackSkip", "videoPlaybackMuted", "videoPlaybackWithSound", @@ -1108,10 +1096,8 @@ ], "fr": [ - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon" + "filterLocatedLabel", + "filterTaggedLabel" ], "gl": [ @@ -1123,6 +1109,8 @@ "filterAspectRatioLandscapeLabel", "filterAspectRatioPortraitLabel", "filterNoAddressLabel", + "filterLocatedLabel", + "filterTaggedLabel", "keepScreenOnVideoPlayback", "accessibilityAnimationsRemove", "accessibilityAnimationsKeep", @@ -1130,10 +1118,6 @@ "displayRefreshRatePreferLowest", "subtitlePositionTop", "subtitlePositionBottom", - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon", "videoPlaybackSkip", "videoPlaybackMuted", "videoPlaybackWithSound", @@ -1589,17 +1573,13 @@ ], "id": [ - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon" + "filterLocatedLabel", + "filterTaggedLabel" ], "it": [ - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon", + "filterLocatedLabel", + "filterTaggedLabel", "settingsModificationWarningDialogMessage", "settingsViewerShowDescription", "settingsDisplayUseTvInterface" @@ -1611,13 +1591,11 @@ "filterAspectRatioLandscapeLabel", "filterAspectRatioPortraitLabel", "filterNoAddressLabel", + "filterLocatedLabel", + "filterTaggedLabel", "keepScreenOnVideoPlayback", "subtitlePositionTop", "subtitlePositionBottom", - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon", "settingsModificationWarningDialogMessage", "settingsViewerShowDescription", "settingsAccessibilityShowPinchGestureAlternatives", @@ -1626,19 +1604,15 @@ ], "ko": [ - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon" + "filterLocatedLabel", + "filterTaggedLabel" ], "lt": [ "columnCount", + "filterLocatedLabel", + "filterTaggedLabel", "keepScreenOnVideoPlayback", - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon", "settingsModificationWarningDialogMessage", "settingsViewerShowDescription", "settingsAccessibilityShowPinchGestureAlternatives", @@ -1650,11 +1624,9 @@ "entryActionShareImageOnly", "entryActionShareVideoOnly", "entryInfoActionRemoveLocation", + "filterLocatedLabel", + "filterTaggedLabel", "keepScreenOnVideoPlayback", - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon", "settingsModificationWarningDialogMessage", "settingsViewerShowDescription", "settingsAccessibilityShowPinchGestureAlternatives", @@ -1670,13 +1642,11 @@ "filterAspectRatioLandscapeLabel", "filterAspectRatioPortraitLabel", "filterNoAddressLabel", + "filterLocatedLabel", + "filterTaggedLabel", "keepScreenOnVideoPlayback", "subtitlePositionTop", "subtitlePositionBottom", - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon", "widgetDisplayedItemRandom", "widgetDisplayedItemMostRecent", "settingsModificationWarningDialogMessage", @@ -1693,14 +1663,12 @@ "columnCount", "sourceStateCataloguing", "entryInfoActionRemoveLocation", + "filterLocatedLabel", "filterNoLocationLabel", + "filterTaggedLabel", "accessibilityAnimationsKeep", "displayRefreshRatePreferHighest", "displayRefreshRatePreferLowest", - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon", "wallpaperTargetHome", "wallpaperTargetHomeLock", "setCoverDialogCustom", @@ -2029,6 +1997,8 @@ "filterAspectRatioLandscapeLabel", "filterAspectRatioPortraitLabel", "filterNoAddressLabel", + "filterLocatedLabel", + "filterTaggedLabel", "filterTypeRawLabel", "filterTypeSphericalVideoLabel", "filterTypeGeotiffLabel", @@ -2071,10 +2041,6 @@ "displayRefreshRatePreferLowest", "subtitlePositionTop", "subtitlePositionBottom", - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon", "videoPlaybackSkip", "videoPlaybackMuted", "videoPlaybackWithSound", @@ -2538,13 +2504,11 @@ "filterAspectRatioLandscapeLabel", "filterAspectRatioPortraitLabel", "filterNoAddressLabel", + "filterLocatedLabel", + "filterTaggedLabel", "keepScreenOnVideoPlayback", "subtitlePositionTop", "subtitlePositionBottom", - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon", "widgetDisplayedItemRandom", "widgetDisplayedItemMostRecent", "settingsModificationWarningDialogMessage", @@ -2558,19 +2522,15 @@ ], "ro": [ - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon", + "filterLocatedLabel", + "filterTaggedLabel", "settingsModificationWarningDialogMessage", "settingsDisplayUseTvInterface" ], "ru": [ - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon", + "filterLocatedLabel", + "filterTaggedLabel", "settingsModificationWarningDialogMessage", "settingsDisplayUseTvInterface" ], @@ -2591,15 +2551,13 @@ "filterAspectRatioLandscapeLabel", "filterAspectRatioPortraitLabel", "filterNoAddressLabel", + "filterLocatedLabel", + "filterTaggedLabel", "coordinateDms", "keepScreenOnVideoPlayback", "keepScreenOnViewerOnly", "accessibilityAnimationsRemove", "accessibilityAnimationsKeep", - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon", "widgetOpenPageViewer", "missingSystemFilePickerDialogMessage", "unsupportedTypeDialogMessage", @@ -2925,24 +2883,18 @@ ], "tr": [ - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon" + "filterLocatedLabel", + "filterTaggedLabel" ], "uk": [ - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon" + "filterLocatedLabel", + "filterTaggedLabel" ], "zh": [ - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon", + "filterLocatedLabel", + "filterTaggedLabel", "settingsModificationWarningDialogMessage", "settingsViewerShowDescription", "settingsAccessibilityShowPinchGestureAlternatives", @@ -2951,10 +2903,8 @@ "zh_Hant": [ "columnCount", - "thumbnailOverlayLocatedIcon", - "thumbnailOverlayUnlocatedIcon", - "thumbnailOverlayTaggedIcon", - "thumbnailOverlayUntaggedIcon", + "filterLocatedLabel", + "filterTaggedLabel", "settingsModificationWarningDialogMessage", "settingsViewerShowDescription", "settingsAccessibilityShowPinchGestureAlternatives",