Asset Picker default Text delegate replaced (#324)

* Asset Picker translation override

* added missing translations

* missing translations update

* tranlations from wechat lib

I modified the original English translation to use "media" and "files" instead of "resources", but these translations most likely follow the original English version. I adjusted the Japanese file and the french looks good to me.

* i18n: pt_BR strings added

* added saveWindowPlacement missing translations

* Update asset_picker_translated_text_delegate.dart
This commit is contained in:
Gabriel Lima
2023-03-25 20:49:38 -03:00
committed by GitHub
parent 8fc1c637f2
commit 63b75f3e53
30 changed files with 962 additions and 74 deletions

View File

@@ -16,6 +16,9 @@
"sendModeHelp": "Explanation"
},
"settingsTab": {
"general": {
"saveWindowPlacement": "Quit: Save window placement"
},
"receive": {
"downloads": "(Downloads)"
},
@@ -94,5 +97,8 @@
"multiple": "Sends files to multiple recipients. Selection will not be cleared.",
"link": "Recipients who do not have LocalSend installed can download the selected files by opening the link in their browser."
}
},
"assetPicker": {
"accessAllTip": "App can only access some files on the device. Go to system settings and allow the app to access all media on the device."
}
}

View File

@@ -16,6 +16,9 @@
"sendModeHelp": "Explanation"
},
"settingsTab": {
"general": {
"saveWindowPlacement": "Quit: Save window placement"
},
"receive": {
"downloads": "(Downloads)"
},
@@ -88,5 +91,35 @@
"multiple": "Sends files to multiple recipients. Selection will not be cleared.",
"link": "Recipients who do not have LocalSend installed can download the selected files by opening the link in their browser."
}
},
"assetPicker": {
"confirm": "Confirm",
"cancel": "Cancel",
"edit": "Edit",
"gifIndicator": "GIF",
"loadFailed": "Load failed",
"original": "Origin",
"preview": "Preview",
"select": "Select",
"emptyList": "Empty list",
"unSupportedAssetType": "Unsupported file type.",
"unableToAccessAll": "Unable to access all files on the device",
"viewingLimitedAssetsTip": "Only view files and albums accessible to the app.",
"changeAccessibleLimitedAssets": "Click to update accessible files",
"accessAllTip": "App can only access some files on the device. Go to system settings and allow the app to access all media on the device.",
"goToSystemSettings": "Go to system settings",
"accessLimitedAssets": "Continue with limited access",
"accessiblePathName": "Accessible files",
"sTypeAudioLabel": "Audio",
"sTypeImageLabel": "Image",
"sTypeVideoLabel": "Video",
"sTypeOtherLabel": "Other media",
"sActionPlayHint": "play",
"sActionPreviewHint": "preview",
"sActionSelectHint": "select",
"sActionSwitchPathLabel": "change path",
"sActionUseCameraHint": "use camera",
"sNameDurationLabel": "duration",
"sUnitAssetCountLabel": "count"
}
}

View File

@@ -1,7 +1,41 @@
{
"@@info": [
"Here are translations that exist in <en> but not in <cs>.",
"After editing this file, you can run 'flutter pub run slang apply --locale=cs' to quickly apply the newly added translations.",
"Congratulations! There are no missing translations! :)"
]
"After editing this file, you can run 'flutter pub run slang apply --locale=cs' to quickly apply the newly added translations."
],
"settingsTab": {
"general": {
"saveWindowPlacement": "Quit: Save window placement"
}
},
"assetPicker": {
"confirm": "Confirm",
"cancel": "Cancel",
"edit": "Edit",
"gifIndicator": "GIF",
"loadFailed": "Load failed",
"original": "Origin",
"preview": "Preview",
"select": "Select",
"emptyList": "Empty list",
"unSupportedAssetType": "Unsupported file type.",
"unableToAccessAll": "Unable to access all files on the device",
"viewingLimitedAssetsTip": "Only view files and albums accessible to the app.",
"changeAccessibleLimitedAssets": "Click to update accessible files",
"accessAllTip": "App can only access some files on the device. Go to system settings and allow the app to access all media on the device.",
"goToSystemSettings": "Go to system settings",
"accessLimitedAssets": "Continue with limited access",
"accessiblePathName": "Accessible files",
"sTypeAudioLabel": "Audio",
"sTypeImageLabel": "Image",
"sTypeVideoLabel": "Video",
"sTypeOtherLabel": "Other media",
"sActionPlayHint": "play",
"sActionPreviewHint": "preview",
"sActionSelectHint": "select",
"sActionSwitchPathLabel": "change path",
"sActionUseCameraHint": "use camera",
"sNameDurationLabel": "duration",
"sUnitAssetCountLabel": "count"
}
}

View File

@@ -1,7 +1,14 @@
{
"@@info": [
"Here are translations that exist in <en> but not in <de>.",
"After editing this file, you can run 'flutter pub run slang apply --locale=de' to quickly apply the newly added translations.",
"Congratulations! There are no missing translations! :)"
]
"After editing this file, you can run 'flutter pub run slang apply --locale=de' to quickly apply the newly added translations."
],
"settingsTab": {
"general": {
"saveWindowPlacement": "Quit: Save window placement"
}
},
"assetPicker": {
"changeAccessibleLimitedAssets": "Click to update accessible files"
}
}

View File

@@ -1,7 +1,41 @@
{
"@@info": [
"Here are translations that exist in <en> but not in <es-ES>.",
"After editing this file, you can run 'flutter pub run slang apply --locale=es-ES' to quickly apply the newly added translations.",
"Congratulations! There are no missing translations! :)"
]
"After editing this file, you can run 'flutter pub run slang apply --locale=es-ES' to quickly apply the newly added translations."
],
"settingsTab": {
"general": {
"saveWindowPlacement": "Quit: Save window placement"
}
},
"assetPicker": {
"confirm": "Confirm",
"cancel": "Cancel",
"edit": "Edit",
"gifIndicator": "GIF",
"loadFailed": "Load failed",
"original": "Origin",
"preview": "Preview",
"select": "Select",
"emptyList": "Empty list",
"unSupportedAssetType": "Unsupported file type.",
"unableToAccessAll": "Unable to access all files on the device",
"viewingLimitedAssetsTip": "Only view files and albums accessible to the app.",
"changeAccessibleLimitedAssets": "Click to update accessible files",
"accessAllTip": "App can only access some files on the device. Go to system settings and allow the app to access all media on the device.",
"goToSystemSettings": "Go to system settings",
"accessLimitedAssets": "Continue with limited access",
"accessiblePathName": "Accessible files",
"sTypeAudioLabel": "Audio",
"sTypeImageLabel": "Image",
"sTypeVideoLabel": "Video",
"sTypeOtherLabel": "Other media",
"sActionPlayHint": "play",
"sActionPreviewHint": "preview",
"sActionSelectHint": "select",
"sActionSwitchPathLabel": "change path",
"sActionUseCameraHint": "use camera",
"sNameDurationLabel": "duration",
"sUnitAssetCountLabel": "count"
}
}

