Skip to content

An open-source cross-platform alternative to AirDrop

Asset Picker default Text delegate replaced (#324)

Gabriel Lima63b75f3e5361
diff --git a/assets/i18n/_missing_translations_ar.json b/assets/i18n/_missing_translations_ar.json
index 6eb87a91..90123116 100644
--- a/assets/i18n/_missing_translations_ar.json
+++ b/assets/i18n/_missing_translations_ar.json
@@ -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."
}
}
diff --git a/assets/i18n/_missing_translations_bn.json b/assets/i18n/_missing_translations_bn.json
index aeaa9fc4..08d687e7 100644
--- a/assets/i18n/_missing_translations_bn.json
+++ b/assets/i18n/_missing_translations_bn.json
@@ -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"
}
}
diff --git a/assets/i18n/_missing_translations_cs.json b/assets/i18n/_missing_translations_cs.json
index 265d9795..dafa4202 100644
--- a/assets/i18n/_missing_translations_cs.json
+++ b/assets/i18n/_missing_translations_cs.json
@@ -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"
+ }
}
diff --git a/assets/i18n/_missing_translations_de.json b/assets/i18n/_missing_translations_de.json
index 57e67d58..15d775ce 100644
--- a/assets/i18n/_missing_translations_de.json
+++ b/assets/i18n/_missing_translations_de.json
@@ -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"
+ }
}
diff --git a/assets/i18n/_missing_translations_es_ES.json b/assets/i18n/_missing_translations_es_ES.json
index f6e1ee47..c248aa1a 100644
--- a/assets/i18n/_missing_translations_es_ES.json
+++ b/assets/i18n/_missing_translations_es_ES.json
@@ -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"
+ }
}
diff --git a/assets/i18n/_missing_translations_fr_FR.json b/assets/i18n/_missing_translations_fr_FR.json
index 8a8741f4..80c4b0e1 100644
--- a/assets/i18n/_missing_translations_fr_FR.json
+++ b/assets/i18n/_missing_translations_fr_FR.json
@@ -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"
+ }
+ }
}
diff --git a/assets/i18n/_missing_translations_hu.json b/assets/i18n/_missing_translations_hu.json
index 3c29dccc..8a37a0bd 100644
--- a/assets/i18n/_missing_translations_hu.json
+++ b/assets/i18n/_missing_translations_hu.json
@@ -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"
+ }
}
diff --git a/assets/i18n/_missing_translations_in.json b/assets/i18n/_missing_translations_in.json
index 9fa304bb..71b01eef 100644
--- a/assets/i18n/_missing_translations_in.json
+++ b/assets/i18n/_missing_translations_in.json
@@ -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"
}
}
diff --git a/assets/i18n/_missing_translations_it.json b/assets/i18n/_missing_translations_it.json
index f1942ab7..5a09bafc 100644
--- a/assets/i18n/_missing_translations_it.json
+++ b/assets/i18n/_missing_translations_it.json
@@ -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"
}
}
diff --git a/assets/i18n/_missing_translations_iw.json b/assets/i18n/_missing_translations_iw.json
index 571973ad..ff8562cc 100644
--- a/assets/i18n/_missing_translations_iw.json
+++ b/assets/i18n/_missing_translations_iw.json
@@ -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"
}
}
diff --git a/assets/i18n/_missing_translations_ja.json b/assets/i18n/_missing_translations_ja.json
index 754e70e3..4f1a6be3 100644
--- a/assets/i18n/_missing_translations_ja.json
+++ b/assets/i18n/_missing_translations_ja.json
@@ -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"
+ }
+ }
}
diff --git a/assets/i18n/_missing_translations_ko.json b/assets/i18n/_missing_translations_ko.json
index 82e3046b..57da0c5b 100644
--- a/assets/i18n/_missing_translations_ko.json
+++ b/assets/i18n/_missing_translations_ko.json
@@ -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"
}
}
diff --git a/assets/i18n/_missing_translations_ne.json b/assets/i18n/_missing_translations_ne.json
index 8f699093..0893fb8f 100644
--- a/assets/i18n/_missing_translations_ne.json
+++ b/assets/i18n/_missing_translations_ne.json
@@ -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"
}
}
diff --git a/assets/i18n/_missing_translations_nl.json b/assets/i18n/_missing_translations_nl.json
index 3a1c3e1f..b235ff34 100644
--- a/assets/i18n/_missing_translations_nl.json
+++ b/assets/i18n/_missing_translations_nl.json
@@ -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"
+ }
}
diff --git a/assets/i18n/_missing_translations_pl.json b/assets/i18n/_missing_translations_pl.json
index 6c6156b2..ad70aaf8 100644
--- a/assets/i18n/_missing_translations_pl.json
+++ b/assets/i18n/_missing_translations_pl.json
@@ -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"
}
}
diff --git a/assets/i18n/_missing_translations_sv.json b/assets/i18n/_missing_translations_sv.json
index 3308afc3..d758de3b 100644
--- a/assets/i18n/_missing_translations_sv.json
+++ b/assets/i18n/_missing_translations_sv.json
@@ -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"
}
}
diff --git a/assets/i18n/_missing_translations_tr.json b/assets/i18n/_missing_translations_tr.json
index 086ea2da..7258dffd 100644
--- a/assets/i18n/_missing_translations_tr.json
+++ b/assets/i18n/_missing_translations_tr.json
@@ -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"
}
}
diff --git a/assets/i18n/_missing_translations_uk.json b/assets/i18n/_missing_translations_uk.json
index 78925653..b0c27421 100644
--- a/assets/i18n/_missing_translations_uk.json
+++ b/assets/i18n/_missing_translations_uk.json
@@ -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"
+ }
}
diff --git a/assets/i18n/_missing_translations_zh_Hans.json b/assets/i18n/_missing_translations_zh_Hans.json
index e76443c3..b80918dc 100644
--- a/assets/i18n/_missing_translations_zh_Hans.json
+++ b/assets/i18n/_missing_translations_zh_Hans.json
@@ -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"
+ }
}
diff --git a/assets/i18n/_missing_translations_zh_Hant_HK.json b/assets/i18n/_missing_translations_zh_Hant_HK.json
index be6bf608..e9abb3bc 100644
--- a/assets/i18n/_missing_translations_zh_Hant_HK.json
+++ b/assets/i18n/_missing_translations_zh_Hant_HK.json
@@ -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"
}
}
diff --git a/assets/i18n/_missing_translations_zh_Hant_TW.json b/assets/i18n/_missing_translations_zh_Hant_TW.json
index ba9ae28a..f7f99bf6 100644
--- a/assets/i18n/_missing_translations_zh_Hant_TW.json
+++ b/assets/i18n/_missing_translations_zh_Hant_TW.json
@@ -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"
+ }
}
diff --git a/assets/i18n/strings.i18n.json b/assets/i18n/strings.i18n.json
index 27c1a3d1..a7ba4618 100644
--- a/assets/i18n/strings.i18n.json
+++ b/assets/i18n/strings.i18n.json
@@ -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"
}
}
diff --git a/assets/i18n/strings_ar.i18n.json b/assets/i18n/strings_ar.i18n.json
index 3e573f85..0f39c772 100644
--- a/assets/i18n/strings_ar.i18n.json
+++ b/assets/i18n/strings_ar.i18n.json
@@ -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"
}
}
diff --git a/assets/i18n/strings_de.i18n.json b/assets/i18n/strings_de.i18n.json
index e0573b8e..430e2dd3 100644
--- a/assets/i18n/strings_de.i18n.json
+++ b/assets/i18n/strings_de.i18n.json
@@ -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"
}
}
diff --git a/assets/i18n/strings_fr-FR.i18n.json b/assets/i18n/strings_fr-FR.i18n.json
index ad8610b0..be585dd4 100644
--- a/assets/i18n/strings_fr-FR.i18n.json
+++ b/assets/i18n/strings_fr-FR.i18n.json
@@ -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é"
}
}
diff --git a/assets/i18n/strings_ja.i18n.json b/assets/i18n/strings_ja.i18n.json
index ac8a8de9..812fc281 100644
--- a/assets/i18n/strings_ja.i18n.json
+++ b/assets/i18n/strings_ja.i18n.json
@@ -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": "数"
}
}
diff --git a/assets/i18n/strings_pt-BR.i18n.json b/assets/i18n/strings_pt-BR.i18n.json
index 10a3d001..05e34998 100644
--- a/assets/i18n/strings_pt-BR.i18n.json
+++ b/assets/i18n/strings_pt-BR.i18n.json
@@ -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"
}
}
diff --git a/assets/i18n/strings_ru.i18n.json b/assets/i18n/strings_ru.i18n.json
index 3f3c0eea..888ec5ce 100644
--- a/assets/i18n/strings_ru.i18n.json
+++ b/assets/i18n/strings_ru.i18n.json
@@ -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": "количество"
}
}
diff --git a/lib/util/asset_picker_translated_text_delegate.dart b/lib/util/asset_picker_translated_text_delegate.dart
new file mode 100644
index 00000000..d83a88af
--- /dev/null
+++ b/lib/util/asset_picker_translated_text_delegate.dart
@@ -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;
+}
\ No newline at end of file
diff --git a/lib/util/file_picker.dart b/lib/util/file_picker.dart
index d43f2996..f8d7875b 100644
--- a/lib/util/file_picker.dart
+++ b/lib/util/file_picker.dart
@@ -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) {