This commit is contained in:
Thibault Deckers 2022-12-15 15:18:22 +01:00
parent 39082e7cd4
commit 1cba919385
3 changed files with 245 additions and 157 deletions

View file

@ -37,12 +37,14 @@ class AboutTranslators extends StatelessWidget {
Contributor('Oğuz Ersen', 'oguz@ersen.moe'), Contributor('Oğuz Ersen', 'oguz@ersen.moe'),
Contributor('Allan Nordhøy', 'epost@anotheragency.no'), Contributor('Allan Nordhøy', 'epost@anotheragency.no'),
Contributor('pemibe', 'pemibe4634@dmonies.com'), Contributor('pemibe', 'pemibe4634@dmonies.com'),
// Contributor('Piotr K', '1337.kelt@gmail.com'), // Contributor('SAMIRAH AIL', 'samiratalzahrani@gmail.com'), // Arabic
// Contributor('امیر جهانگرد', 'ijahangard.a@gmail.com'), // Contributor('Salih Ail', 'rrrfff444@gmail.com'), // Arabic
// Contributor('SAMIRAH AIL', 'samiratalzahrani@gmail.com'), // Contributor('Piotr K', '1337.kelt@gmail.com'), // Polish
// Contributor('Salih Ail', 'rrrfff444@gmail.com'), // Contributor('امیر جهانگرد', 'ijahangard.a@gmail.com'), // Persian
// Contributor('Nattapong K', 'mixer5056@gmail.com'), // Contributor('slasb37', 'p84haghi@gmail.com'), // Persian
// Contributor('tryvseu', 'tryvseu@tuta.io'), // Contributor('tryvseu', 'tryvseu@tuta.io'), // Nynorsk
// Contributor('Nattapong K', 'mixer5056@gmail.com'), // Thai
// Contributor('Olexandr Mazur', 'rozihrash.ya6w7@simplelogin.com'), // Ukrainian
}; };
@override @override

View file