View File

@@ -1,7 +1,11 @@
{
"@@info": [
"Here are translations that exist in <en> but not in <fr-FR>.",
"After editing this file, you can run 'flutter pub run slang apply --locale=fr-FR' to quickly apply the newly added translations.",
"Congratulations! There are no missing translations! :)"
]
"After editing this file, you can run 'flutter pub run slang apply --locale=fr-FR' to quickly apply the newly added translations."
],
"settingsTab": {
"general": {
"saveWindowPlacement": "Quit: Save window placement"
}
}
}

View File

@@ -1,7 +1,41 @@
{
"@@info": [
"Here are translations that exist in <en> but not in <hu>.",
"After editing this file, you can run 'flutter pub run slang apply --locale=hu' to quickly apply the newly added translations.",
"Congratulations! There are no missing translations! :)"
]
"After editing this file, you can run 'flutter pub run slang apply --locale=hu' to quickly apply the newly added translations."
],
"settingsTab": {
"general": {
"saveWindowPlacement": "Quit: Save window placement"
}
},
"assetPicker": {
"confirm": "Confirm",
"cancel": "Cancel",
"edit": "Edit",
"gifIndicator": "GIF",
"loadFailed": "Load failed",
"original": "Origin",
"preview": "Preview",
"select": "Select",
"emptyList": "Empty list",
"unSupportedAssetType": "Unsupported file type.",
"unableToAccessAll": "Unable to access all files on the device",
"viewingLimitedAssetsTip": "Only view files and albums accessible to the app.",
"changeAccessibleLimitedAssets": "Click to update accessible files",
"accessAllTip": "App can only access some files on the device. Go to system settings and allow the app to access all media on the device.",
"goToSystemSettings": "Go to system settings",
"accessLimitedAssets": "Continue with limited access",
"accessiblePathName": "Accessible files",
"sTypeAudioLabel": "Audio",
"sTypeImageLabel": "Image",
"sTypeVideoLabel": "Video",
"sTypeOtherLabel": "Other media",
"sActionPlayHint": "play",
"sActionPreviewHint": "preview",
"sActionSelectHint": "select",
"sActionSwitchPathLabel": "change path",
"sActionUseCameraHint": "use camera",
"sNameDurationLabel": "duration",
"sUnitAssetCountLabel": "count"
}
}

View File

@@ -16,6 +16,9 @@
"sendModeHelp": "Explanation"
},
"settingsTab": {
"general": {
"saveWindowPlacement": "Quit: Save window placement"
},
"receive": {
"downloads": "(Downloads)"
},
@@ -88,5 +91,35 @@
"multiple": "Sends files to multiple recipients. Selection will not be cleared.",
"link": "Recipients who do not have LocalSend installed can download the selected files by opening the link in their browser."
}
},
"assetPicker": {
"confirm": "Confirm",
"cancel": "Cancel",
"edit": "Edit",
"gifIndicator": "GIF",
"loadFailed": "Load failed",
"original": "Origin",
"preview": "Preview",
"select": "Select",
"emptyList": "Empty list",
"unSupportedAssetType": "Unsupported file type.",
"unableToAccessAll": "Unable to access all files on the device",
"viewingLimitedAssetsTip": "Only view files and albums accessible to the app.",
"changeAccessibleLimitedAssets": "Click to update accessible files",
"accessAllTip": "App can only access some files on the device. Go to system settings and allow the app to access all media on the device.",
"goToSystemSettings": "Go to system settings",
"accessLimitedAssets": "Continue with limited access",
"accessiblePathName": "Accessible files",
"sTypeAudioLabel": "Audio",
"sTypeImageLabel": "Image",
"sTypeVideoLabel": "Video",
"sTypeOtherLabel": "Other media",
"sActionPlayHint": "play",
"sActionPreviewHint": "preview",
"sActionSelectHint": "select",
"sActionSwitchPathLabel": "change path",
"sActionUseCameraHint": "use camera",
"sNameDurationLabel": "duration",
"sUnitAssetCountLabel": "count"
}
}

View File

@@ -16,6 +16,9 @@
"sendModeHelp": "Explanation"
},
"settingsTab": {
"general": {
"saveWindowPlacement": "Quit: Save window placement"
},
"receive": {
"downloads": "(Downloads)"
},
@@ -88,5 +91,35 @@
"multiple": "Sends files to multiple recipients. Selection will not be cleared.",
"link": "Recipients who do not have LocalSend installed can download the selected files by opening the link in their browser."
}
},
"assetPicker": {
"confirm": "Confirm",
"cancel": "Cancel",
"edit": "Edit",
"gifIndicator": "GIF",
"loadFailed": "Load failed",
"original": "Origin",
"preview": "Preview",
"select": "Select",
"emptyList": "Empty list",
"unSupportedAssetType": "Unsupported file type.",
"unableToAccessAll": "Unable to access all files on the device",
"viewingLimitedAssetsTip": "Only view files and albums accessible to the app.",
"changeAccessibleLimitedAssets": "Click to update accessible files",
"accessAllTip": "App can only access some files on the device. Go to system settings and allow the app to access all media on the device.",
"goToSystemSettings": "Go to system settings",
"accessLimitedAssets": "Continue with limited access",
"accessiblePathName": "Accessible files",
"sTypeAudioLabel": "Audio",
"sTypeImageLabel": "Image",
"sTypeVideoLabel": "Video",
"sTypeOtherLabel": "Other media",
"sActionPlayHint": "play",
"sActionPreviewHint": "preview",
"sActionSelectHint": "select",
"sActionSwitchPathLabel": "change path",
"sActionUseCameraHint": "use camera",
"sNameDurationLabel": "duration",
"sUnitAssetCountLabel": "count"
}
}

View File

@@ -16,6 +16,9 @@
"sendModeHelp": "Explanation"
},
"settingsTab": {
"general": {
"saveWindowPlacement": "Quit: Save window placement"
},
"receive": {
"downloads": "(Downloads)"
},
@@ -94,5 +97,35 @@
"multiple": "Sends files to multiple recipients. Selection will not be cleared.",
"link": "Recipients who do not have LocalSend installed can download the selected files by opening the link in their browser."
}
},
"assetPicker": {
"confirm": "Confirm",
"cancel": "Cancel",
"edit": "Edit",
"gifIndicator": "GIF",
"loadFailed": "Load failed",
"original": "Origin",
"preview": "Preview",
"select": "Select",
"emptyList": "Empty list",
"unSupportedAssetType": "Unsupported file type.",
"unableToAccessAll": "Unable to access all files on the device",
"viewingLimitedAssetsTip": "Only view files and albums accessible to the app.",
"changeAccessibleLimitedAssets": "Click to update accessible files",
"accessAllTip": "App can only access some files on the device. Go to system settings and allow the app to access all media on the device.",
"goToSystemSettings": "Go to system settings",
"accessLimitedAssets": "Continue with limited access",
"accessiblePathName": "Accessible files",
"sTypeAudioLabel": "Audio",
"sTypeImageLabel": "Image",
"sTypeVideoLabel": "Video",
"sTypeOtherLabel": "Other media",
"sActionPlayHint": "play",
"sActionPreviewHint": "preview",
"sActionSelectHint": "select",
"sActionSwitchPathLabel": "change path",
"sActionUseCameraHint": "use camera",
"sNameDurationLabel": "duration",
"sUnitAssetCountLabel": "count"
}
}

View File

@@ -1,7 +1,11 @@
{
"@@info": [
"Here are translations that exist in <en> but not in <ja>.",
"After editing this file, you can run 'flutter pub run slang apply --locale=ja' to quickly apply the newly added translations.",
"Congratulations! There are no missing translations! :)"
]
"After editing this file, you can run 'flutter pub run slang apply --locale=ja' to quickly apply the newly added translations."
],
"settingsTab": {
"general": {
"saveWindowPlacement": "Quit: Save window placement"
}
}
}

View File

@@ -16,6 +16,9 @@
"sendModeHelp": "Explanation"
},
"settingsTab": {
"general": {
"saveWindowPlacement": "Quit: Save window placement"
},
"receive": {
"downloads": "(Downloads)"
},
@@ -88,5 +91,35 @@
"multiple": "Sends files to multiple recipients. Selection will not be cleared.",
"link": "Recipients who do not have LocalSend installed can download the selected files by opening the link in their browser."
}
},
"assetPicker": {
"confirm": "Confirm",
"cancel": "Cancel",
"edit": "Edit",
"gifIndicator": "GIF",
"loadFailed": "Load failed",
"original": "Origin",
"preview": "Preview",
"select": "Select",
"emptyList": "Empty list",
"unSupportedAssetType": "Unsupported file type.",
"unableToAccessAll": "Unable to access all files on the device",
"viewingLimitedAssetsTip": "Only view files and albums accessible to the app.",
"changeAccessibleLimitedAssets": "Click to update accessible files",
"accessAllTip": "App can only access some files on the device. Go to system settings and allow the app to access all media on the device.",
"goToSystemSettings": "Go to system settings",
"accessLimitedAssets": "Continue with limited access",
"accessiblePathName": "Accessible files",
"sTypeAudioLabel": "Audio",
"sTypeImageLabel": "Image",
"sTypeVideoLabel": "Video",
"sTypeOtherLabel": "Other media",
"sActionPlayHint": "play",
"sActionPreviewHint": "preview",
"sActionSelectHint": "select",
"sActionSwitchPathLabel": "change path",
"sActionUseCameraHint": "use camera",
"sNameDurationLabel": "duration",
"sUnitAssetCountLabel": "count"
}
}

View File

@@ -16,6 +16,9 @@
"sendModeHelp": "Explanation"
},
"settingsTab": {
"general": {
"saveWindowPlacement": "Quit: Save window placement"
},
"receive": {
"downloads": "(Downloads)"
},
@@ -94,5 +97,35 @@
"multiple": "Sends files to multiple recipients. Selection will not be cleared.",
"link": "Recipients who do not have LocalSend installed can download the selected files by opening the link in their browser."
}
},
"assetPicker": {
"confirm": "Confirm",
"cancel": "Cancel",
"edit": "Edit",
"gifIndicator": "GIF",
"loadFailed": "Load failed",
"original": "Origin",
"preview": "Preview",
"select": "Select",
"emptyList": "Empty list",
"unSupportedAssetType": "Unsupported file type.",
"unableToAccessAll": "Unable to access all files on the device",
"viewingLimitedAssetsTip": "Only view files and albums accessible to the app.",
"changeAccessibleLimitedAssets": "Click to update accessible files",
"accessAllTip": "App can only access some files on the device. Go to system settings and allow the app to access all media on the device.",
"goToSystemSettings": "Go to system settings",
"accessLimitedAssets": "Continue with limited access",
"accessiblePathName": "Accessible files",
"sTypeAudioLabel": "Audio",
"sTypeImageLabel": "Image",
"sTypeVideoLabel": "Video",
"sTypeOtherLabel": "Other media",
"sActionPlayHint": "play",
"sActionPreviewHint": "preview",
"sActionSelectHint": "select",
"sActionSwitchPathLabel": "change path",
"sActionUseCameraHint": "use camera",
"sNameDurationLabel": "duration",
"sUnitAssetCountLabel": "count"
}
}

View File

