Skip to content

An open-source cross-platform alternative to AirDrop

fix: i18n structure

Tien Do Nam572baf82ba96
diff --git a/assets/i18n/_missing_translations_ur.json b/assets/i18n/_missing_translations_ur.json
new file mode 100644
index 00000000..c8562b23
--- /dev/null
+++ b/assets/i18n/_missing_translations_ur.json
@@ -0,0 +1,105 @@
+{
+ "@@info": [
+ "Here are translations that exist in <en> but not in <ur>.",
+ "After editing this file, you can run 'flutter pub run slang apply --locale=ur' to quickly apply the newly added translations."
+ ],
+ "apkPickerPage": {
+ "title": "Apps (APK)",
+ "excludeSystemApps": "Exclude system apps",
+ "excludeAppsWithoutLaunchIntent": "Exclude non-launchable apps",
+ "apps": "{n} Apps"
+ },
+ "receiveOptionsPage": {
+ "saveToGallery": "@:settingsTab.receive.saveToGallery",
+ "saveToGalleryOff": "Turned off automatically because there are directories."
+ },
+ "webSharePage": {
+ "title": "Share via link",
+ "loading": "Starting server...",
+ "stopping": "Stopping server...",
+ "error": "An error occurred while starting the server.",
+ "hint": "Keep in mind that the connection is unencrypted. You should only use this method if the recipient has not LocalSend installed.",
+ "openLink": {
+ "one": "Open this link in the browser:",
+ "other": "Open one of these links in the browser:"
+ },
+ "requests": "Requests",
+ "noRequests": "No requests yet.",
+ "pendingRequests": "Pending requests: {n}"
+ },
+ "dialogs": {
+ "addressInput": {
+ "recentlyUsed": "Recently used: "
+ },
+ "cannotOpenFile": {
+ "title": "Cannot open file",
+ "content": "Could not open \"{file}\". Has this file been moved, renamed or deleted?"
+ },
+ "errorDialog": {
+ "title": "@:general.error"
+ },
+ "fileInfo": {
+ "title": "File information",
+ "fileName": "File name:",
+ "path": "Path:",
+ "size": "Size:",
+ "sender": "Sender:",
+ "time": "Time:"
+ },
+ "localNetworkUnauthorized": {
+ "title": "No permission",
+ "description": "LocalSend can't find other devices without having the permission to scan the local network. Please grant this permission in the settings.",
+ "gotoSettings": "Settings"
+ },
+ "notAvailableOnPlatform": {
+ "title": "Not available",
+ "content": "This feature is only available on:"
+ },
+ "qr": {
+ "title": "QR Code"
+ },
+ "sendModeHelp": {
+ "title": "Send modes",
+ "single": "Sends files to one recipient. Selection will be cleared after finished file transfer.",
+ "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."
+ }
+ },
+ "web": {
+ "waiting": "@:sendPage.waiting",
+ "rejected": "Rejected",
+ "files": "Files",
+ "fileName": "File name",
+ "size": "Size"
+ },
+ "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/_unused_translations.json b/assets/i18n/_unused_translations.json
index ca6f601d..07e970ea 100644
--- a/assets/i18n/_unused_translations.json
+++ b/assets/i18n/_unused_translations.json
@@ -34,6 +34,7 @@
"sv": {},
"tr": {},
"uk": {},
+ "ur": {},
"zh-Hans": {},
"zh-Hant-HK": {},
"zh-Hant-TW": {}
diff --git a/assets/i18n/strings_ur.i18n.json b/assets/i18n/strings_ur.i18n.json
index a37d5c21..d0511a4e 100644
--- a/assets/i18n/strings_ur.i18n.json
+++ b/assets/i18n/strings_ur.i18n.json
@@ -182,7 +182,7 @@
"changelogPage": {
"title": "چینج لاگ"
},
- "aliasGenerator": {
+ "aliasGenerator(ignoreMissing)": {
"@info": "Inherits from the English version"
},
"dialogs": {
@@ -205,7 +205,7 @@
},
"fileNameInput": {
"title": "فائل کا نام درج کریں۔",
- "original": "فائل کا نام درج کرنا"
+ "original": "اصل: {original}"
},
"messageInput": {
"title": "پیغام ٹائپ کریں۔",
@@ -226,11 +226,11 @@
"quickSaveNotice": {
"title": "@:general.quickSave",
"content": "فائل کی درخواستیں خود بخود قبول ہو جاتی ہیں۔ آگاہ رہیں کہ مقامی نیٹ ورک میں موجود ہر کوئی آپ کو فائلیں بھیج سکتا ہے۔"
- },
+ }
+ },
"tray": {
"@info": "ایپل کے رہنما خطوط 'قریبی' الفاظ کے بارے میں بہت سخت ہیں۔",
"open": "@:general.open",
"close": "چھوڑو LocalSend"
}
}
-}