@ -53,7 +53,7 @@ class AvesApp extends StatefulWidget {
final AppFlavor flavor; final AppFlavor flavor;
// temporary exclude locales not ready yet for prime time // temporary exclude locales not ready yet for prime time
static final _unsupportedLocales = {'ar', 'fa', 'gl', 'nn', 'pl', 'th'}.map(Locale.new).toSet(); static final _unsupportedLocales = {'ar', 'fa', 'gl', 'nn', 'pl', 'th', 'uk'}.map(Locale.new).toSet();
static final List<Locale> supportedLocales = AppLocalizations.supportedLocales.where((v) => !_unsupportedLocales.contains(v)).toList(); static final List<Locale> supportedLocales = AppLocalizations.supportedLocales.where((v) => !_unsupportedLocales.contains(v)).toList();
static final GlobalKey<NavigatorState> navigatorKey = GlobalKey(debugLabel: 'app-navigator'); static final GlobalKey<NavigatorState> navigatorKey = GlobalKey(debugLabel: 'app-navigator');

View file

@ -600,116 +600,20 @@
], ],
"fa": [ "fa": [
"appName",
"welcomeMessage",
"welcomeOptional",
"welcomeTermsToggle",
"itemCount",
"timeSeconds",
"timeMinutes",
"timeDays",
"focalLength",
"applyButtonLabel",
"deleteButtonLabel",
"nextButtonLabel",
"showButtonLabel",
"hideButtonLabel",
"continueButtonLabel",
"cancelTooltip",
"changeTooltip",
"clearTooltip", "clearTooltip",
"previousTooltip",
"nextTooltip",
"showTooltip",
"hideTooltip",
"actionRemove",
"resetTooltip",
"saveTooltip",
"pickTooltip",
"doubleBackExitMessage",
"doNotAskAgain",
"sourceStateLoading",
"sourceStateCataloguing",
"sourceStateLocatingCountries",
"sourceStateLocatingPlaces",
"chipActionDelete",
"chipActionGoToAlbumPage",
"chipActionGoToCountryPage",
"chipActionGoToTagPage",
"chipActionFilterOut",
"chipActionFilterIn",
"chipActionHide",
"chipActionPin",
"chipActionUnpin",
"chipActionRename",
"chipActionSetCover",
"chipActionCreateAlbum",
"entryActionCopyToClipboard", "entryActionCopyToClipboard",
"entryActionDelete",
"entryActionConvert",
"entryActionExport",
"entryActionInfo",
"entryActionRename",
"entryActionRestore",
"entryActionRotateCCW",
"entryActionRotateCW",
"entryActionFlip",
"entryActionPrint",
"entryActionShare",
"entryActionShareImageOnly",
"entryActionShareVideoOnly",
"entryActionViewSource",
"entryActionShowGeoTiffOnMap", "entryActionShowGeoTiffOnMap",
"entryActionConvertMotionPhotoToStillImage",
"entryActionViewMotionPhotoVideo",
"entryActionEdit",
"entryActionOpen",
"entryActionSetAs",
"entryActionOpenMap",
"entryActionRotateScreen",
"entryActionAddFavourite",
"entryActionRemoveFavourite",
"videoActionCaptureFrame",
"videoActionMute",
"videoActionUnmute",
"videoActionPause", "videoActionPause",
"videoActionPlay", "videoActionPlay",
"videoActionReplay10",
"videoActionSkip10",
"videoActionSelectStreams", "videoActionSelectStreams",
"videoActionSetSpeed",
"videoActionSettings",
"slideshowActionResume", "slideshowActionResume",
"slideshowActionShowInCollection",
"entryInfoActionEditDate",
"entryInfoActionEditLocation",
"entryInfoActionEditTitleDescription",
"entryInfoActionEditRating",
"entryInfoActionEditTags",
"entryInfoActionRemoveMetadata",
"entryInfoActionExportMetadata",
"entryInfoActionRemoveLocation",
"filterAspectRatioLandscapeLabel", "filterAspectRatioLandscapeLabel",
"filterAspectRatioPortraitLabel", "filterAspectRatioPortraitLabel",
"filterBinLabel",
"filterFavouriteLabel",
"filterNoDateLabel",
"filterNoAddressLabel",
"filterNoLocationLabel",
"filterNoRatingLabel",
"filterNoTagLabel",
"filterNoTitleLabel",
"filterOnThisDayLabel", "filterOnThisDayLabel",
"filterRecentlyAddedLabel",
"filterRatingRejectedLabel", "filterRatingRejectedLabel",
"filterTypeAnimatedLabel", "filterTypeAnimatedLabel",
"filterTypeMotionPhotoLabel",
"filterTypePanoramaLabel",
"filterTypeRawLabel", "filterTypeRawLabel",
"filterTypeSphericalVideoLabel",
"filterTypeGeotiffLabel", "filterTypeGeotiffLabel",
"filterMimeImageLabel",
"filterMimeVideoLabel",
"coordinateFormatDms", "coordinateFormatDms",
"coordinateFormatDecimal", "coordinateFormatDecimal",
"coordinateDms", "coordinateDms",
@ -717,14 +621,6 @@
"coordinateDmsSouth", "coordinateDmsSouth",
"coordinateDmsEast", "coordinateDmsEast",
"coordinateDmsWest", "coordinateDmsWest",
"unitSystemMetric",
"unitSystemImperial",
"videoLoopModeNever",
"videoLoopModeShortOnly",
"videoLoopModeAlways",
"videoControlsPlay",
"videoControlsPlaySeek",
"videoControlsPlayOutside",
"videoControlsNone", "videoControlsNone",
"mapStyleGoogleNormal", "mapStyleGoogleNormal",
"mapStyleGoogleHybrid", "mapStyleGoogleHybrid",
@ -810,9 +706,6 @@
"renameProcessorName", "renameProcessorName",
"deleteSingleAlbumConfirmationDialogMessage", "deleteSingleAlbumConfirmationDialogMessage",
"deleteMultiAlbumConfirmationDialogMessage", "deleteMultiAlbumConfirmationDialogMessage",
"exportEntryDialogFormat",
"exportEntryDialogWidth",
"exportEntryDialogHeight",
"renameEntryDialogLabel", "renameEntryDialogLabel",
"editEntryDialogCopyFromItem", "editEntryDialogCopyFromItem",
"editEntryDialogTargetFieldsHeader", "editEntryDialogTargetFieldsHeader",
@ -849,44 +742,25 @@
"menuActionSelect", "menuActionSelect",
"menuActionSelectAll", "menuActionSelectAll",
"menuActionSelectNone", "menuActionSelectNone",
"menuActionMap",
"menuActionSlideshow",
"menuActionStats",
"viewDialogSortSectionTitle", "viewDialogSortSectionTitle",
"viewDialogGroupSectionTitle",
"viewDialogLayoutSectionTitle", "viewDialogLayoutSectionTitle",
"viewDialogReverseSortOrder", "viewDialogReverseSortOrder",
"tileLayoutMosaic", "tileLayoutMosaic",
"tileLayoutGrid", "tileLayoutGrid",
"tileLayoutList", "tileLayoutList",
"coverDialogTabCover", "coverDialogTabCover",
"coverDialogTabApp",
"coverDialogTabColor",
"appPickDialogTitle",
"appPickDialogNone", "appPickDialogNone",
"aboutPageTitle",
"aboutLinkLicense", "aboutLinkLicense",
"aboutLinkPolicy",
"aboutBugSectionTitle",
"aboutBugSaveLogInstruction", "aboutBugSaveLogInstruction",
"aboutBugCopyInfoInstruction", "aboutBugCopyInfoInstruction",
"aboutBugCopyInfoButton",
"aboutBugReportInstruction", "aboutBugReportInstruction",
"aboutBugReportButton",
"aboutCreditsSectionTitle", "aboutCreditsSectionTitle",
"aboutCreditsWorldAtlas1", "aboutCreditsWorldAtlas1",
"aboutCreditsWorldAtlas2", "aboutCreditsWorldAtlas2",
"aboutTranslatorsSectionTitle",
"aboutLicensesSectionTitle", "aboutLicensesSectionTitle",
"aboutLicensesBanner", "aboutLicensesBanner",
"aboutLicensesAndroidLibrariesSectionTitle",
"aboutLicensesFlutterPluginsSectionTitle",
"aboutLicensesFlutterPackagesSectionTitle",
"aboutLicensesDartPackagesSectionTitle",
"aboutLicensesShowAllButtonLabel", "aboutLicensesShowAllButtonLabel",
"policyPageTitle",
"collectionPageTitle", "collectionPageTitle",
"collectionPickPageTitle",
"collectionSelectPageTitle", "collectionSelectPageTitle",
"collectionActionShowTitleSearch", "collectionActionShowTitleSearch",
"collectionActionHideTitleSearch", "collectionActionHideTitleSearch",
@ -910,12 +784,10 @@
"collectionMoveFailureFeedback", "collectionMoveFailureFeedback",
"collectionRenameFailureFeedback", "collectionRenameFailureFeedback",
"collectionEditFailureFeedback", "collectionEditFailureFeedback",
"collectionExportFailureFeedback",
"collectionCopySuccessFeedback", "collectionCopySuccessFeedback",
"collectionMoveSuccessFeedback", "collectionMoveSuccessFeedback",
"collectionRenameSuccessFeedback", "collectionRenameSuccessFeedback",
"collectionEditSuccessFeedback", "collectionEditSuccessFeedback",
"collectionEmptyFavourites",
"collectionEmptyVideos", "collectionEmptyVideos",
"collectionEmptyImages", "collectionEmptyImages",
"collectionEmptyGrantAccessButtonLabel", "collectionEmptyGrantAccessButtonLabel",
@ -924,7 +796,6 @@
"drawerAboutButton", "drawerAboutButton",
"drawerSettingsButton", "drawerSettingsButton",
"drawerCollectionAll", "drawerCollectionAll",
"drawerCollectionFavourites",
"drawerCollectionImages", "drawerCollectionImages",
"drawerCollectionVideos", "drawerCollectionVideos",
"drawerCollectionAnimated", "drawerCollectionAnimated",
@ -955,7 +826,6 @@
"albumGroupNone", "albumGroupNone",
"albumMimeTypeMixed", "albumMimeTypeMixed",
"albumPickPageTitleCopy", "albumPickPageTitleCopy",
"albumPickPageTitleExport",
"albumPickPageTitleMove", "albumPickPageTitleMove",
"albumPickPageTitlePick", "albumPickPageTitlePick",
"albumCamera", "albumCamera",
@ -988,13 +858,9 @@
"settingsDisabled", "settingsDisabled",
"settingsSearchFieldLabel", "settingsSearchFieldLabel",
"settingsSearchEmpty", "settingsSearchEmpty",
"settingsActionExport",
"settingsActionExportDialogTitle",
"settingsActionImport", "settingsActionImport",
"settingsActionImportDialogTitle", "settingsActionImportDialogTitle",
"appExportCovers", "appExportCovers",
"appExportFavourites",
"appExportSettings",
"settingsNavigationSectionTitle", "settingsNavigationSectionTitle",
"settingsHomeTile", "settingsHomeTile",
"settingsHomeDialogTitle", "settingsHomeDialogTitle",
@ -1162,8 +1028,6 @@
"viewerInfoLabelAddress", "viewerInfoLabelAddress",
"mapStyleDialogTitle", "mapStyleDialogTitle",
"mapStyleTooltip", "mapStyleTooltip",
"mapZoomInTooltip",
"mapZoomOutTooltip",
"mapPointNorthUpTooltip", "mapPointNorthUpTooltip",
"mapAttributionOsmHot", "mapAttributionOsmHot",
"mapAttributionStamen", "mapAttributionStamen",
@ -1694,21 +1558,12 @@
"ja": [ "ja": [
"chipActionFilterIn", "chipActionFilterIn",
"entryActionShareImageOnly",
"entryActionShareVideoOnly",
"entryInfoActionExportMetadata",
"entryInfoActionRemoveLocation",
"filterAspectRatioLandscapeLabel", "filterAspectRatioLandscapeLabel",
"filterAspectRatioPortraitLabel", "filterAspectRatioPortraitLabel",
"filterNoAddressLabel", "filterNoAddressLabel",
"keepScreenOnVideoPlayback", "keepScreenOnVideoPlayback",
"subtitlePositionTop", "subtitlePositionTop",
"subtitlePositionBottom", "subtitlePositionBottom",
"widgetDisplayedItemRandom",
"widgetDisplayedItemMostRecent",
"settingsViewerShowRatingTags",
"settingsSubtitleThemeTextPositionTile",
"settingsSubtitleThemeTextPositionDialogTitle",
"settingsWidgetDisplayedItem" "settingsWidgetDisplayedItem"
], ],
@ -3072,6 +2927,242 @@
"filePickerUseThisFolder" "filePickerUseThisFolder"
], ],
"uk": [
"setCoverDialogCustom",
"menuActionSelectNone",
"albumPageTitle",
"albumEmpty",
"createAlbumTooltip",
"createAlbumButtonLabel",
"newFilterBanner",
"countryPageTitle",
"countryEmpty",
"tagPageTitle",
"tagEmpty",
"binPageTitle",
"searchCollectionFieldHint",
"searchRecentSectionTitle",
"searchDateSectionTitle",
"searchAlbumsSectionTitle",
"searchCountriesSectionTitle",
"searchPlacesSectionTitle",
"searchTagsSectionTitle",
"searchRatingSectionTitle",
"searchMetadataSectionTitle",
"settingsPageTitle",
"settingsSystemDefault",
"settingsDefault",
"settingsDisabled",
"settingsSearchFieldLabel",
"settingsSearchEmpty",
"settingsActionExport",
"settingsActionExportDialogTitle",
"settingsActionImport",
"settingsActionImportDialogTitle",
"appExportCovers",
"appExportFavourites",
"appExportSettings",
"settingsNavigationSectionTitle",
"settingsHomeTile",
"settingsHomeDialogTitle",
"settingsShowBottomNavigationBar",
"settingsKeepScreenOnTile",
"settingsKeepScreenOnDialogTitle",
"settingsDoubleBackExit",
"settingsConfirmationTile",
"settingsConfirmationDialogTitle",
"settingsConfirmationBeforeDeleteItems",
"settingsConfirmationBeforeMoveToBinItems",
"settingsConfirmationBeforeMoveUndatedItems",
"settingsConfirmationAfterMoveToBinItems",
"settingsNavigationDrawerTile",
"settingsNavigationDrawerEditorPageTitle",
"settingsNavigationDrawerBanner",
"settingsNavigationDrawerTabTypes",
"settingsNavigationDrawerTabAlbums",
"settingsNavigationDrawerTabPages",
"settingsNavigationDrawerAddAlbum",
"settingsThumbnailSectionTitle",
"settingsThumbnailOverlayTile",
"settingsThumbnailOverlayPageTitle",
"settingsThumbnailShowFavouriteIcon",
"settingsThumbnailShowTagIcon",
"settingsThumbnailShowLocationIcon",
"settingsThumbnailShowMotionPhotoIcon",
"settingsThumbnailShowRating",
"settingsThumbnailShowRawIcon",
"settingsThumbnailShowVideoDuration",
"settingsCollectionQuickActionsTile",
"settingsCollectionQuickActionEditorPageTitle",
"settingsCollectionQuickActionTabBrowsing",
"settingsCollectionQuickActionTabSelecting",
"settingsCollectionBrowsingQuickActionEditorBanner",
"settingsCollectionSelectionQuickActionEditorBanner",
"settingsViewerSectionTitle",
"settingsViewerGestureSideTapNext",
"settingsViewerUseCutout",
"settingsViewerMaximumBrightness",
"settingsMotionPhotoAutoPlay",
"settingsImageBackground",
"settingsViewerQuickActionsTile",
"settingsViewerQuickActionEditorPageTitle",
"settingsViewerQuickActionEditorBanner",
"settingsViewerQuickActionEditorDisplayedButtonsSectionTitle",
"settingsViewerQuickActionEditorAvailableButtonsSectionTitle",
"settingsViewerQuickActionEmpty",
"settingsViewerOverlayTile",
"settingsViewerOverlayPageTitle",
"settingsViewerShowOverlayOnOpening",
"settingsViewerShowMinimap",
"settingsViewerShowInformation",
"settingsViewerShowInformationSubtitle",
"settingsViewerShowRatingTags",
"settingsViewerShowShootingDetails",
"settingsViewerShowOverlayThumbnails",
"settingsViewerEnableOverlayBlurEffect",
"settingsViewerSlideshowTile",
"settingsViewerSlideshowPageTitle",
"settingsSlideshowRepeat",
"settingsSlideshowShuffle",
"settingsSlideshowFillScreen",
"settingsSlideshowAnimatedZoomEffect",
"settingsSlideshowTransitionTile",
"settingsSlideshowIntervalTile",
"settingsSlideshowVideoPlaybackTile",
"settingsSlideshowVideoPlaybackDialogTitle",
"settingsVideoPageTitle",
"settingsVideoSectionTitle",
"settingsVideoShowVideos",
"settingsVideoEnableHardwareAcceleration",
"settingsVideoAutoPlay",
"settingsVideoLoopModeTile",
"settingsVideoLoopModeDialogTitle",
"settingsSubtitleThemeTile",
"settingsSubtitleThemePageTitle",
"settingsSubtitleThemeSample",
"settingsSubtitleThemeTextAlignmentTile",
"settingsSubtitleThemeTextAlignmentDialogTitle",
"settingsSubtitleThemeTextPositionTile",
"settingsSubtitleThemeTextPositionDialogTitle",
"settingsSubtitleThemeTextSize",
"settingsSubtitleThemeShowOutline",
"settingsSubtitleThemeTextColor",
"settingsSubtitleThemeTextOpacity",
"settingsSubtitleThemeBackgroundColor",
"settingsSubtitleThemeBackgroundOpacity",
"settingsSubtitleThemeTextAlignmentLeft",
"settingsSubtitleThemeTextAlignmentCenter",
"settingsSubtitleThemeTextAlignmentRight",
"settingsVideoControlsTile",
"settingsVideoControlsPageTitle",
"settingsVideoButtonsTile",
"settingsVideoGestureDoubleTapTogglePlay",
"settingsVideoGestureSideDoubleTapSeek",
"settingsPrivacySectionTitle",
"settingsAllowInstalledAppAccess",
"settingsAllowInstalledAppAccessSubtitle",
"settingsAllowErrorReporting",
"settingsSaveSearchHistory",
"settingsEnableBin",
"settingsEnableBinSubtitle",
"settingsAllowMediaManagement",
"settingsHiddenItemsTile",
"settingsHiddenItemsPageTitle",
"settingsHiddenItemsTabFilters",
"settingsHiddenFiltersBanner",
"settingsHiddenFiltersEmpty",
"settingsHiddenItemsTabPaths",
"settingsHiddenPathsBanner",
"addPathTooltip",
"settingsStorageAccessTile",
"settingsStorageAccessPageTitle",
"settingsStorageAccessBanner",
"settingsStorageAccessEmpty",
"settingsStorageAccessRevokeTooltip",
"settingsAccessibilitySectionTitle",
"settingsRemoveAnimationsTile",
"settingsRemoveAnimationsDialogTitle",
"settingsTimeToTakeActionTile",
"settingsDisplaySectionTitle",
"settingsThemeBrightnessTile",
"settingsThemeBrightnessDialogTitle",
"settingsThemeColorHighlights",
"settingsThemeEnableDynamicColor",
"settingsDisplayRefreshRateModeTile",
"settingsDisplayRefreshRateModeDialogTitle",
"settingsLanguageSectionTitle",
"settingsLanguageTile",
"settingsLanguagePageTitle",
"settingsCoordinateFormatTile",
"settingsCoordinateFormatDialogTitle",
"settingsUnitSystemTile",
"settingsUnitSystemDialogTitle",
"settingsScreenSaverPageTitle",
"settingsWidgetPageTitle",
"settingsWidgetShowOutline",
"settingsWidgetOpenPage",
"settingsWidgetDisplayedItem",
"settingsCollectionTile",
"statsWithGps",
"statsTopCountriesSectionTitle",
"statsTopPlacesSectionTitle",
"statsTopTagsSectionTitle",
"statsTopAlbumsSectionTitle",
"viewerOpenPanoramaButtonLabel",
"viewerSetWallpaperButtonLabel",
"viewerErrorUnknown",
"viewerErrorDoesNotExist",
"viewerInfoPageTitle",
"viewerInfoBackToViewerTooltip",
"viewerInfoUnknown",
"viewerInfoLabelDescription",
"viewerInfoLabelTitle",
"viewerInfoLabelDate",
"viewerInfoLabelResolution",
"viewerInfoLabelSize",
"viewerInfoLabelUri",
"viewerInfoLabelPath",
"viewerInfoLabelDuration",
"viewerInfoLabelOwner",
"viewerInfoLabelCoordinates",
"viewerInfoLabelAddress",
"mapStyleDialogTitle",
"mapStyleTooltip",
"mapZoomInTooltip",
"mapZoomOutTooltip",
"mapPointNorthUpTooltip",
"mapAttributionOsmHot",
"mapAttributionStamen",
"openMapPageTooltip",
"mapEmptyRegion",
"viewerInfoOpenEmbeddedFailureFeedback",
"viewerInfoOpenLinkText",
"viewerInfoViewXmlLinkText",
"viewerInfoSearchFieldLabel",
"viewerInfoSearchEmpty",
"viewerInfoSearchSuggestionDate",
"viewerInfoSearchSuggestionDescription",
"viewerInfoSearchSuggestionDimensions",
"viewerInfoSearchSuggestionResolution",
"viewerInfoSearchSuggestionRights",
"wallpaperUseScrollEffect",
"tagEditorPageTitle",
"tagEditorPageNewTagFieldLabel",
"tagEditorPageAddTagTooltip",
"tagEditorSectionRecent",
"tagEditorSectionPlaceholders",
"tagPlaceholderCountry",
"tagPlaceholderPlace",
"panoramaEnableSensorControl",
"panoramaDisableSensorControl",
"sourceViewerPageTitle",
"filePickerShowHiddenFiles",
"filePickerDoNotShowHiddenFiles",
"filePickerOpenFrom",
"filePickerNoItems",
"filePickerUseThisFolder"
],
"zh": [ "zh": [
"entryActionShareImageOnly", "entryActionShareImageOnly",
"entryActionShareVideoOnly", "entryActionShareVideoOnly",
@ -3081,10 +3172,5 @@
"filterNoAddressLabel", "filterNoAddressLabel",
"keepScreenOnVideoPlayback", "keepScreenOnVideoPlayback",
"settingsViewerShowRatingTags" "settingsViewerShowRatingTags"
],
"zh_Hant": [
"collectionDeselectSectionTooltip",
"settingsAllowInstalledAppAccess"
] ]
} }