@@ -1,7 +1,41 @@
{
"@@info": [
"Here are translations that exist in <en> but not in <nl>.",
"After editing this file, you can run 'flutter pub run slang apply --locale=nl' to quickly apply the newly added translations.",
"Congratulations! There are no missing translations! :)"
]
"After editing this file, you can run 'flutter pub run slang apply --locale=nl' to quickly apply the newly added translations."
],
"settingsTab": {
"general": {
"saveWindowPlacement": "Quit: Save window placement"
}
},
"assetPicker": {
"confirm": "Confirm",
"cancel": "Cancel",
"edit": "Edit",
"gifIndicator": "GIF",
"loadFailed": "Load failed",
"original": "Origin",
"preview": "Preview",
"select": "Select",
"emptyList": "Empty list",
"unSupportedAssetType": "Unsupported file type.",
"unableToAccessAll": "Unable to access all files on the device",
"viewingLimitedAssetsTip": "Only view files and albums accessible to the app.",
"changeAccessibleLimitedAssets": "Click to update accessible files",
"accessAllTip": "App can only access some files on the device. Go to system settings and allow the app to access all media on the device.",
"goToSystemSettings": "Go to system settings",
"accessLimitedAssets": "Continue with limited access",
"accessiblePathName": "Accessible files",
"sTypeAudioLabel": "Audio",
"sTypeImageLabel": "Image",
"sTypeVideoLabel": "Video",
"sTypeOtherLabel": "Other media",
"sActionPlayHint": "play",
"sActionPreviewHint": "preview",
"sActionSelectHint": "select",
"sActionSwitchPathLabel": "change path",
"sActionUseCameraHint": "use camera",
"sNameDurationLabel": "duration",
"sUnitAssetCountLabel": "count"
}
}

View File

@@ -16,6 +16,9 @@
"sendModeHelp": "Explanation"
},
"settingsTab": {
"general": {
"saveWindowPlacement": "Quit: Save window placement"
},
"receive": {
"downloads": "(Downloads)"
},
@@ -94,5 +97,35 @@
"multiple": "Sends files to multiple recipients. Selection will not be cleared.",
"link": "Recipients who do not have LocalSend installed can download the selected files by opening the link in their browser."
}
},
"assetPicker": {
"confirm": "Confirm",
"cancel": "Cancel",
"edit": "Edit",
"gifIndicator": "GIF",
"loadFailed": "Load failed",
"original": "Origin",
"preview": "Preview",
"select": "Select",
"emptyList": "Empty list",
"unSupportedAssetType": "Unsupported file type.",
"unableToAccessAll": "Unable to access all files on the device",
"viewingLimitedAssetsTip": "Only view files and albums accessible to the app.",
"changeAccessibleLimitedAssets": "Click to update accessible files",
"accessAllTip": "App can only access some files on the device. Go to system settings and allow the app to access all media on the device.",
"goToSystemSettings": "Go to system settings",
"accessLimitedAssets": "Continue with limited access",
"accessiblePathName": "Accessible files",
"sTypeAudioLabel": "Audio",
"sTypeImageLabel": "Image",
"sTypeVideoLabel": "Video",
"sTypeOtherLabel": "Other media",
"sActionPlayHint": "play",
"sActionPreviewHint": "preview",
"sActionSelectHint": "select",
"sActionSwitchPathLabel": "change path",
"sActionUseCameraHint": "use camera",
"sNameDurationLabel": "duration",
"sUnitAssetCountLabel": "count"
}
}

View File

@@ -16,6 +16,9 @@
"sendModeHelp": "Explanation"
},
"settingsTab": {
"general": {
"saveWindowPlacement": "Quit: Save window placement"
},
"receive": {
"downloads": "(Downloads)"
},
@@ -94,5 +97,35 @@
"multiple": "Sends files to multiple recipients. Selection will not be cleared.",
"link": "Recipients who do not have LocalSend installed can download the selected files by opening the link in their browser."
}
},
"assetPicker": {
"confirm": "Confirm",
"cancel": "Cancel",
"edit": "Edit",
"gifIndicator": "GIF",
"loadFailed": "Load failed",
"original": "Origin",
"preview": "Preview",
"select": "Select",
"emptyList": "Empty list",
"unSupportedAssetType": "Unsupported file type.",
"unableToAccessAll": "Unable to access all files on the device",
"viewingLimitedAssetsTip": "Only view files and albums accessible to the app.",
"changeAccessibleLimitedAssets": "Click to update accessible files",
"accessAllTip": "App can only access some files on the device. Go to system settings and allow the app to access all media on the device.",
"goToSystemSettings": "Go to system settings",
"accessLimitedAssets": "Continue with limited access",
"accessiblePathName": "Accessible files",
"sTypeAudioLabel": "Audio",
"sTypeImageLabel": "Image",
"sTypeVideoLabel": "Video",
"sTypeOtherLabel": "Other media",
"sActionPlayHint": "play",
"sActionPreviewHint": "preview",
"sActionSelectHint": "select",
"sActionSwitchPathLabel": "change path",
"sActionUseCameraHint": "use camera",
"sNameDurationLabel": "duration",
"sUnitAssetCountLabel": "count"
}
}

View File

@@ -16,6 +16,9 @@
"sendModeHelp": "Explanation"
},
"settingsTab": {
"general": {
"saveWindowPlacement": "Quit: Save window placement"
},
"receive": {
"downloads": "(Downloads)"
},
@@ -60,5 +63,35 @@
"multiple": "Sends files to multiple recipients. Selection will not be cleared.",
"link": "Recipients who do not have LocalSend installed can download the selected files by opening the link in their browser."
}
},
"assetPicker": {
"confirm": "Confirm",
"cancel": "Cancel",
"edit": "Edit",
"gifIndicator": "GIF",
"loadFailed": "Load failed",
"original": "Origin",
"preview": "Preview",
"select": "Select",
"emptyList": "Empty list",
"unSupportedAssetType": "Unsupported file type.",
"unableToAccessAll": "Unable to access all files on the device",
"viewingLimitedAssetsTip": "Only view files and albums accessible to the app.",
"changeAccessibleLimitedAssets": "Click to update accessible files",
"accessAllTip": "App can only access some files on the device. Go to system settings and allow the app to access all media on the device.",
"goToSystemSettings": "Go to system settings",
"accessLimitedAssets": "Continue with limited access",
"accessiblePathName": "Accessible files",
"sTypeAudioLabel": "Audio",
"sTypeImageLabel": "Image",
"sTypeVideoLabel": "Video",
"sTypeOtherLabel": "Other media",
"sActionPlayHint": "play",
"sActionPreviewHint": "preview",
"sActionSelectHint": "select",
"sActionSwitchPathLabel": "change path",
"sActionUseCameraHint": "use camera",
"sNameDurationLabel": "duration",
"sUnitAssetCountLabel": "count"
}
}

