Skip to content

An open-source cross-platform alternative to AirDrop

chore: split missing translations

Tien Do Nam7ed1b204a1c3
diff --git a/README.md b/README.md
index 1ab24799..20951a72 100644
--- a/README.md
+++ b/README.md
@@ -47,17 +47,16 @@ flutter run
You can help translating this app to other languages!
-1. Preparation (Choose one)
- - Add missing translations in existing languages: [assets/i18n/_missing_translations.json](https://github.com/localsend/localsend/blob/main/assets/i18n/_missing_translations.json)
- - Fix existing translations in [assets/i18n](https://github.com/localsend/localsend/tree/main/assets/i18n)
- - Add new languages: [locale codes](https://saimana.com/list-of-country-locale-code/).
-2. Fork this repository
-3. Create or update the translation file in [assets/i18n](https://github.com/localsend/localsend/tree/main/assets/i18n) (format: `strings_XXX.i18n.json`)
-4. Optional: Re-run this app
+1. Fork this repository
+2. Choose one
+ - Add missing translations in existing languages: Only update `_missing_translations_<locale>.json` in [assets/i18n](https://github.com/localsend/localsend/tree/main/assets/i18n)
+ - Fix existing translations: Update `strings_<locale>.i18n.json` in [assets/i18n](https://github.com/localsend/localsend/tree/main/assets/i18n)
+ - Add new languages: Create a new file, see also: [locale codes](https://saimana.com/list-of-country-locale-code/).
+3. Optional: Re-run this app
1. Make sure you have [run](#run) this app once.
2. Update translations via `flutter pub run slang`
3. Run app via `flutter run`
-5. Open a pull request
+4. Open a pull request
**Important:** Do not translate keys starting with `@`. These are comments and should stay in English!
diff --git a/assets/i18n/_missing_translations.json b/assets/i18n/_missing_translations.json
deleted file mode 100644
index 9cadccf4..00000000
--- a/assets/i18n/_missing_translations.json
+++ /dev/null
@@ -1,580 +0,0 @@
-{
- "@@info": [
- "Here are translations that exist in <en> but not in secondary locales.",
- "After editing this file, you can run 'flutter pub run slang apply --locale=<locale>' to quickly apply the newly added translations."
- ],
- "ar": {
- "settingsTab": {
- "network": {
- "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
- "encryption": "Encryption",
- "multicastGroup": "Multicast",
- "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
- }
- },
- "receiveHistoryPage": {
- "title": "History",
- "empty": "The history is empty.",
- "entryActions": {
- "open": "Open file",
- "info": "Information",
- "deleteFromHistory": "Delete from history"
- }
- },
- "sendPage": {
- "busy": "The recipient is busy with another request."
- },
- "dialogs": {
- "addressInput": {
- "recentlyUsed": "Recently used: "
- },
- "cannotOpenFile": {
- "title": "Cannot open file",
- "content": "Could not open \"{file}\". Has this file been moved, renamed or deleted?"
- },
- "encryptionDisabledNotice": {
- "title": "Encryption disabled",
- "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
- },
- "errorDialog": {
- "title": "@:general.error"
- },
- "fileInfo": {
- "title": "File information",
- "fileName": "File name:",
- "path": "Path:",
- "size": "Size:",
- "sender": "Sender:",
- "time": "Time:"
- }
- }
- },
- "de": {},
- "es-ES": {
- "settingsTab": {
- "network": {
- "multicastGroup": "Multicast",
- "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
- }
- },
- "sendPage": {
- "busy": "The recipient is busy with another request."
- },
- "dialogs": {
- "errorDialog": {
- "title": "@:general.error"
- }
- }
- },
- "fr-FR": {
- "settingsTab": {
- "network": {
- "multicastGroup": "Multicast",
- "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
- }
- },
- "sendPage": {
- "busy": "The recipient is busy with another request."
- },
- "dialogs": {
- "errorDialog": {
- "title": "@:general.error"
- }
- }
- },
- "hu": {},
- "in": {
- "settingsTab": {
- "network": {
- "multicastGroup": "Multicast",
- "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
- }
- },
- "receiveHistoryPage": {
- "title": "History",
- "empty": "The history is empty.",
- "entryActions": {
- "open": "Open file",
- "info": "Information",
- "deleteFromHistory": "Delete from history"
- }
- },
- "sendPage": {
- "busy": "The recipient is busy with another request."
- },
- "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:"
- }
- }
- },
- "it": {
- "settingsTab": {
- "network": {
- "multicastGroup": "Multicast",
- "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
- }
- },
- "receiveHistoryPage": {
- "title": "History",
- "empty": "The history is empty.",
- "entryActions": {
- "open": "Open file",
- "info": "Information",
- "deleteFromHistory": "Delete from history"
- }
- },
- "sendPage": {
- "busy": "The recipient is busy with another request."
- },
- "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:"
- }
- }
- },
- "iw": {
- "settingsTab": {
- "network": {
- "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
- "encryption": "Encryption",
- "multicastGroup": "Multicast",
- "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
- }
- },
- "receiveHistoryPage": {
- "title": "History",
- "empty": "The history is empty.",
- "entryActions": {
- "open": "Open file",
- "info": "Information",
- "deleteFromHistory": "Delete from history"
- }
- },
- "sendPage": {
- "busy": "The recipient is busy with another request."
- },
- "dialogs": {
- "addressInput": {
- "recentlyUsed": "Recently used: "
- },
- "cannotOpenFile": {
- "title": "Cannot open file",
- "content": "Could not open \"{file}\". Has this file been moved, renamed or deleted?"
- },
- "encryptionDisabledNotice": {
- "title": "Encryption disabled",
- "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
- },
- "errorDialog": {
- "title": "@:general.error"
- },
- "fileInfo": {
- "title": "File information",
- "fileName": "File name:",
- "path": "Path:",
- "size": "Size:",
- "sender": "Sender:",
- "time": "Time:"
- }
- }
- },
- "ja": {
- "settingsTab": {
- "network": {
- "multicastGroup": "Multicast",
- "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
- }
- },
- "sendPage": {
- "busy": "The recipient is busy with another request."
- },
- "dialogs": {
- "errorDialog": {
- "title": "@:general.error"
- }
- }
- },
- "ko": {
- "settingsTab": {
- "network": {
- "multicastGroup": "Multicast",
- "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
- }
- },
- "receiveHistoryPage": {
- "title": "History",
- "empty": "The history is empty.",
- "entryActions": {
- "open": "Open file",
- "info": "Information",
- "deleteFromHistory": "Delete from history"
- }
- },
- "sendPage": {
- "busy": "The recipient is busy with another request."
- },
- "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:"
- }
- }
- },
- "ne": {
- "settingsTab": {
- "network": {
- "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
- "encryption": "Encryption",
- "multicastGroup": "Multicast",
- "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
- }
- },
- "receiveHistoryPage": {
- "title": "History",
- "empty": "The history is empty.",
- "entryActions": {
- "open": "Open file",
- "info": "Information",
- "deleteFromHistory": "Delete from history"
- }
- },
- "sendPage": {
- "busy": "The recipient is busy with another request."
- },
- "dialogs": {
- "addressInput": {
- "recentlyUsed": "Recently used: "
- },
- "cannotOpenFile": {
- "title": "Cannot open file",
- "content": "Could not open \"{file}\". Has this file been moved, renamed or deleted?"
- },
- "encryptionDisabledNotice": {
- "title": "Encryption disabled",
- "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
- },
- "errorDialog": {
- "title": "@:general.error"
- },
- "fileInfo": {
- "title": "File information",
- "fileName": "File name:",
- "path": "Path:",
- "size": "Size:",
- "sender": "Sender:",
- "time": "Time:"
- }
- }
- },
- "pl": {
- "settingsTab": {
- "network": {
- "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
- "encryption": "Encryption",
- "multicastGroup": "Multicast",
- "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
- }
- },
- "receiveHistoryPage": {
- "title": "History",
- "empty": "The history is empty.",
- "entryActions": {
- "open": "Open file",
- "info": "Information",
- "deleteFromHistory": "Delete from history"
- }
- },
- "sendPage": {
- "busy": "The recipient is busy with another request."
- },
- "dialogs": {
- "addressInput": {
- "recentlyUsed": "Recently used: "
- },
- "cannotOpenFile": {
- "title": "Cannot open file",
- "content": "Could not open \"{file}\". Has this file been moved, renamed or deleted?"
- },
- "encryptionDisabledNotice": {
- "title": "Encryption disabled",
- "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
- },
- "errorDialog": {
- "title": "@:general.error"
- },
- "fileInfo": {
- "title": "File information",
- "fileName": "File name:",
- "path": "Path:",
- "size": "Size:",
- "sender": "Sender:",
- "time": "Time:"
- }
- }
- },
- "pt-BR": {
- "settingsTab": {
- "network": {
- "multicastGroup": "Multicast",
- "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
- }
- },
- "sendPage": {
- "busy": "The recipient is busy with another request."
- },
- "dialogs": {
- "addressInput": {
- "recentlyUsed": "Recently used: "
- },
- "errorDialog": {
- "title": "@:general.error"
- },
- "fileInfo": {
- "title": "File information",
- "fileName": "File name:",
- "path": "Path:",
- "size": "Size:",
- "sender": "Sender:",
- "time": "Time:"
- }
- }
- },
- "ru": {
- "settingsTab": {
- "network": {
- "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
- "encryption": "Encryption",
- "multicastGroup": "Multicast",
- "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
- }
- },
- "receiveHistoryPage": {
- "title": "History",
- "empty": "The history is empty.",
- "entryActions": {
- "open": "Open file",
- "info": "Information",
- "deleteFromHistory": "Delete from history"
- }
- },
- "sendPage": {
- "busy": "The recipient is busy with another request."
- },
- "dialogs": {
- "addressInput": {
- "recentlyUsed": "Recently used: "
- },
- "cannotOpenFile": {
- "title": "Cannot open file",
- "content": "Could not open \"{file}\". Has this file been moved, renamed or deleted?"
- },
- "encryptionDisabledNotice": {
- "title": "Encryption disabled",
- "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
- },
- "errorDialog": {
- "title": "@:general.error"
- },
- "fileInfo": {
- "title": "File information",
- "fileName": "File name:",
- "path": "Path:",
- "size": "Size:",
- "sender": "Sender:",
- "time": "Time:"
- }
- }
- },
- "sv": {
- "settingsTab": {
- "network": {
- "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
- "encryption": "Encryption",
- "multicastGroup": "Multicast",
- "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
- }
- },
- "receiveHistoryPage": {
- "title": "History",
- "empty": "The history is empty.",
- "entryActions": {
- "open": "Open file",
- "info": "Information",
- "deleteFromHistory": "Delete from history"
- }
- },
- "sendPage": {
- "busy": "The recipient is busy with another request."
- },
- "dialogs": {
- "addressInput": {
- "recentlyUsed": "Recently used: "
- },
- "cannotOpenFile": {
- "title": "Cannot open file",
- "content": "Could not open \"{file}\". Has this file been moved, renamed or deleted?"
- },
- "encryptionDisabledNotice": {
- "title": "Encryption disabled",
- "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
- },
- "errorDialog": {
- "title": "@:general.error"
- },
- "fileInfo": {
- "title": "File information",
- "fileName": "File name:",
- "path": "Path:",
- "size": "Size:",
- "sender": "Sender:",
- "time": "Time:"
- }
- }
- },
- "tr": {
- "settingsTab": {
- "network": {
- "multicastGroup": "Multicast",
- "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
- }
- }
- },
- "zh-Hans": {},
- "zh-Hant-HK": {
- "settingsTab": {
- "network": {
- "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
- "encryption": "Encryption",
- "multicastGroup": "Multicast",
- "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
- }
- },
- "receiveHistoryPage": {
- "title": "History",
- "empty": "The history is empty.",
- "entryActions": {
- "open": "Open file",
- "info": "Information",
- "deleteFromHistory": "Delete from history"
- }
- },
- "sendPage": {
- "busy": "The recipient is busy with another request."
- },
- "dialogs": {
- "addressInput": {
- "recentlyUsed": "Recently used: "
- },
- "cannotOpenFile": {
- "title": "Cannot open file",
- "content": "Could not open \"{file}\". Has this file been moved, renamed or deleted?"
- },
- "encryptionDisabledNotice": {
- "title": "Encryption disabled",
- "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
- },
- "errorDialog": {
- "title": "@:general.error"
- },
- "fileInfo": {
- "title": "File information",
- "fileName": "File name:",
- "path": "Path:",
- "size": "Size:",
- "sender": "Sender:",
- "time": "Time:"
- }
- }
- },
- "zh-Hant-TW": {
- "settingsTab": {
- "network": {
- "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
- "encryption": "Encryption",
- "multicastGroup": "Multicast",
- "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
- }
- },
- "receiveHistoryPage": {
- "title": "History",
- "empty": "The history is empty.",
- "entryActions": {
- "open": "Open file",
- "info": "Information",
- "deleteFromHistory": "Delete from history"
- }
- },
- "sendPage": {
- "busy": "The recipient is busy with another request."
- },
- "dialogs": {
- "addressInput": {
- "recentlyUsed": "Recently used: "
- },
- "cannotOpenFile": {
- "title": "Cannot open file",
- "content": "Could not open \"{file}\". Has this file been moved, renamed or deleted?"
- },
- "encryptionDisabledNotice": {
- "title": "Encryption disabled",
- "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
- },
- "errorDialog": {
- "title": "@:general.error"
- },
- "fileInfo": {
- "title": "File information",
- "fileName": "File name:",
- "path": "Path:",
- "size": "Size:",
- "sender": "Sender:",
- "time": "Time:"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/assets/i18n/_missing_translations_ar.json b/assets/i18n/_missing_translations_ar.json
new file mode 100644
index 00000000..dbc9febb
--- /dev/null
+++ b/assets/i18n/_missing_translations_ar.json
@@ -0,0 +1,50 @@
+{
+ "@@info": [
+ "Here are translations that exist in <en> but not in <ar>.",
+ "After editing this file, you can run 'flutter pub run slang apply --locale=ar' to quickly apply the newly added translations."
+ ],
+ "settingsTab": {
+ "network": {
+ "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
+ "encryption": "Encryption",
+ "multicastGroup": "Multicast",
+ "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
+ }
+ },
+ "receiveHistoryPage": {
+ "title": "History",
+ "empty": "The history is empty.",
+ "entryActions": {
+ "open": "Open file",
+ "info": "Information",
+ "deleteFromHistory": "Delete from history"
+ }
+ },
+ "sendPage": {
+ "busy": "The recipient is busy with another request."
+ },
+ "dialogs": {
+ "addressInput": {
+ "recentlyUsed": "Recently used: "
+ },
+ "cannotOpenFile": {
+ "title": "Cannot open file",
+ "content": "Could not open \"{file}\". Has this file been moved, renamed or deleted?"
+ },
+ "encryptionDisabledNotice": {
+ "title": "Encryption disabled",
+ "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
+ },
+ "errorDialog": {
+ "title": "@:general.error"
+ },
+ "fileInfo": {
+ "title": "File information",
+ "fileName": "File name:",
+ "path": "Path:",
+ "size": "Size:",
+ "sender": "Sender:",
+ "time": "Time:"
+ }
+ }
+}
\ No newline at end of file
diff --git a/assets/i18n/_missing_translations_de.json b/assets/i18n/_missing_translations_de.json
new file mode 100644
index 00000000..a383fc3c
--- /dev/null
+++ b/assets/i18n/_missing_translations_de.json
@@ -0,0 +1,7 @@
+{
+ "@@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! :)"
+ ]
+}
\ No newline at end of file
diff --git a/assets/i18n/_missing_translations_es_ES.json b/assets/i18n/_missing_translations_es_ES.json
new file mode 100644
index 00000000..f35b4802
--- /dev/null
+++ b/assets/i18n/_missing_translations_es_ES.json
@@ -0,0 +1,20 @@
+{
+ "@@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."
+ ],
+ "settingsTab": {
+ "network": {
+ "multicastGroup": "Multicast",
+ "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
+ }
+ },
+ "sendPage": {
+ "busy": "The recipient is busy with another request."
+ },
+ "dialogs": {
+ "errorDialog": {
+ "title": "@:general.error"
+ }
+ }
+}
\ No newline at end of file
diff --git a/assets/i18n/_missing_translations_fr_FR.json b/assets/i18n/_missing_translations_fr_FR.json
new file mode 100644
index 00000000..a2ee2b27
--- /dev/null
+++ b/assets/i18n/_missing_translations_fr_FR.json
@@ -0,0 +1,20 @@
+{
+ "@@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."
+ ],
+ "settingsTab": {
+ "network": {
+ "multicastGroup": "Multicast",
+ "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
+ }
+ },
+ "sendPage": {
+ "busy": "The recipient is busy with another request."
+ },
+ "dialogs": {
+ "errorDialog": {
+ "title": "@:general.error"
+ }
+ }
+}
\ No newline at end of file
diff --git a/assets/i18n/_missing_translations_hu.json b/assets/i18n/_missing_translations_hu.json
new file mode 100644
index 00000000..4d914f1b
--- /dev/null
+++ b/assets/i18n/_missing_translations_hu.json
@@ -0,0 +1,7 @@
+{
+ "@@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! :)"
+ ]
+}
\ No newline at end of file
diff --git a/assets/i18n/_missing_translations_in.json b/assets/i18n/_missing_translations_in.json
new file mode 100644
index 00000000..77e3d4ec
--- /dev/null
+++ b/assets/i18n/_missing_translations_in.json
@@ -0,0 +1,44 @@
+{
+ "@@info": [
+ "Here are translations that exist in <en> but not in <in>.",
+ "After editing this file, you can run 'flutter pub run slang apply --locale=in' to quickly apply the newly added translations."
+ ],
+ "settingsTab": {
+ "network": {
+ "multicastGroup": "Multicast",
+ "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
+ }
+ },
+ "receiveHistoryPage": {
+ "title": "History",
+ "empty": "The history is empty.",
+ "entryActions": {
+ "open": "Open file",
+ "info": "Information",
+ "deleteFromHistory": "Delete from history"
+ }
+ },
+ "sendPage": {
+ "busy": "The recipient is busy with another request."
+ },
+ "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:"
+ }
+ }
+}
\ No newline at end of file
diff --git a/assets/i18n/_missing_translations_it.json b/assets/i18n/_missing_translations_it.json
new file mode 100644
index 00000000..9cda8fc2
--- /dev/null
+++ b/assets/i18n/_missing_translations_it.json
@@ -0,0 +1,44 @@
+{
+ "@@info": [
+ "Here are translations that exist in <en> but not in <it>.",
+ "After editing this file, you can run 'flutter pub run slang apply --locale=it' to quickly apply the newly added translations."
+ ],
+ "settingsTab": {
+ "network": {
+ "multicastGroup": "Multicast",
+ "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
+ }
+ },
+ "receiveHistoryPage": {
+ "title": "History",
+ "empty": "The history is empty.",
+ "entryActions": {
+ "open": "Open file",
+ "info": "Information",
+ "deleteFromHistory": "Delete from history"
+ }
+ },
+ "sendPage": {
+ "busy": "The recipient is busy with another request."
+ },
+ "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:"
+ }
+ }
+}
\ No newline at end of file
diff --git a/assets/i18n/_missing_translations_iw.json b/assets/i18n/_missing_translations_iw.json
new file mode 100644
index 00000000..33c5a655
--- /dev/null
+++ b/assets/i18n/_missing_translations_iw.json
@@ -0,0 +1,50 @@
+{
+ "@@info": [
+ "Here are translations that exist in <en> but not in <iw>.",
+ "After editing this file, you can run 'flutter pub run slang apply --locale=iw' to quickly apply the newly added translations."
+ ],
+ "settingsTab": {
+ "network": {
+ "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
+ "encryption": "Encryption",
+ "multicastGroup": "Multicast",
+ "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
+ }
+ },
+ "receiveHistoryPage": {
+ "title": "History",
+ "empty": "The history is empty.",
+ "entryActions": {
+ "open": "Open file",
+ "info": "Information",
+ "deleteFromHistory": "Delete from history"
+ }
+ },
+ "sendPage": {
+ "busy": "The recipient is busy with another request."
+ },
+ "dialogs": {
+ "addressInput": {
+ "recentlyUsed": "Recently used: "
+ },
+ "cannotOpenFile": {
+ "title": "Cannot open file",
+ "content": "Could not open \"{file}\". Has this file been moved, renamed or deleted?"
+ },
+ "encryptionDisabledNotice": {
+ "title": "Encryption disabled",
+ "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
+ },
+ "errorDialog": {
+ "title": "@:general.error"
+ },
+ "fileInfo": {
+ "title": "File information",
+ "fileName": "File name:",
+ "path": "Path:",
+ "size": "Size:",
+ "sender": "Sender:",
+ "time": "Time:"
+ }
+ }
+}
\ No newline at end of file
diff --git a/assets/i18n/_missing_translations_ja.json b/assets/i18n/_missing_translations_ja.json
new file mode 100644
index 00000000..7ee9a2f8
--- /dev/null
+++ b/assets/i18n/_missing_translations_ja.json
@@ -0,0 +1,20 @@
+{
+ "@@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."
+ ],
+ "settingsTab": {
+ "network": {
+ "multicastGroup": "Multicast",
+ "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
+ }
+ },
+ "sendPage": {
+ "busy": "The recipient is busy with another request."
+ },
+ "dialogs": {
+ "errorDialog": {
+ "title": "@:general.error"
+ }
+ }
+}
\ No newline at end of file
diff --git a/assets/i18n/_missing_translations_ko.json b/assets/i18n/_missing_translations_ko.json
new file mode 100644
index 00000000..e2986515
--- /dev/null
+++ b/assets/i18n/_missing_translations_ko.json
@@ -0,0 +1,44 @@
+{
+ "@@info": [
+ "Here are translations that exist in <en> but not in <ko>.",
+ "After editing this file, you can run 'flutter pub run slang apply --locale=ko' to quickly apply the newly added translations."
+ ],
+ "settingsTab": {
+ "network": {
+ "multicastGroup": "Multicast",
+ "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
+ }
+ },
+ "receiveHistoryPage": {
+ "title": "History",
+ "empty": "The history is empty.",
+ "entryActions": {
+ "open": "Open file",
+ "info": "Information",
+ "deleteFromHistory": "Delete from history"
+ }
+ },
+ "sendPage": {
+ "busy": "The recipient is busy with another request."
+ },
+ "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:"
+ }
+ }
+}
\ No newline at end of file
diff --git a/assets/i18n/_missing_translations_ne.json b/assets/i18n/_missing_translations_ne.json
new file mode 100644
index 00000000..0d2b7fc8
--- /dev/null
+++ b/assets/i18n/_missing_translations_ne.json
@@ -0,0 +1,50 @@
+{
+ "@@info": [
+ "Here are translations that exist in <en> but not in <ne>.",
+ "After editing this file, you can run 'flutter pub run slang apply --locale=ne' to quickly apply the newly added translations."
+ ],
+ "settingsTab": {
+ "network": {
+ "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
+ "encryption": "Encryption",
+ "multicastGroup": "Multicast",
+ "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
+ }
+ },
+ "receiveHistoryPage": {
+ "title": "History",
+ "empty": "The history is empty.",
+ "entryActions": {
+ "open": "Open file",
+ "info": "Information",
+ "deleteFromHistory": "Delete from history"
+ }
+ },
+ "sendPage": {
+ "busy": "The recipient is busy with another request."
+ },
+ "dialogs": {
+ "addressInput": {
+ "recentlyUsed": "Recently used: "
+ },
+ "cannotOpenFile": {
+ "title": "Cannot open file",
+ "content": "Could not open \"{file}\". Has this file been moved, renamed or deleted?"
+ },
+ "encryptionDisabledNotice": {
+ "title": "Encryption disabled",
+ "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
+ },
+ "errorDialog": {
+ "title": "@:general.error"
+ },
+ "fileInfo": {
+ "title": "File information",
+ "fileName": "File name:",
+ "path": "Path:",
+ "size": "Size:",
+ "sender": "Sender:",
+ "time": "Time:"
+ }
+ }
+}
\ No newline at end of file
diff --git a/assets/i18n/_missing_translations_pl.json b/assets/i18n/_missing_translations_pl.json
new file mode 100644
index 00000000..f462db3d
--- /dev/null
+++ b/assets/i18n/_missing_translations_pl.json
@@ -0,0 +1,50 @@
+{
+ "@@info": [
+ "Here are translations that exist in <en> but not in <pl>.",
+ "After editing this file, you can run 'flutter pub run slang apply --locale=pl' to quickly apply the newly added translations."
+ ],
+ "settingsTab": {
+ "network": {
+ "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
+ "encryption": "Encryption",
+ "multicastGroup": "Multicast",
+ "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
+ }
+ },
+ "receiveHistoryPage": {
+ "title": "History",
+ "empty": "The history is empty.",
+ "entryActions": {
+ "open": "Open file",
+ "info": "Information",
+ "deleteFromHistory": "Delete from history"
+ }
+ },
+ "sendPage": {
+ "busy": "The recipient is busy with another request."
+ },
+ "dialogs": {
+ "addressInput": {
+ "recentlyUsed": "Recently used: "
+ },
+ "cannotOpenFile": {
+ "title": "Cannot open file",
+ "content": "Could not open \"{file}\". Has this file been moved, renamed or deleted?"
+ },
+ "encryptionDisabledNotice": {
+ "title": "Encryption disabled",
+ "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
+ },
+ "errorDialog": {
+ "title": "@:general.error"
+ },
+ "fileInfo": {
+ "title": "File information",
+ "fileName": "File name:",
+ "path": "Path:",
+ "size": "Size:",
+ "sender": "Sender:",
+ "time": "Time:"
+ }
+ }
+}
\ No newline at end of file
diff --git a/assets/i18n/_missing_translations_pt_BR.json b/assets/i18n/_missing_translations_pt_BR.json
new file mode 100644
index 00000000..68874fe7
--- /dev/null
+++ b/assets/i18n/_missing_translations_pt_BR.json
@@ -0,0 +1,31 @@
+{
+ "@@info": [
+ "Here are translations that exist in <en> but not in <pt-BR>.",
+ "After editing this file, you can run 'flutter pub run slang apply --locale=pt-BR' to quickly apply the newly added translations."
+ ],
+ "settingsTab": {
+ "network": {
+ "multicastGroup": "Multicast",
+ "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
+ }
+ },
+ "sendPage": {
+ "busy": "The recipient is busy with another request."
+ },
+ "dialogs": {
+ "addressInput": {
+ "recentlyUsed": "Recently used: "
+ },
+ "errorDialog": {
+ "title": "@:general.error"
+ },
+ "fileInfo": {
+ "title": "File information",
+ "fileName": "File name:",
+ "path": "Path:",
+ "size": "Size:",
+ "sender": "Sender:",
+ "time": "Time:"
+ }
+ }
+}
\ No newline at end of file
diff --git a/assets/i18n/_missing_translations_ru.json b/assets/i18n/_missing_translations_ru.json
new file mode 100644
index 00000000..829989b8
--- /dev/null
+++ b/assets/i18n/_missing_translations_ru.json
@@ -0,0 +1,50 @@
+{
+ "@@info": [
+ "Here are translations that exist in <en> but not in <ru>.",
+ "After editing this file, you can run 'flutter pub run slang apply --locale=ru' to quickly apply the newly added translations."
+ ],
+ "settingsTab": {
+ "network": {
+ "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
+ "encryption": "Encryption",
+ "multicastGroup": "Multicast",
+ "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
+ }
+ },
+ "receiveHistoryPage": {
+ "title": "History",
+ "empty": "The history is empty.",
+ "entryActions": {
+ "open": "Open file",
+ "info": "Information",
+ "deleteFromHistory": "Delete from history"
+ }
+ },
+ "sendPage": {
+ "busy": "The recipient is busy with another request."
+ },
+ "dialogs": {
+ "addressInput": {
+ "recentlyUsed": "Recently used: "
+ },
+ "cannotOpenFile": {
+ "title": "Cannot open file",
+ "content": "Could not open \"{file}\". Has this file been moved, renamed or deleted?"
+ },
+ "encryptionDisabledNotice": {
+ "title": "Encryption disabled",
+ "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
+ },
+ "errorDialog": {
+ "title": "@:general.error"
+ },
+ "fileInfo": {
+ "title": "File information",
+ "fileName": "File name:",
+ "path": "Path:",
+ "size": "Size:",
+ "sender": "Sender:",
+ "time": "Time:"
+ }
+ }
+}
\ No newline at end of file
diff --git a/assets/i18n/_missing_translations_sv.json b/assets/i18n/_missing_translations_sv.json
new file mode 100644
index 00000000..4f0874f7
--- /dev/null
+++ b/assets/i18n/_missing_translations_sv.json
@@ -0,0 +1,50 @@
+{
+ "@@info": [
+ "Here are translations that exist in <en> but not in <sv>.",
+ "After editing this file, you can run 'flutter pub run slang apply --locale=sv' to quickly apply the newly added translations."
+ ],
+ "settingsTab": {
+ "network": {
+ "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
+ "encryption": "Encryption",
+ "multicastGroup": "Multicast",
+ "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
+ }
+ },
+ "receiveHistoryPage": {
+ "title": "History",
+ "empty": "The history is empty.",
+ "entryActions": {
+ "open": "Open file",
+ "info": "Information",
+ "deleteFromHistory": "Delete from history"
+ }
+ },
+ "sendPage": {
+ "busy": "The recipient is busy with another request."
+ },
+ "dialogs": {
+ "addressInput": {
+ "recentlyUsed": "Recently used: "
+ },
+ "cannotOpenFile": {
+ "title": "Cannot open file",
+ "content": "Could not open \"{file}\". Has this file been moved, renamed or deleted?"
+ },
+ "encryptionDisabledNotice": {
+ "title": "Encryption disabled",
+ "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
+ },
+ "errorDialog": {
+ "title": "@:general.error"
+ },
+ "fileInfo": {
+ "title": "File information",
+ "fileName": "File name:",
+ "path": "Path:",
+ "size": "Size:",
+ "sender": "Sender:",
+ "time": "Time:"
+ }
+ }
+}
\ No newline at end of file
diff --git a/assets/i18n/_missing_translations_tr.json b/assets/i18n/_missing_translations_tr.json
new file mode 100644
index 00000000..93a17d83
--- /dev/null
+++ b/assets/i18n/_missing_translations_tr.json
@@ -0,0 +1,12 @@
+{
+ "@@info": [
+ "Here are translations that exist in <en> but not in <tr>.",
+ "After editing this file, you can run 'flutter pub run slang apply --locale=tr' to quickly apply the newly added translations."
+ ],
+ "settingsTab": {
+ "network": {
+ "multicastGroup": "Multicast",
+ "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
+ }
+ }
+}
\ No newline at end of file
diff --git a/assets/i18n/_missing_translations_zh_Hans.json b/assets/i18n/_missing_translations_zh_Hans.json
new file mode 100644
index 00000000..6b564530
--- /dev/null
+++ b/assets/i18n/_missing_translations_zh_Hans.json
@@ -0,0 +1,7 @@
+{
+ "@@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! :)"
+ ]
+}
\ No newline at end of file
diff --git a/assets/i18n/_missing_translations_zh_Hant_HK.json b/assets/i18n/_missing_translations_zh_Hant_HK.json
new file mode 100644
index 00000000..61a105d4
--- /dev/null
+++ b/assets/i18n/_missing_translations_zh_Hant_HK.json
@@ -0,0 +1,12 @@
+{
+ "@@info": [
+ "Here are translations that exist in <en> but not in <zh-Hant-HK>.",
+ "After editing this file, you can run 'flutter pub run slang apply --locale=zh-Hant-HK' to quickly apply the newly added translations."
+ ],
+ "dialogs": {
+ "cannotOpenFile": {
+ "title": "Cannot open file",
+ "content": "Could not open \"{file}\". Has this file been moved, renamed or deleted?"
+ }
+ }
+}
\ No newline at end of file
diff --git a/assets/i18n/_missing_translations_zh_Hant_TW.json b/assets/i18n/_missing_translations_zh_Hant_TW.json
new file mode 100644
index 00000000..76482de1
--- /dev/null
+++ b/assets/i18n/_missing_translations_zh_Hant_TW.json
@@ -0,0 +1,50 @@
+{
+ "@@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."
+ ],
+ "settingsTab": {
+ "network": {
+ "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
+ "encryption": "Encryption",
+ "multicastGroup": "Multicast",
+ "multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
+ }
+ },
+ "receiveHistoryPage": {
+ "title": "History",
+ "empty": "The history is empty.",
+ "entryActions": {
+ "open": "Open file",
+ "info": "Information",
+ "deleteFromHistory": "Delete from history"
+ }
+ },
+ "sendPage": {
+ "busy": "The recipient is busy with another request."
+ },
+ "dialogs": {
+ "addressInput": {
+ "recentlyUsed": "Recently used: "
+ },
+ "cannotOpenFile": {
+ "title": "Cannot open file",
+ "content": "Could not open \"{file}\". Has this file been moved, renamed or deleted?"
+ },
+ "encryptionDisabledNotice": {
+ "title": "Encryption disabled",
+ "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
+ },
+ "errorDialog": {
+ "title": "@:general.error"
+ },
+ "fileInfo": {
+ "title": "File information",
+ "fileName": "File name:",
+ "path": "Path:",
+ "size": "Size:",
+ "sender": "Sender:",
+ "time": "Time:"
+ }
+ }
+}
\ No newline at end of file
diff --git a/pubspec.lock b/pubspec.lock
index 40ec2268..40fa7d09 100644
--- a/pubspec.lock
+++ b/pubspec.lock
@@ -990,21 +990,21 @@ packages:
name: slang
url: "https://pub.dartlang.org"
source: hosted
- version: "3.11.1"
+ version: "3.12.0"
slang_build_runner:
dependency: "direct dev"
description:
name: slang_build_runner
url: "https://pub.dartlang.org"
source: hosted
- version: "3.11.0"
+ version: "3.12.0"
slang_flutter:
dependency: "direct main"
description:
name: slang_flutter
url: "https://pub.dartlang.org"
source: hosted
- version: "3.11.0"
+ version: "3.12.0"
source_gen:
dependency: transitive
description:
diff --git a/pubspec.yaml b/pubspec.yaml
index 10d8e24d..454fe247 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -39,8 +39,8 @@ dependencies:
shared_preferences: 2.0.17
shelf: 1.4.0
shelf_router: 1.1.3
- slang: 3.11.1
- slang_flutter: 3.11.0
+ slang: 3.12.0
+ slang_flutter: 3.12.0
tray_manager:
# https://github.com/leanflutter/tray_manager/issues/30
# The Linux tray manager is disabled for now
@@ -64,7 +64,7 @@ dev_dependencies:
git:
url: https://github.com/Tienisto/msix.git
ref: 207eddfe797225ab2736001cbdb8fafd04946b38
- slang_build_runner: 3.11.0
+ slang_build_runner: 3.12.0
test: 1.22.1
dependency_overrides: