Skip to content

An open-source cross-platform alternative to AirDrop

feat: translate default downloads folder string

Tien Do Namea87d7519a0d
diff --git a/assets/i18n/_missing_translations_ar.json b/assets/i18n/_missing_translations_ar.json
index 4ed88023..23843ad3 100644
--- a/assets/i18n/_missing_translations_ar.json
+++ b/assets/i18n/_missing_translations_ar.json
@@ -15,6 +15,9 @@
}
},
"settingsTab": {
+ "receive": {
+ "downloads": "(Downloads)"
+ },
"network": {
"portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
"encryption": "Encryption",
diff --git a/assets/i18n/_missing_translations_bn.json b/assets/i18n/_missing_translations_bn.json
index 01049387..ed2e1c39 100644
--- a/assets/i18n/_missing_translations_bn.json
+++ b/assets/i18n/_missing_translations_bn.json
@@ -15,6 +15,9 @@
}
},
"settingsTab": {
+ "receive": {
+ "downloads": "(Downloads)"
+ },
"network": {
"multicastGroup": "Multicast",
"multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
diff --git a/assets/i18n/_missing_translations_es_ES.json b/assets/i18n/_missing_translations_es_ES.json
index 516c8414..c57302db 100644
--- a/assets/i18n/_missing_translations_es_ES.json
+++ b/assets/i18n/_missing_translations_es_ES.json
@@ -15,6 +15,9 @@
}
},
"settingsTab": {
+ "receive": {
+ "downloads": "(Downloads)"
+ },
"network": {
"multicastGroup": "Multicast",
"multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
diff --git a/assets/i18n/_missing_translations_fr_FR.json b/assets/i18n/_missing_translations_fr_FR.json
index a5521705..9383fa62 100644
--- a/assets/i18n/_missing_translations_fr_FR.json
+++ b/assets/i18n/_missing_translations_fr_FR.json
@@ -11,6 +11,11 @@
"link": "Share via link"
}
},
+ "settingsTab": {
+ "receive": {
+ "downloads": "(Downloads)"
+ }
+ },
"receiveHistoryPage": {
"openFolder": "Open folder",
"deleteHistory": "Delete history"
diff --git a/assets/i18n/_missing_translations_hu.json b/assets/i18n/_missing_translations_hu.json
index 4d877156..b7699394 100644
--- a/assets/i18n/_missing_translations_hu.json
+++ b/assets/i18n/_missing_translations_hu.json
@@ -14,6 +14,11 @@
"link": "Share via link"
}
},
+ "settingsTab": {
+ "receive": {
+ "downloads": "(Downloads)"
+ }
+ },
"receiveHistoryPage": {
"openFolder": "Open folder",
"deleteHistory": "Delete history"
diff --git a/assets/i18n/_missing_translations_in.json b/assets/i18n/_missing_translations_in.json
index e5a2fc48..fd14f1ce 100644
--- a/assets/i18n/_missing_translations_in.json
+++ b/assets/i18n/_missing_translations_in.json
@@ -15,6 +15,9 @@
}
},
"settingsTab": {
+ "receive": {
+ "downloads": "(Downloads)"
+ },
"network": {
"multicastGroup": "Multicast",
"multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
diff --git a/assets/i18n/_missing_translations_it.json b/assets/i18n/_missing_translations_it.json
index 28a5f648..9b3c36a8 100644
--- a/assets/i18n/_missing_translations_it.json
+++ b/assets/i18n/_missing_translations_it.json
@@ -15,6 +15,9 @@
}
},
"settingsTab": {
+ "receive": {
+ "downloads": "(Downloads)"
+ },
"network": {
"multicastGroup": "Multicast",
"multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
diff --git a/assets/i18n/_missing_translations_iw.json b/assets/i18n/_missing_translations_iw.json
index 51d07548..d3274aec 100644
--- a/assets/i18n/_missing_translations_iw.json
+++ b/assets/i18n/_missing_translations_iw.json
@@ -15,6 +15,9 @@
}
},
"settingsTab": {
+ "receive": {
+ "downloads": "(Downloads)"
+ },
"network": {
"portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
"encryption": "Encryption",
diff --git a/assets/i18n/_missing_translations_ja.json b/assets/i18n/_missing_translations_ja.json
index 68e81019..ae05da86 100644
--- a/assets/i18n/_missing_translations_ja.json
+++ b/assets/i18n/_missing_translations_ja.json
@@ -14,6 +14,11 @@
"link": "Share via link"
}
},
+ "settingsTab": {
+ "receive": {
+ "downloads": "(Downloads)"
+ }
+ },
"receiveHistoryPage": {
"openFolder": "Open folder",
"deleteHistory": "Delete history"
diff --git a/assets/i18n/_missing_translations_ko.json b/assets/i18n/_missing_translations_ko.json
index 629ee3d5..a25eceb4 100644
--- a/assets/i18n/_missing_translations_ko.json
+++ b/assets/i18n/_missing_translations_ko.json
@@ -15,6 +15,9 @@
}
},
"settingsTab": {
+ "receive": {
+ "downloads": "(Downloads)"
+ },
"network": {
"multicastGroup": "Multicast",
"multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
diff --git a/assets/i18n/_missing_translations_ne.json b/assets/i18n/_missing_translations_ne.json
index 86548bdc..2916948b 100644
--- a/assets/i18n/_missing_translations_ne.json
+++ b/assets/i18n/_missing_translations_ne.json
@@ -15,6 +15,9 @@
}
},
"settingsTab": {
+ "receive": {
+ "downloads": "(Downloads)"
+ },
"network": {
"portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
"encryption": "Encryption",
diff --git a/assets/i18n/_missing_translations_pl.json b/assets/i18n/_missing_translations_pl.json
index d00f38f7..b01b610f 100644
--- a/assets/i18n/_missing_translations_pl.json
+++ b/assets/i18n/_missing_translations_pl.json
@@ -15,6 +15,9 @@
}
},
"settingsTab": {
+ "receive": {
+ "downloads": "(Downloads)"
+ },
"network": {
"portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
"encryption": "Encryption",
diff --git a/assets/i18n/_missing_translations_pt_BR.json b/assets/i18n/_missing_translations_pt_BR.json
index af95a6d3..f980d8aa 100644
--- a/assets/i18n/_missing_translations_pt_BR.json
+++ b/assets/i18n/_missing_translations_pt_BR.json
@@ -15,6 +15,9 @@
}
},
"settingsTab": {
+ "receive": {
+ "downloads": "(Downloads)"
+ },
"network": {
"multicastGroup": "Multicast",
"multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
diff --git a/assets/i18n/_missing_translations_ru.json b/assets/i18n/_missing_translations_ru.json
index ad3b8cc6..ce13f2b4 100644
--- a/assets/i18n/_missing_translations_ru.json
+++ b/assets/i18n/_missing_translations_ru.json
@@ -15,6 +15,9 @@
}
},
"settingsTab": {
+ "receive": {
+ "downloads": "(Downloads)"
+ },
"network": {
"portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
"encryption": "Encryption",
diff --git a/assets/i18n/_missing_translations_sv.json b/assets/i18n/_missing_translations_sv.json
index fcc27962..7390bd0a 100644
--- a/assets/i18n/_missing_translations_sv.json
+++ b/assets/i18n/_missing_translations_sv.json
@@ -15,6 +15,9 @@
}
},
"settingsTab": {
+ "receive": {
+ "downloads": "(Downloads)"
+ },
"network": {
"portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
"encryption": "Encryption",
diff --git a/assets/i18n/_missing_translations_tr.json b/assets/i18n/_missing_translations_tr.json
index ecc89fec..b445bbbf 100644
--- a/assets/i18n/_missing_translations_tr.json
+++ b/assets/i18n/_missing_translations_tr.json
@@ -15,6 +15,9 @@
}
},
"settingsTab": {
+ "receive": {
+ "downloads": "(Downloads)"
+ },
"network": {
"multicastGroup": "Multicast",
"multicastGroupWarning": "You might not be detected by other devices because you are using a custom multicast address. (default: {defaultMulticast})"
diff --git a/assets/i18n/_missing_translations_uk.json b/assets/i18n/_missing_translations_uk.json
index 8206f137..b6bf7f82 100644
--- a/assets/i18n/_missing_translations_uk.json
+++ b/assets/i18n/_missing_translations_uk.json
@@ -15,6 +15,9 @@
}
},
"settingsTab": {
+ "receive": {
+ "downloads": "(Downloads)"
+ },
"network": {
"portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
"encryption": "Encryption",
diff --git a/assets/i18n/_missing_translations_zh_Hans.json b/assets/i18n/_missing_translations_zh_Hans.json
index 0f12d5a1..21f82f92 100644
--- a/assets/i18n/_missing_translations_zh_Hans.json
+++ b/assets/i18n/_missing_translations_zh_Hans.json
@@ -11,6 +11,11 @@
"link": "Share via link"
}
},
+ "settingsTab": {
+ "receive": {
+ "downloads": "(Downloads)"
+ }
+ },
"receiveHistoryPage": {
"openFolder": "Open folder",
"deleteHistory": "Delete history"
diff --git a/assets/i18n/_missing_translations_zh_Hant_HK.json b/assets/i18n/_missing_translations_zh_Hant_HK.json
index 6527d0a7..8242ccb4 100644
--- a/assets/i18n/_missing_translations_zh_Hant_HK.json
+++ b/assets/i18n/_missing_translations_zh_Hant_HK.json
@@ -15,6 +15,9 @@
}
},
"settingsTab": {
+ "receive": {
+ "downloads": "(Downloads)"
+ },
"network": {
"portWarning": "You might not be detected by other devices because you are using a custom port. (default: {defaultPort})",
"encryption": "Encryption",
diff --git a/assets/i18n/_missing_translations_zh_Hant_TW.json b/assets/i18n/_missing_translations_zh_Hant_TW.json
index c9767836..41f0c317 100644
--- a/assets/i18n/_missing_translations_zh_Hant_TW.json
+++ b/assets/i18n/_missing_translations_zh_Hant_TW.json
@@ -14,6 +14,11 @@
"link": "Share via link"
}
},
+ "settingsTab": {
+ "receive": {
+ "downloads": "(Downloads)"
+ }
+ },
"receiveHistoryPage": {
"openFolder": "Open folder",
"deleteHistory": "Delete history"
diff --git a/assets/i18n/strings.i18n.json b/assets/i18n/strings.i18n.json
index c060d178..7c7c1922 100644
--- a/assets/i18n/strings.i18n.json
+++ b/assets/i18n/strings.i18n.json
@@ -93,6 +93,7 @@
"title": "Receive",
"quickSave": "@:general.quickSave",
"destination": "Destination",
+ "downloads": "(Downloads)",
"saveToGallery": "Save media to gallery"
},
"network": {
diff --git a/assets/i18n/strings_de.i18n.json b/assets/i18n/strings_de.i18n.json
index 2dc66bed..79496906 100644
--- a/assets/i18n/strings_de.i18n.json
+++ b/assets/i18n/strings_de.i18n.json
@@ -93,6 +93,7 @@
"title": "Empfangen",
"quickSave": "@:general.quickSave",
"destination": "Ziel-Ordner",
+ "downloads": "(Downloads)",
"saveToGallery": "Medien in die Gallerie speichern"
},
"network": {
diff --git a/lib/pages/tabs/settings_tab.dart b/lib/pages/tabs/settings_tab.dart
index f4284240..20f11a45 100644
--- a/lib/pages/tabs/settings_tab.dart
+++ b/lib/pages/tabs/settings_tab.dart
@@ -174,7 +174,7 @@ class _SettingsTabState extends ConsumerState<SettingsTab> {
},
child: Padding(
padding: const EdgeInsets.symmetric(vertical: 5),
- child: Text(settings.destination ?? '(Downloads)', style: Theme.of(context).textTheme.titleMedium),
+ child: Text(settings.destination ?? t.settingsTab.receive.downloads, style: Theme.of(context).textTheme.titleMedium),
),
),
),