View File

@@ -1,7 +1,36 @@
{
"@@info": [
"Here are translations that exist in <en> but not in <uk>.",
"After editing this file, you can run 'flutter pub run slang apply --locale=uk' to quickly apply the newly added translations.",
"Congratulations! There are no missing translations! :)"
]
"After editing this file, you can run 'flutter pub run slang apply --locale=uk' to quickly apply the newly added translations."
],
"assetPicker": {
"confirm": "Confirm",
"cancel": "Cancel",
"edit": "Edit",
"gifIndicator": "GIF",
"loadFailed": "Load failed",
"original": "Origin",
"preview": "Preview",
"select": "Select",
"emptyList": "Empty list",
"unSupportedAssetType": "Unsupported file type.",
"unableToAccessAll": "Unable to access all files on the device",
"viewingLimitedAssetsTip": "Only view files and albums accessible to the app.",
"changeAccessibleLimitedAssets": "Click to update accessible files",
"accessAllTip": "App can only access some files on the device. Go to system settings and allow the app to access all media on the device.",
"goToSystemSettings": "Go to system settings",
"accessLimitedAssets": "Continue with limited access",
"accessiblePathName": "Accessible files",
"sTypeAudioLabel": "Audio",
"sTypeImageLabel": "Image",
"sTypeVideoLabel": "Video",
"sTypeOtherLabel": "Other media",
"sActionPlayHint": "play",
"sActionPreviewHint": "preview",
"sActionSelectHint": "select",
"sActionSwitchPathLabel": "change path",
"sActionUseCameraHint": "use camera",
"sNameDurationLabel": "duration",
"sUnitAssetCountLabel": "count"
}
}

View File

@@ -1,7 +1,41 @@
{
"@@info": [
"Here are translations that exist in <en> but not in <zh-Hans>.",
"After editing this file, you can run 'flutter pub run slang apply --locale=zh-Hans' to quickly apply the newly added translations.",
"Congratulations! There are no missing translations! :)"
]
"After editing this file, you can run 'flutter pub run slang apply --locale=zh-Hans' to quickly apply the newly added translations."
],
"settingsTab": {
"general": {
"saveWindowPlacement": "Quit: Save window placement"
}
},
"assetPicker": {
"confirm": "Confirm",
"cancel": "Cancel",
"edit": "Edit",
"gifIndicator": "GIF",
"loadFailed": "Load failed",
"original": "Origin",
"preview": "Preview",
"select": "Select",
"emptyList": "Empty list",
"unSupportedAssetType": "Unsupported file type.",
"unableToAccessAll": "Unable to access all files on the device",
"viewingLimitedAssetsTip": "Only view files and albums accessible to the app.",
"changeAccessibleLimitedAssets": "Click to update accessible files",
"accessAllTip": "App can only access some files on the device. Go to system settings and allow the app to access all media on the device.",
"goToSystemSettings": "Go to system settings",
"accessLimitedAssets": "Continue with limited access",
"accessiblePathName": "Accessible files",
"sTypeAudioLabel": "Audio",
"sTypeImageLabel": "Image",
"sTypeVideoLabel": "Video",
"sTypeOtherLabel": "Other media",
"sActionPlayHint": "play",
"sActionPreviewHint": "preview",
"sActionSelectHint": "select",
"sActionSwitchPathLabel": "change path",
"sActionUseCameraHint": "use camera",
"sNameDurationLabel": "duration",
"sUnitAssetCountLabel": "count"
}
}

View File

@@ -16,6 +16,9 @@
"sendModeHelp": "Explanation"
},
"settingsTab": {
"general": {
"saveWindowPlacement": "Quit: Save window placement"
},
"receive": {
"downloads": "(Downloads)"
},
@@ -94,5 +97,35 @@
"multiple": "Sends files to multiple recipients. Selection will not be cleared.",
"link": "Recipients who do not have LocalSend installed can download the selected files by opening the link in their browser."
}
},
"assetPicker": {
"confirm": "Confirm",
"cancel": "Cancel",
"edit": "Edit",
"gifIndicator": "GIF",
"loadFailed": "Load failed",
"original": "Origin",
"preview": "Preview",
"select": "Select",
"emptyList": "Empty list",
"unSupportedAssetType": "Unsupported file type.",
"unableToAccessAll": "Unable to access all files on the device",
"viewingLimitedAssetsTip": "Only view files and albums accessible to the app.",
"changeAccessibleLimitedAssets": "Click to update accessible files",
"accessAllTip": "App can only access some files on the device. Go to system settings and allow the app to access all media on the device.",
"goToSystemSettings": "Go to system settings",
"accessLimitedAssets": "Continue with limited access",
"accessiblePathName": "Accessible files",
"sTypeAudioLabel": "Audio",
"sTypeImageLabel": "Image",
"sTypeVideoLabel": "Video",
"sTypeOtherLabel": "Other media",
"sActionPlayHint": "play",
"sActionPreviewHint": "preview",
"sActionSelectHint": "select",
"sActionSwitchPathLabel": "change path",
"sActionUseCameraHint": "use camera",
"sNameDurationLabel": "duration",
"sUnitAssetCountLabel": "count"
}
}

View File

@@ -1,7 +1,41 @@
{
"@@info": [
"Here are translations that exist in <en> but not in <zh-Hant-TW>.",
"After editing this file, you can run 'flutter pub run slang apply --locale=zh-Hant-TW' to quickly apply the newly added translations.",
"Congratulations! There are no missing translations! :)"
]
"After editing this file, you can run 'flutter pub run slang apply --locale=zh-Hant-TW' to quickly apply the newly added translations."
],
"settingsTab": {
"general": {
"saveWindowPlacement": "Quit: Save window placement"
}
},
"assetPicker": {
"confirm": "Confirm",
"cancel": "Cancel",
"edit": "Edit",
"gifIndicator": "GIF",
"loadFailed": "Load failed",
"original": "Origin",
"preview": "Preview",
"select": "Select",
"emptyList": "Empty list",
"unSupportedAssetType": "Unsupported file type.",
"unableToAccessAll": "Unable to access all files on the device",
"viewingLimitedAssetsTip": "Only view files and albums accessible to the app.",
"changeAccessibleLimitedAssets": "Click to update accessible files",
"accessAllTip": "App can only access some files on the device. Go to system settings and allow the app to access all media on the device.",
"goToSystemSettings": "Go to system settings",
"accessLimitedAssets": "Continue with limited access",
"accessiblePathName": "Accessible files",
"sTypeAudioLabel": "Audio",
"sTypeImageLabel": "Image",
"sTypeVideoLabel": "Video",
"sTypeOtherLabel": "Other media",
"sActionPlayHint": "play",
"sActionPreviewHint": "preview",
"sActionSelectHint": "select",
"sActionSwitchPathLabel": "change path",
"sActionUseCameraHint": "use camera",
"sNameDurationLabel": "duration",
"sUnitAssetCountLabel": "count"
}
}

