Add localization for Catalan

This commit is contained in:
Ming Ming 2023-08-12 12:55:55 +08:00
parent 50f6fadb45
commit 976af8960e
2 changed files with 357 additions and 64 deletions

View file

@ -1,4 +1,359 @@
{ {
"ca": [
"albumSize",
"albumArchiveLabel",
"connectingToServer",
"connectingToServer2",
"connectingToServerInstruction",
"nameInputHint",
"nameInputInvalidEmpty",
"skipButtonLabel",
"confirmButtonLabel",
"signInHeaderText",
"signIn2faHintText",
"signInHeaderText2",
"serverAddressInputHint",
"serverAddressInputInvalidEmpty",
"usernameInputHint",
"usernameInputInvalidEmpty",
"passwordInputHint",
"passwordInputInvalidEmpty",
"rootPickerHeaderText",
"rootPickerSubHeaderText",
"rootPickerNavigateUpItemText",
"rootPickerUnpickFailureNotification",
"rootPickerListEmptyNotification",
"setupWidgetTitle",
"setupSettingsModifyLaterHint",
"setupHiddenPrefDirNoticeDetail",
"settingsWidgetTitle",
"settingsLanguageTitle",
"settingsLanguageOptionSystemDefaultLabel",
"settingsMetadataTitle",
"settingsExifSupportTitle",
"settingsExifSupportTrueSubtitle",
"settingsExifWifiOnlyTitle",
"settingsExifWifiOnlyFalseSubtitle",
"settingsMemoriesTitle",
"settingsMemoriesSubtitle",
"settingsAccountTitle",
"settingsAccountLabelTitle",
"settingsAccountLabelDescription",
"settingsIncludedFoldersTitle",
"settingsShareFolderTitle",
"settingsShareFolderDialogTitle",
"settingsShareFolderDialogDescription",
"settingsShareFolderPickerDescription",
"settingsPersonProviderTitle",
"settingsServerAppSectionTitle",
"settingsPhotosDescription",
"settingsMemoriesRangeTitle",
"settingsMemoriesRangeValueText",
"settingsViewerTitle",
"settingsViewerDescription",
"settingsScreenBrightnessTitle",
"settingsScreenBrightnessDescription",
"settingsForceRotationTitle",
"settingsForceRotationDescription",
"settingsMapProviderTitle",
"settingsShowDateInAlbumTitle",
"settingsShowDateInAlbumDescription",
"settingsImageEditTitle",
"settingsImageEditDescription",
"settingsEnhanceMaxResolutionTitle2",
"settingsEnhanceMaxResolutionDescription",
"settingsImageEditSaveResultsToServerTitle",
"settingsImageEditSaveResultsToServerTrueDescription",
"settingsImageEditSaveResultsToServerFalseDescription",
"settingsThemeTitle",
"settingsThemeDescription",
"settingsFollowSystemThemeTitle",
"settingsSeedColorTitle",
"settingsSeedColorDescription",
"settingsSeedColorSystemColorDescription",
"settingsSeedColorPickerTitle",
"settingsSeedColorPickerSystemColorButtonLabel",
"settingsUseBlackInDarkThemeTitle",
"settingsUseBlackInDarkThemeTrueDescription",
"settingsUseBlackInDarkThemeFalseDescription",
"settingsMiscellaneousTitle",
"settingsDoubleTapExitTitle",
"settingsPhotosTabSortByNameTitle",
"settingsExperimentalTitle",
"settingsExperimentalDescription",
"settingsExpertTitle",
"settingsExpertWarningText",
"settingsClearCacheDatabaseTitle",
"settingsClearCacheDatabaseDescription",
"settingsClearCacheDatabaseSuccessNotification",
"settingsAboutSectionTitle",
"settingsVersionTitle",
"settingsServerVersionTitle",
"settingsSourceCodeTitle",
"settingsBugReportTitle",
"settingsCaptureLogsTitle",
"settingsCaptureLogsDescription",
"settingsTranslatorTitle",
"writePreferenceFailureNotification",
"enableButtonLabel",
"exifSupportDetails",
"exifSupportConfirmationDialogTitle",
"captureLogDetails",
"captureLogSuccessNotification",
"doneButtonLabel",
"nextButtonLabel",
"connectButtonLabel",
"rootPickerSkipConfirmationDialogContent2",
"megapixelCount",
"secondCountSymbol",
"millimeterCountSymbol",
"detailsTooltip",
"downloadTooltip",
"downloadProcessingNotification",
"downloadSuccessNotification",
"downloadFailureNotification",
"nextTooltip",
"previousTooltip",
"webSelectRangeNotification",
"mobileSelectRangeNotification",
"updateDateTimeDialogTitle",
"dateSubtitle",
"timeSubtitle",
"dateYearInputHint",
"dateMonthInputHint",
"dateDayInputHint",
"timeHourInputHint",
"timeMinuteInputHint",
"timeSecondInputHint",
"dateTimeInputInvalid",
"updateDateTimeFailureNotification",
"albumDirPickerHeaderText",
"albumDirPickerSubHeaderText",
"albumDirPickerListEmptyNotification",
"importFoldersTooltip",
"albumImporterHeaderText",
"albumImporterSubHeaderText",
"importButtonLabel",
"albumImporterProgressText",
"doneButtonTooltip",
"editTooltip",
"editAccountConflictFailureNotification",
"genericProcessingDialogContent",
"sortTooltip",
"sortOptionDialogTitle",
"sortOptionTimeAscendingLabel",
"sortOptionTimeDescendingLabel",
"sortOptionFilenameAscendingLabel",
"sortOptionFilenameDescendingLabel",
"sortOptionAlbumNameLabel",
"sortOptionAlbumNameDescendingLabel",
"sortOptionManualLabel",
"albumEditDragRearrangeNotification",
"albumAddTextTooltip",
"shareTooltip",
"shareSelectedEmptyNotification",
"shareDownloadingDialogContent",
"searchTooltip",
"clearTooltip",
"listNoResultsText",
"listEmptyText",
"albumTrashLabel",
"restoreTooltip",
"restoreSelectedProcessingNotification",
"restoreSelectedSuccessNotification",
"restoreSelectedFailureNotification",
"restoreProcessingNotification",
"restoreSuccessNotification",
"restoreFailureNotification",
"deletePermanentlyTooltip",
"deletePermanentlyConfirmationDialogTitle",
"deletePermanentlyConfirmationDialogContent",
"albumSharedLabel",
"metadataTaskProcessingNotification",
"metadataTaskPauseNoWiFiNotification",
"configButtonLabel",
"useAsAlbumCoverTooltip",
"helpTooltip",
"helpButtonLabel",
"removeFromAlbumTooltip",
"changelogTitle",
"serverCertErrorDialogTitle",
"serverCertErrorDialogContent",
"advancedButtonLabel",
"whitelistCertDialogTitle",
"whitelistCertDialogContent",
"whitelistCertButtonLabel",
"fileSharedByDescription",
"emptyTrashbinTooltip",
"emptyTrashbinConfirmationDialogTitle",
"emptyTrashbinConfirmationDialogContent",
"unsetAlbumCoverTooltip",
"muteTooltip",
"unmuteTooltip",
"collectionPeopleLabel",
"slideshowTooltip",
"slideshowSetupDialogTitle",
"slideshowSetupDialogDurationTitle",
"slideshowSetupDialogShuffleTitle",
"slideshowSetupDialogRepeatTitle",
"slideshowSetupDialogReverseTitle",
"linkCopiedNotification",
"shareMethodDialogTitle",
"shareMethodPreviewTitle",
"shareMethodPreviewDescription",
"shareMethodOriginalFileTitle",
"shareMethodOriginalFileDescription",
"shareMethodPublicLinkTitle",
"shareMethodPublicLinkDescription",
"shareMethodPasswordLinkTitle",
"shareMethodPasswordLinkDescription",
"collectionSharingLabel",
"fileLastSharedDescription",
"fileLastSharedByOthersDescription",
"albumLastSharedByOthersDescription",
"sharedWithLabel",
"unshareTooltip",
"unshareSuccessNotification",
"locationLabel",
"multipleFilesLinkShareDialogContent",
"folderNameInputHint",
"folderNameInputInvalidEmpty",
"folderNameInputInvalidCharacters",
"createShareProgressText",
"copyItemsFailureNotification",
"unshareLinkShareDirDialogTitle",
"unshareLinkShareDirDialogContent",
"addToCollectionsViewTooltip",
"shareAlbumDialogTitle",
"shareAlbumSuccessWithErrorNotification",
"unshareAlbumSuccessWithErrorNotification",
"fixSharesTooltip",
"fixTooltip",
"fixAllTooltip",
"missingShareDescription",
"extraShareDescription",
"defaultButtonLabel",
"addUserInputHint",
"sharedAlbumInfoDialogTitle",
"sharedAlbumInfoDialogContent",
"learnMoreButtonLabel",
"migrateDatabaseProcessingNotification",
"migrateDatabaseFailureNotification",
"memoryAlbumName",
"homeFolderNotFoundDialogTitle",
"homeFolderNotFoundDialogContent",
"homeFolderInputInvalidEmpty",
"createCollectionTooltip",
"createCollectionDialogAlbumLabel",
"createCollectionDialogAlbumDescription",
"createCollectionDialogFolderLabel",
"createCollectionDialogFolderDescription",
"collectionFavoritesLabel",
"favoriteTooltip",
"favoriteSuccessNotification",
"favoriteFailureNotification",
"unfavoriteTooltip",
"unfavoriteSuccessNotification",
"unfavoriteFailureNotification",
"createCollectionDialogTagLabel",
"createCollectionDialogTagDescription",
"addTagInputHint",
"tagPickerNoTagSelectedNotification",
"backgroundServiceStopping",
"metadataTaskPauseLowBatteryNotification",
"enhanceTooltip",
"enhanceButtonLabel",
"enhanceIntroDialogTitle",
"enhanceIntroDialogDescription",
"enhanceLowLightTitle",
"enhanceLowLightDescription",
"enhanceLowLightParamBrightnessLabel",
"collectionEditedPhotosLabel",
"deletePermanentlyLocalConfirmationDialogContent",
"enhancePortraitBlurTitle",
"enhancePortraitBlurDescription",
"enhancePortraitBlurParamBlurLabel",
"enhanceSuperResolution4xTitle",
"enhanceSuperResolution4xDescription",
"enhanceStyleTransferTitle",
"enhanceStyleTransferStyleDialogTitle",
"enhanceStyleTransferStyleDialogDescription",
"enhanceStyleTransferNoStyleSelectedNotification",
"enhanceColorPopTitle",
"enhanceColorPopDescription",
"enhanceGenericParamWeightLabel",
"enhanceRetouchTitle",
"enhanceRetouchDescription",
"doubleTapExitNotification",
"imageEditDiscardDialogTitle",
"imageEditDiscardDialogContent",
"discardButtonLabel",
"saveTooltip",
"imageEditColorBrightness",
"imageEditColorContrast",
"imageEditColorWhitePoint",
"imageEditColorBlackPoint",
"imageEditColorSaturation",
"imageEditColorWarmth",
"imageEditColorTint",
"imageEditTitle",
"imageEditToolbarColorLabel",
"imageEditToolbarTransformLabel",
"imageEditTransformOrientation",
"imageEditTransformOrientationClockwise",
"imageEditTransformOrientationCounterclockwise",
"imageEditTransformCrop",
"categoriesLabel",
"searchLandingPeopleListEmptyText2",
"searchLandingCategoryVideosLabel",
"searchFilterButtonLabel",
"searchFilterDialogTitle",
"applyButtonLabel",
"searchFilterOptionAnyLabel",
"searchFilterOptionTrueLabel",
"searchFilterOptionFalseLabel",
"searchFilterTypeLabel",
"searchFilterTypeOptionImageLabel",
"searchFilterBubbleTypeImageText",
"searchFilterTypeOptionVideoLabel",
"searchFilterBubbleTypeVideoText",
"searchFilterFavoriteLabel",
"searchFilterBubbleFavoriteTrueText",
"searchFilterBubbleFavoriteFalseText",
"showAllButtonLabel",
"gpsPlaceText",
"gpsPlaceAboutDialogTitle",
"gpsPlaceAboutDialogContent",
"collectionPlacesLabel",
"imageSaveOptionDialogTitle",
"imageSaveOptionDialogContent",
"imageSaveOptionDialogDeviceButtonLabel",
"imageSaveOptionDialogServerButtonLabel",
"initialSyncMessage",
"loopTooltip",
"createCollectionFailureNotification",
"addItemToCollectionTooltip",
"addItemToCollectionFailureNotification",
"setCollectionCoverFailureNotification",
"exportCollectionTooltip",
"exportCollectionDialogTitle",
"createCollectionDialogNextcloudAlbumLabel",
"createCollectionDialogNextcloudAlbumDescription",
"removeCollectionsFailedNotification",
"accountSettingsTooltip",
"contributorsTooltip",
"setAsTooltip",
"deleteAccountConfirmDialogText",
"errorUnauthenticated",
"errorDisconnected",
"errorLocked",
"errorInvalidBaseUrl",
"errorWrongPassword",
"errorServerError",
"errorAlbumDowngrade",
"errorNoStoragePermission"
],
"cs": [ "cs": [
"nameInputInvalidEmpty", "nameInputInvalidEmpty",
"settingsMetadataTitle", "settingsMetadataTitle",
@ -23,94 +378,43 @@
], ],
"de": [ "de": [
"connectingToServer2",
"connectingToServerInstruction",
"settingsMetadataTitle",
"settingsMemoriesSubtitle",
"settingsAccountLabelTitle", "settingsAccountLabelTitle",
"settingsAccountLabelDescription", "settingsAccountLabelDescription",
"settingsIncludedFoldersTitle",
"settingsShareFolderDialogTitle", "settingsShareFolderDialogTitle",
"settingsShareFolderDialogDescription", "settingsShareFolderDialogDescription",
"settingsShareFolderPickerDescription", "settingsShareFolderPickerDescription",
"settingsPersonProviderTitle", "settingsPersonProviderTitle",
"settingsServerAppSectionTitle",
"settingsPhotosDescription",
"settingsMemoriesRangeTitle",
"settingsEnhanceMaxResolutionDescription",
"settingsSeedColorSystemColorDescription",
"settingsSeedColorPickerSystemColorButtonLabel", "settingsSeedColorPickerSystemColorButtonLabel",
"settingsExperimentalDescription",
"settingsExpertWarningText",
"settingsClearCacheDatabaseTitle",
"settingsClearCacheDatabaseDescription",
"settingsClearCacheDatabaseSuccessNotification",
"rootPickerSkipConfirmationDialogContent2",
"timeSecondInputHint",
"sortOptionManualLabel", "sortOptionManualLabel",
"fileLastSharedByOthersDescription", "fileLastSharedByOthersDescription",
"albumLastSharedByOthersDescription",
"unshareTooltip", "unshareTooltip",
"unshareSuccessNotification", "unshareSuccessNotification",
"multipleFilesLinkShareDialogContent", "multipleFilesLinkShareDialogContent",
"folderNameInputInvalidEmpty",
"createShareProgressText", "createShareProgressText",
"unshareLinkShareDirDialogContent", "unshareLinkShareDirDialogContent",
"shareAlbumDialogTitle",
"shareAlbumSuccessWithErrorNotification", "shareAlbumSuccessWithErrorNotification",
"unshareAlbumSuccessWithErrorNotification", "unshareAlbumSuccessWithErrorNotification",
"fixSharesTooltip", "fixSharesTooltip",
"fixTooltip", "fixTooltip",
"fixAllTooltip", "fixAllTooltip",
"defaultButtonLabel",
"addUserInputHint",
"sharedAlbumInfoDialogTitle", "sharedAlbumInfoDialogTitle",
"sharedAlbumInfoDialogContent", "sharedAlbumInfoDialogContent",
"learnMoreButtonLabel",
"homeFolderNotFoundDialogTitle", "homeFolderNotFoundDialogTitle",
"homeFolderNotFoundDialogContent", "homeFolderNotFoundDialogContent",
"homeFolderInputInvalidEmpty", "homeFolderInputInvalidEmpty",
"createCollectionDialogAlbumDescription", "createCollectionDialogAlbumDescription",
"unfavoriteTooltip",
"unfavoriteFailureNotification",
"createCollectionDialogTagDescription",
"backgroundServiceStopping", "backgroundServiceStopping",
"enhanceButtonLabel", "enhanceButtonLabel",
"enhanceIntroDialogTitle",
"enhanceIntroDialogDescription",
"enhanceLowLightTitle", "enhanceLowLightTitle",
"enhanceLowLightDescription",
"enhancePortraitBlurDescription",
"enhancePortraitBlurParamBlurLabel", "enhancePortraitBlurParamBlurLabel",
"enhanceSuperResolution4xTitle", "enhanceSuperResolution4xTitle",
"enhanceSuperResolution4xDescription",
"enhanceColorPopTitle", "enhanceColorPopTitle",
"enhanceColorPopDescription",
"enhanceGenericParamWeightLabel", "enhanceGenericParamWeightLabel",
"enhanceRetouchDescription",
"imageEditToolbarTransformLabel",
"imageEditTransformOrientationClockwise",
"imageEditTransformOrientationCounterclockwise",
"categoriesLabel",
"searchLandingPeopleListEmptyText2", "searchLandingPeopleListEmptyText2",
"searchLandingCategoryVideosLabel",
"searchFilterBubbleTypeImageText", "searchFilterBubbleTypeImageText",
"searchFilterBubbleTypeVideoText",
"searchFilterFavoriteLabel",
"searchFilterBubbleFavoriteTrueText",
"searchFilterBubbleFavoriteFalseText",
"imageSaveOptionDialogTitle", "imageSaveOptionDialogTitle",
"imageSaveOptionDialogContent", "imageSaveOptionDialogContent",
"initialSyncMessage", "loopTooltip"
"loopTooltip",
"addItemToCollectionFailureNotification",
"exportCollectionDialogTitle",
"removeCollectionsFailedNotification",
"accountSettingsTooltip",
"contributorsTooltip",
"setAsTooltip",
"deleteAccountConfirmDialogText",
"errorAlbumDowngrade"
], ],
"el": [ "el": [
@ -225,18 +529,6 @@
"deleteAccountConfirmDialogText" "deleteAccountConfirmDialogText"
], ],
"es": [
"settingsMetadataTitle",
"settingsPersonProviderTitle",
"settingsSeedColorSystemColorDescription",
"settingsSeedColorPickerSystemColorButtonLabel",
"searchLandingPeopleListEmptyText2",
"accountSettingsTooltip",
"contributorsTooltip",
"setAsTooltip",
"deleteAccountConfirmDialogText"
],
"fi": [ "fi": [
"settingsMetadataTitle", "settingsMetadataTitle",
"settingsPersonProviderTitle", "settingsPersonProviderTitle",

View file

@ -146,6 +146,7 @@ class _WrappedAppState extends State<_WrappedApp>
Locale.fromSubtags(languageCode: "zh", scriptCode: "Hant"), Locale.fromSubtags(languageCode: "zh", scriptCode: "Hant"),
Locale("it"), Locale("it"),
Locale("nl"), Locale("nl"),
Locale("ca"),
], ],
builder: (context, child) { builder: (context, child) {
MyApp._globalContext = context; MyApp._globalContext = context;