Skip to content

An open-source cross-platform alternative to AirDrop

chore: polish

Tien Do Nam3c2135dc1174
diff --git a/assets/i18n/_missing_translations.json b/assets/i18n/_missing_translations.json
index 4c00a919..20ff9b39 100644
--- a/assets/i18n/_missing_translations.json
+++ b/assets/i18n/_missing_translations.json
@@ -3,13 +3,159 @@
"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"
+ }
+ },
+ "dialogs": {
+ "encryptionDisabledNotice": {
+ "title": "Encryption disabled",
+ "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
+ }
+ }
+ },
"de": {},
- "it": {},
- "fr-FR": {},
- "hu": {},
- "ja": {},
- "ko": {},
- "sv": {},
- "zh-Hans": {},
- "pl-PL": {}
-}
+ "fr-FR": {
+ "settingsTab": {
+ "network": {
+ "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
+ "encryption": "Encryption"
+ }
+ },
+ "dialogs": {
+ "encryptionDisabledNotice": {
+ "title": "Encryption disabled",
+ "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
+ }
+ }
+ },
+ "hu": {
+ "settingsTab": {
+ "network": {
+ "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
+ "encryption": "Encryption"
+ }
+ },
+ "dialogs": {
+ "encryptionDisabledNotice": {
+ "title": "Encryption disabled",
+ "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
+ }
+ }
+ },
+ "it": {
+ "settingsTab": {
+ "network": {
+ "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
+ "encryption": "Encryption"
+ }
+ },
+ "dialogs": {
+ "encryptionDisabledNotice": {
+ "title": "Encryption disabled",
+ "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
+ }
+ }
+ },
+ "ja": {
+ "settingsTab": {
+ "network": {
+ "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
+ "encryption": "Encryption"
+ }
+ },
+ "dialogs": {
+ "encryptionDisabledNotice": {
+ "title": "Encryption disabled",
+ "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
+ }
+ }
+ },
+ "ko": {
+ "settingsTab": {
+ "network": {
+ "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
+ "encryption": "Encryption"
+ }
+ },
+ "dialogs": {
+ "encryptionDisabledNotice": {
+ "title": "Encryption disabled",
+ "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
+ }
+ }
+ },
+ "pl": {
+ "settingsTab": {
+ "network": {
+ "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
+ "encryption": "Encryption"
+ }
+ },
+ "dialogs": {
+ "encryptionDisabledNotice": {
+ "title": "Encryption disabled",
+ "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
+ }
+ }
+ },
+ "ru": {
+ "settingsTab": {
+ "network": {
+ "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
+ "encryption": "Encryption"
+ }
+ },
+ "dialogs": {
+ "encryptionDisabledNotice": {
+ "title": "Encryption disabled",
+ "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
+ }
+ }
+ },
+ "sv": {
+ "settingsTab": {
+ "network": {
+ "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
+ "encryption": "Encryption"
+ }
+ },
+ "dialogs": {
+ "encryptionDisabledNotice": {
+ "title": "Encryption disabled",
+ "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
+ }
+ }
+ },
+ "zh-Hans": {
+ "settingsTab": {
+ "network": {
+ "portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
+ "encryption": "Encryption"
+ }
+ },
+ "dialogs": {
+ "encryptionDisabledNotice": {
+ "title": "Encryption disabled",
+ "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
+ }
+ }
+ },
+ "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"
+ }
+ },
+ "dialogs": {
+ "encryptionDisabledNotice": {
+ "title": "Encryption disabled",
+ "content": "Communication now takes place via the unencrypted HTTP protocol. To use HTTPS, enable encryption again."
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/assets/i18n/_unused_translations.json b/assets/i18n/_unused_translations.json
index c67fdce3..9c263725 100644
--- a/assets/i18n/_unused_translations.json
+++ b/assets/i18n/_unused_translations.json
@@ -10,9 +10,16 @@
"save": "Save"
}
},
+ "ar": {},
"de": {},
+ "fr-FR": {},
"hu": {},
+ "it": {},
"ja": {},
"ko": {},
- "zh-Hans": {}
+ "pl": {},
+ "ru": {},
+ "sv": {},
+ "zh-Hans": {},
+ "zh-Hant-TW": {}
}
\ No newline at end of file
diff --git a/assets/i18n/strings_pl-PL.i18n.json b/assets/i18n/strings_pl.i18n.json
similarity index 100%
rename from assets/i18n/strings_pl-PL.i18n.json
rename to assets/i18n/strings_pl.i18n.json
diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist
index 97d0e21b..fb7f2ea0 100644
--- a/ios/Runner/Info.plist
+++ b/ios/Runner/Info.plist
@@ -49,9 +49,19 @@
<true/>
<key>CFBundleLocalizations</key>
<array>
- <string>de</string>
- <string>en</string>
- <string>zh-Hans</string>
+ <string>ar</string>
+ <string>de</string>
+ <string>en</string>
+ <string>fr-FR</string>
+ <string>hu</string>
+ <string>it</string>
+ <string>ja</string>
+ <string>ko</string>
+ <string>pl</string>
+ <string>ru</string>
+ <string>sv</string>
+ <string>zh-Hans</string>
+ <string>zh-Hant-TW</string>
</array>
<!-- Make downloaded files visible to the user -->
diff --git a/macos/Runner/Info.plist b/macos/Runner/Info.plist
index c2c55a05..4510bf13 100644
--- a/macos/Runner/Info.plist
+++ b/macos/Runner/Info.plist
@@ -35,9 +35,19 @@
<key>CFBundleLocalizations</key>
<array>
- <string>de</string>
- <string>en</string>
- <string>zh-Hans</string>
+ <string>ar</string>
+ <string>de</string>
+ <string>en</string>
+ <string>fr-FR</string>
+ <string>hu</string>
+ <string>it</string>
+ <string>ja</string>
+ <string>ko</string>
+ <string>pl</string>
+ <string>ru</string>
+ <string>sv</string>
+ <string>zh-Hans</string>
+ <string>zh-Hant-TW</string>
</array>
<key>NSPhotoLibraryUsageDescription</key>