View File

@@ -332,5 +332,36 @@
"@info": "Apple Guidelines are very strict about the 'close' wording.",
"open": "@:general.open",
"close": "Quit LocalSend"
},
"assetPicker": {
"@info": "Translations for the Media selection tool for Android and Iphone",
"confirm": "Confirm",
"cancel": "Cancel",
"edit": "Edit",
"gifIndicator": "GIF",
"loadFailed": "Load failed",
"original": "Origin",
"preview": "Preview",
"select": "Select",
"emptyList": "Empty list",
"unSupportedAssetType": "Unsupported file type.",
"unableToAccessAll": "Unable to access all files on the device",
"viewingLimitedAssetsTip": "Only view files and albums accessible to the app.",
"changeAccessibleLimitedAssets": "Click to update accessible files",
"accessAllTip": "App can only access some files on the device. Go to system settings and allow the app to access all media on the device.",
"goToSystemSettings": "Go to system settings",
"accessLimitedAssets": "Continue with limited access",
"accessiblePathName": "Accessible files",
"sTypeAudioLabel": "Audio",
"sTypeImageLabel": "Image",
"sTypeVideoLabel": "Video",
"sTypeOtherLabel": "Other media",
"sActionPlayHint": "play",
"sActionPreviewHint": "preview",
"sActionSelectHint": "select",
"sActionSwitchPathLabel": "change path",
"sActionUseCameraHint": "use camera",
"sNameDurationLabel": "duration",
"sUnitAssetCountLabel": "count"
}
}

View File

@@ -139,6 +139,79 @@
"changelogPage": {
"title": "التغييرات"
},
"dialogs": {
"addFile": {
"title": "أضف إلى الاختيار",
"content": "ماذا تريد أن تضيف؟"
},
"addressInput": {
"title": "أدخل العنوان",
"hashtag": "رابطة هاشتاق",
"ip": "عنوان IP"
},
"cancelSession": {
"title": "إلغاء نقل الملف",
"content": "هل تريد حقًا إلغاء نقل الملف؟"
},
"fileNameInput": {
"title": "أدخل اسم الملف",
"original": "أصلي: {original}"
},
"messageInput": {
"title": "اكتب رسالة",
"multiline": "متعدد الأسطر"
},
"noFiles": {
"title": "لم يتم اختيار اي ملف",
"content": "الرجاء تحديد ملف واحد على الأقل."
},
"quickActions": {
"title": "إجراءات سريعة",
"counter": "عداد",
"prefix": "بادئة",
"padZero": "بدأ مع أصفار",
"sortBeforeCount": "قم بالفرز أبجديًا مسبقًا",
"random": "عشوائي"
},
"quickSaveNotice": {
"title": "@:general.quickSave",
"content": "يتم قبول طلبات الملفات تلقائيًا. اعلم أن كل فرد في الشبكة المحلية يمكنه إرسال الملفات إليك."
}
},
"tray": {
"@info": "إرشادات Apple صارمة للغاية بشأن صياغة 'الإغلاق'.",
"open": "@:general.open",
"close": "أغلق LocalSend"
},
"assetPicker": {
"confirm": "تاكيد",
"cancel": "إلغاء",
"edit": "تعديل",
"gifIndicator": "GIF",
"loadFailed": "فشل التحميل",
"original": "أصلي",
"preview": "معاينة",
"select": "تحديد",
"emptyList": "القائمة فارغة",
"unSupportedAssetType": "نوع غير مدعوم",
"unableToAccessAll": "لا يمكن الوصول إلى جميع الملفات الموجودة على الجهاز",
"viewingLimitedAssetsTip": "إظهار الملفات والألبومات التي يمكن للتطبيق الوصول إليها فقط.",
"changeAccessibleLimitedAssets": "السماح بالوصول إلى ملفات إضافية",
"goToSystemSettings": "فتح إعدادات النظام",
"accessLimitedAssets": "الاستمرار مع صلاحيات محدوده",
"accessiblePathName": "ملفات يمكن الوصول إليها",
"sTypeAudioLabel": "صوتي",
"sTypeImageLabel": "صورة",
"sTypeVideoLabel": "فيديو",
"sTypeOtherLabel": "آخر",
"sActionPlayHint": "تشغيل",
"sActionPreviewHint": "معاينة",
"sActionSelectHint": "تحديد",
"sActionSwitchPathLabel": "تبديل المسار",
"sActionUseCameraHint": "استخدم الكاميرا",
"sNameDurationLabel": "مدة",
"sUnitAssetCountLabel": "عدد"
},
"aliasGenerator": {
"@info": "قد تحتوي المناطق المختلفة على كلمات مختلفة ، وقد لا تتطابق 1:1",
"adjectives": [
@@ -211,49 +284,5 @@
],
"combination": "{adjective} {fruit}",
"@combination": "In some languages, the adjective must be last."
},
"dialogs": {
"addFile": {
"title": "أضف إلى الاختيار",
"content": "ماذا تريد أن تضيف؟"
},
"addressInput": {
"title": "أدخل العنوان",
"hashtag": "رابطة هاشتاق",
"ip": "عنوان IP"
},
"cancelSession": {
"title": "إلغاء نقل الملف",
"content": "هل تريد حقًا إلغاء نقل الملف؟"
},
"fileNameInput": {
"title": "أدخل اسم الملف",
"original": "أصلي: {original}"
},
"messageInput": {
"title": "اكتب رسالة",
"multiline": "متعدد الأسطر"
},
"noFiles": {
"title": "لم يتم اختيار اي ملف",
"content": "الرجاء تحديد ملف واحد على الأقل."
},
"quickActions": {
"title": "إجراءات سريعة",
"counter": "عداد",
"prefix": "بادئة",
"padZero": "بدأ مع أصفار",
"sortBeforeCount": "قم بالفرز أبجديًا مسبقًا",
"random": "عشوائي"
},
"quickSaveNotice": {
"title": "@:general.quickSave",
"content": "يتم قبول طلبات الملفات تلقائيًا. اعلم أن كل فرد في الشبكة المحلية يمكنه إرسال الملفات إليك."
}
},
"tray": {
"@info": "إرشادات Apple صارمة للغاية بشأن صياغة 'الإغلاق'.",
"open": "@:general.open",
"close": "أغلق LocalSend"
}
}

View File

@@ -260,5 +260,34 @@
"tray": {
"open": "@:general.open",
"close": "LocalSend beenden"
},
"assetPicker": {
"confirm": "Bestätigen",
"cancel": "Abbrechen",
"edit": "Bearbeiten",
"gifIndicator": "GIF",
"loadFailed": "Ladevorgang ist fehlgeschlagen",
"original": "Ursprung",
"preview": "Vorschau",
"select": "Auswählen",
"emptyList": "Leere Liste",
"unSupportedAssetType": "Format ist nicht unterstützt.",
"unableToAccessAll": "Zugriff nicht möglich",
"viewingLimitedAssetsTip": "Zeigen Sie nur Dateien und Alben an, auf die die App zugreifen kann.",
"accessAllTip": "Die App kann nur auf einige der Dateien auf dem Gerät zugreifen. Öffnen Sie die Systemeinstellungen und erlauben Sie der App, \nauf alle Dateien auf dem Gerät zuzugreifen",
"goToSystemSettings": "Gehe zu den Systemeinstellungen",
"accessLimitedAssets": "Fahre fort mit limitierten Zugriff",
"accessiblePathName": "Verfügbare Assets",
"sTypeAudioLabel": "Audio",
"sTypeImageLabel": "Bild",
"sTypeVideoLabel": "Video",
"sTypeOtherLabel": "Andere Medien",
"sActionPlayHint": "Abspielen",
"sActionPreviewHint": "Vorschau",
"sActionSelectHint": "Auswählen",
"sActionSwitchPathLabel": "Dateipfad ändern",
"sActionUseCameraHint": "Kamera benutzen",
"sNameDurationLabel": "Dauer",
"sUnitAssetCountLabel": "Anzahl"
}
}

View File

@@ -261,5 +261,35 @@
"@info": "Les directives d'Apple sont très strictes en ce qui concerne le terme \"fermer\".",
"open": "@:general.open",
"close": "Quitter LocalSend"
},
"assetPicker": {
"confirm": "OK",
"cancel": "Annuler",
"edit": "Modifier",
"gifIndicator": "GIF",
"loadFailed": "Echec du chargement",
"original": "Original",
"preview": "Aperçu",
"select": "Choisir",
"emptyList": "Liste vide",
"unSupportedAssetType": "Type de fichier non supporté.",
"unableToAccessAll": "Impossible d'accéder aux médias de votre appareil",
"viewingLimitedAssetsTip": "Affichage des médias et albums limité.",
"changeAccessibleLimitedAssets": "Modifier l'accès limité aux médias",
"accessAllTip": "L'application ne peut accéder qu'à certains medias. Allez dans les paramètres système et autoriser l'application à accéder à tous les medias sur l'appareil.",
"goToSystemSettings": "Allez dans les paramètres système",
"accessLimitedAssets": "Continuer avec un accès limité",
"accessiblePathName": "Medias accessible",
"sTypeAudioLabel": "l'audio",
"sTypeImageLabel": "image",
"sTypeVideoLabel": "vidéo",
"sTypeOtherLabel": "Autre",
"sActionPlayHint": "jouer",
"sActionPreviewHint": "aperçu",
"sActionSelectHint": "choisir",
"sActionSwitchPathLabel": "changer le dossier",
"sActionUseCameraHint": "Utiliser la Caméra",
"sNameDurationLabel": "durée",
"sUnitAssetCountLabel": "quantité"
}
}

View File

@@ -260,5 +260,35 @@
"tray": {
"open": "@:general.open",
"close": "LocalSendを終了"
},
"assetPicker": {
"confirm": "確認",
"cancel": "キャンセル",
"edit": "編集",
"gifIndicator": "GIF画像",
"loadFailed": "読み込みに失敗しました",
"original": "元の画像",
"preview": "プレビュー",
"select": "選択",
"emptyList": "リストが空です",
"unSupportedAssetType": "未対応のフォーマット",
"unableToAccessAll": "すべてのファイルへのアクセスができない",
"viewingLimitedAssetsTip": "アプリは一部のファイルと写真にしかアクセスできない",
"changeAccessibleLimitedAssets": "アクセスできるファイルを設定する",
"accessAllTip": "アプリがデバイスのファイルの一部にのみアクセスするように設定されています。「すべてのメディア」へのアクセスを許可することを推奨します",
"goToSystemSettings": "「システム設定」に移動",
"accessLimitedAssets": "メディアの一部へのアクセスを続行",
"accessiblePathName": "アクセスできるファイル",
"sTypeAudioLabel": "オーディオ",
"sTypeImageLabel": "画像",
"sTypeVideoLabel": "動画",
"sTypeOtherLabel": "その他のメディア",
"sActionPlayHint": "再生",
"sActionPreviewHint": "プレビュー",
"sActionSelectHint": "選択",
"sActionSwitchPathLabel": "パス切り替え",
"sActionUseCameraHint": "カメラを使う",
"sNameDurationLabel": "動画の時間",
"sUnitAssetCountLabel": "数"
}
}

View File

@@ -322,5 +322,35 @@
"@info": "Apple Guidelines are very strict about the 'close' wording.",
"open": "@:general.open",
"close": "Fechar LocalSend"
},
"assetPicker": {
"confirm": "Confirmar",
"cancel": "Cancelar",
"edit": "Editar",
"gifIndicator": "GIF",
"loadFailed": "Falha ao carregar",
"original": "Original",
"preview": "Prévia",
"select": "Selecionar",
"emptyList": "Lista Vazia",
"unSupportedAssetType": "Este tipo de arquivo não é suportado.",
"unableToAccessAll": "Incapaz de acessar todos os arquivos do dispositivo",
"viewingLimitedAssetsTip": "Somente visualizar arquivos e álbuns acessíveis ao aplicativo.",
"changeAccessibleLimitedAssets": "Clique para atualizar os arquivos acessíveis",
"accessAllTip": "O aplicativo só pode acessar alguns arquivos no dispositivo. Vá às configurações do sistema e permita que o aplicativo acesse todas as mídias do dispositivo.",
"goToSystemSettings": "Ir para configurações do sistema",
"accessLimitedAssets": "Continuar com acesso limitado",
"accessiblePathName": "Arquivos acessíveis",
"sTypeAudioLabel": "Áudio",
"sTypeImageLabel": "Imagem",
"sTypeVideoLabel": "Vídeo",
"sTypeOtherLabel": "Outras mídias",
"sActionPlayHint": "reproduzir",
"sActionPreviewHint": "prévia",
"sActionSelectHint": "selecionar",
"sActionSwitchPathLabel": "mudar o caminho",
"sActionUseCameraHint": "use a câmera",
"sNameDurationLabel": "duração",
"sUnitAssetCountLabel": "Total"
}
}

View File

@@ -261,5 +261,35 @@
"@info": "Руководство по разработке от Apple (Apple Guidelines) очень строго относится к формулировке 'закрыть'",
"open": "@:general.open",
"close": "Выход из LocalSend"
},
"assetPicker": {
"confirm": "Готово",
"cancel": "Отмена",
"edit": "Изменить",
"gifIndicator": "GIF",
"loadFailed": "Ошибка при загрузке",
"original": "Оригинал",
"preview": "Предпросмотр",
"select": "Выбрать",
"emptyList": "Пустой список",
"unSupportedAssetType": "Неподдерживаемый формат ресурса.",
"unableToAccessAll": "Не все файлы доступны на устройстве",
"viewingLimitedAssetsTip": "Показать только файлы, которые доступны приложению.",
"changeAccessibleLimitedAssets": "Разрешить доступ к дополнительным файлам",
"accessAllTip": "У приложения доступ только к некоторым файлам на устройстве. Откройте настройки системы и разрешите приложению доступ ко всем файлам на устройстве.",
"goToSystemSettings": "Открыть настройки системы",
"accessLimitedAssets": "Продолжить с ограниченным доступом",
"accessiblePathName": "Доступные файлы",
"sTypeAudioLabel": "Аудио",
"sTypeImageLabel": "Изображение",
"sTypeVideoLabel": "Видео",
"sTypeOtherLabel": "Другой файл",
"sActionPlayHint": "воспроизвести",
"sActionPreviewHint": "просмотреть",
"sActionSelectHint": "выбрать",
"sActionSwitchPathLabel": "изменить путь",
"sActionUseCameraHint": "использовать камеру",
"sNameDurationLabel": "продолжительность",
"sUnitAssetCountLabel": "количество"
}
}

View File

@@ -0,0 +1,93 @@
import 'package:localsend_app/gen/strings.g.dart';
import 'package:wechat_assets_picker/wechat_assets_picker.dart';
class TranslatedAssetPickerTextDelegate extends AssetPickerTextDelegate {
const TranslatedAssetPickerTextDelegate();
@override
String get languageCode => LocaleSettings.currentLocale.languageCode;
@override
String get confirm => t.assetPicker.confirm;
@override
String get cancel => t.assetPicker.cancel;
@override
String get edit => t.assetPicker.edit;
@override
String get gifIndicator => t.assetPicker.gifIndicator;
@override
String get loadFailed => t.assetPicker.loadFailed;
@override
String get original => t.assetPicker.original;
@override
String get preview => t.assetPicker.preview;
@override
String get select => t.assetPicker.select;
@override
String get emptyList => t.assetPicker.emptyList;
@override
String get unSupportedAssetType => t.assetPicker.unSupportedAssetType;
@override
String get unableToAccessAll => t.assetPicker.unableToAccessAll;
@override
String get viewingLimitedAssetsTip => t.assetPicker.viewingLimitedAssetsTip;
@override
String get changeAccessibleLimitedAssets => t.assetPicker.changeAccessibleLimitedAssets;
@override
String get accessAllTip => t.assetPicker.accessAllTip;
@override
String get goToSystemSettings => t.assetPicker.goToSystemSettings;
@override
String get accessLimitedAssets => t.assetPicker.accessLimitedAssets;
@override
String get accessiblePathName => t.assetPicker.accessiblePathName;
@override
String get sTypeAudioLabel => t.assetPicker.sTypeAudioLabel;
@override
String get sTypeImageLabel => t.assetPicker.sTypeImageLabel;
@override
String get sTypeVideoLabel => t.assetPicker.sTypeVideoLabel;
@override
String get sTypeOtherLabel => t.assetPicker.sTypeOtherLabel;
@override
String get sActionPlayHint => t.assetPicker.sActionPlayHint;
@override
String get sActionPreviewHint => t.assetPicker.sActionPreviewHint;
@override
String get sActionSelectHint => t.assetPicker.sActionSelectHint;
@override
String get sActionSwitchPathLabel => t.assetPicker.sActionSwitchPathLabel;
@override
String get sActionUseCameraHint => t.assetPicker.sActionUseCameraHint;
@override
String get sNameDurationLabel => t.assetPicker.sNameDurationLabel;
@override
String get sUnitAssetCountLabel => t.assetPicker.sUnitAssetCountLabel;
}

View File

@@ -7,6 +7,7 @@ import 'package:localsend_app/gen/strings.g.dart';
import 'package:localsend_app/pages/apk_picker_page.dart';
import 'package:localsend_app/provider/picking_status_provider.dart';
import 'package:localsend_app/provider/selection/selected_sending_files_provider.dart';
import 'package:localsend_app/util/asset_picker_translated_text_delegate.dart';
import 'package:localsend_app/util/platform_check.dart';
import 'package:localsend_app/widget/dialogs/loading_dialog.dart';
import 'package:localsend_app/widget/dialogs/message_input_dialog.dart';
@@ -65,6 +66,7 @@ enum FilePickerOption {
context,
pickerConfig: const AssetPickerConfig(
maxAssets: 999,
textDelegate: TranslatedAssetPickerTextDelegate()
),
);
if (result != null) {