i18n: distinguish between mac/linux and windows

This commit is contained in:
Tien Do Nam
2024-08-18 02:09:00 +02:00
parent ee5e96b491
commit cc331f1638
45 changed files with 279 additions and 17 deletions
@@ -5,6 +5,7 @@
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit",
"showInContextMenu": "Show LocalSend in context menu"
},
"receive": {
@@ -37,6 +38,9 @@
"title": "Enter PIN"
}
},
"tray": {
"closeWindows": "Exit LocalSend"
},
"web": {
"enterPin": "Enter PIN",
"invalidPin": "Invalid PIN",
@@ -5,6 +5,7 @@
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit",
"showInContextMenu": "Show LocalSend in context menu"
},
"receive": {
@@ -52,6 +53,9 @@
"empty": "Filename cannot be empty",
"invalid": "Filename contains invalid characters"
},
"tray": {
"closeWindows": "Exit LocalSend"
},
"web": {
"enterPin": "Enter PIN",
"invalidPin": "Invalid PIN",
@@ -17,6 +17,7 @@
"colorOptions": {
"oled": "OLED"
},
"saveWindowPlacementWindows": "Save window position after exit",
"showInContextMenu": "Show LocalSend in context menu"
},
"receive": {
@@ -107,6 +108,9 @@
"empty": "Filename cannot be empty",
"invalid": "Filename contains invalid characters"
},
"tray": {
"closeWindows": "Exit LocalSend"
},
"web": {
"enterPin": "Enter PIN",
"invalidPin": "Invalid PIN",
@@ -2,5 +2,13 @@
"@@info": [
"Here are translations that exist in <en> but not in <cs>.",
"After editing this file, you can run 'dart run slang apply --locale=cs' to quickly apply the newly added translations."
]
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit"
}
},
"tray": {
"closeWindows": "Exit LocalSend"
}
}
@@ -5,6 +5,7 @@
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit",
"showInContextMenu": "Show LocalSend in context menu"
},
"receive": {
@@ -52,6 +53,9 @@
"empty": "Filename cannot be empty",
"invalid": "Filename contains invalid characters"
},
"tray": {
"closeWindows": "Exit LocalSend"
},
"web": {
"enterPin": "Enter PIN",
"invalidPin": "Invalid PIN",
@@ -5,6 +5,7 @@
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit",
"showInContextMenu": "Show LocalSend in context menu"
},
"receive": {
@@ -47,6 +48,9 @@
"empty": "Filename cannot be empty",
"invalid": "Filename contains invalid characters"
},
"tray": {
"closeWindows": "Exit LocalSend"
},
"web": {
"enterPin": "Enter PIN",
"invalidPin": "Invalid PIN",
@@ -3,6 +3,11 @@
"Here are translations that exist in <en> but not in <en-IN>.",
"After editing this file, you can run 'dart run slang apply --locale=en-IN' to quickly apply the newly added translations."
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit"
}
},
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
@@ -11,5 +16,8 @@
},
"aboutPage": {
"packagers": "Packagers"
},
"tray": {
"closeWindows": "Exit LocalSend"
}
}
@@ -5,6 +5,7 @@
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit",
"showInContextMenu": "Show LocalSend in context menu"
},
"receive": {
@@ -47,6 +48,9 @@
"empty": "Filename cannot be empty",
"invalid": "Filename contains invalid characters"
},
"tray": {
"closeWindows": "Exit LocalSend"
},
"web": {
"enterPin": "Enter PIN",
"invalidPin": "Invalid PIN",
@@ -5,6 +5,7 @@
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit",
"showInContextMenu": "Show LocalSend in context menu"
},
"receive": {
@@ -78,6 +79,9 @@
"empty": "Filename cannot be empty",
"invalid": "Filename contains invalid characters"
},
"tray": {
"closeWindows": "Exit LocalSend"
},
"web": {
"enterPin": "Enter PIN",
"invalidPin": "Invalid PIN",
@@ -2,5 +2,13 @@
"@@info": [
"Here are translations that exist in <en> but not in <fa>.",
"After editing this file, you can run 'dart run slang apply --locale=fa' to quickly apply the newly added translations."
]
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit"
}
},
"tray": {
"closeWindows": "Exit LocalSend"
}
}
@@ -5,6 +5,7 @@
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit",
"showInContextMenu": "Show LocalSend in context menu"
},
"receive": {
@@ -37,6 +38,9 @@
"title": "Enter PIN"
}
},
"tray": {
"closeWindows": "Exit LocalSend"
},
"web": {
"enterPin": "Enter PIN",
"invalidPin": "Invalid PIN",
@@ -2,5 +2,13 @@
"@@info": [
"Here are translations that exist in <en> but not in <fil-PH>.",
"After editing this file, you can run 'dart run slang apply --locale=fil-PH' to quickly apply the newly added translations."
]
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit"
}
},
"tray": {
"closeWindows": "Exit LocalSend"
}
}
@@ -2,5 +2,13 @@
"@@info": [
"Here are translations that exist in <en> but not in <fr>.",
"After editing this file, you can run 'dart run slang apply --locale=fr' to quickly apply the newly added translations."
]
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit"
}
},
"tray": {
"closeWindows": "Exit LocalSend"
}
}
@@ -5,6 +5,7 @@
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit",
"showInContextMenu": "Show LocalSend in context menu"
},
"receive": {
@@ -37,6 +38,9 @@
"title": "Enter PIN"
}
},
"tray": {
"closeWindows": "Exit LocalSend"
},
"web": {
"enterPin": "Enter PIN",
"invalidPin": "Invalid PIN",
@@ -3,6 +3,11 @@
"Here are translations that exist in <en> but not in <he>.",
"After editing this file, you can run 'dart run slang apply --locale=he' to quickly apply the newly added translations."
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit"
}
},
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
@@ -11,5 +16,8 @@
},
"aboutPage": {
"packagers": "Packagers"
},
"tray": {
"closeWindows": "Exit LocalSend"
}
}
@@ -3,6 +3,11 @@
"Here are translations that exist in <en> but not in <hi>.",
"After editing this file, you can run 'dart run slang apply --locale=hi' to quickly apply the newly added translations."
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit"
}
},
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
@@ -11,5 +16,8 @@
},
"aboutPage": {
"packagers": "Packagers"
},
"tray": {
"closeWindows": "Exit LocalSend"
}
}
@@ -3,6 +3,11 @@
"Here are translations that exist in <en> but not in <hu>.",
"After editing this file, you can run 'dart run slang apply --locale=hu' to quickly apply the newly added translations."
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit"
}
},
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
@@ -11,5 +16,8 @@
},
"aboutPage": {
"packagers": "Packagers"
},
"tray": {
"closeWindows": "Exit LocalSend"
}
}
@@ -5,6 +5,7 @@
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit",
"showInContextMenu": "Show LocalSend in context menu"
},
"receive": {
@@ -37,6 +38,9 @@
"title": "Enter PIN"
}
},
"tray": {
"closeWindows": "Exit LocalSend"
},
"web": {
"enterPin": "Enter PIN",
"invalidPin": "Invalid PIN",
@@ -5,6 +5,7 @@
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit",
"showInContextMenu": "Show LocalSend in context menu"
},
"receive": {
@@ -37,6 +38,9 @@
"title": "Enter PIN"
}
},
"tray": {
"closeWindows": "Exit LocalSend"
},
"web": {
"enterPin": "Enter PIN",
"invalidPin": "Invalid PIN",
@@ -3,6 +3,11 @@
"Here are translations that exist in <en> but not in <ja>.",
"After editing this file, you can run 'dart run slang apply --locale=ja' to quickly apply the newly added translations."
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit"
}
},
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
@@ -11,5 +16,8 @@
},
"aboutPage": {
"packagers": "Packagers"
},
"tray": {
"closeWindows": "Exit LocalSend"
}
}
@@ -5,6 +5,7 @@
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit",
"showInContextMenu": "Show LocalSend in context menu"
},
"receive": {
@@ -52,6 +53,9 @@
"empty": "Filename cannot be empty",
"invalid": "Filename contains invalid characters"
},
"tray": {
"closeWindows": "Exit LocalSend"
},
"web": {
"enterPin": "Enter PIN",
"invalidPin": "Invalid PIN",
@@ -2,5 +2,13 @@
"@@info": [
"Here are translations that exist in <en> but not in <ko>.",
"After editing this file, you can run 'dart run slang apply --locale=ko' to quickly apply the newly added translations."
]
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit"
}
},
"tray": {
"closeWindows": "Exit LocalSend"
}
}
@@ -17,6 +17,7 @@
"colorOptions": {
"oled": "OLED"
},
"saveWindowPlacementWindows": "Save window position after exit",
"showInContextMenu": "Show LocalSend in context menu"
},
"receive": {
@@ -107,6 +108,9 @@
"empty": "Filename cannot be empty",
"invalid": "Filename contains invalid characters"
},
"tray": {
"closeWindows": "Exit LocalSend"
},
"web": {
"enterPin": "Enter PIN",
"invalidPin": "Invalid PIN",
@@ -5,6 +5,7 @@
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit",
"showInContextMenu": "Show LocalSend in context menu"
},
"receive": {
@@ -74,6 +75,9 @@
"empty": "Filename cannot be empty",
"invalid": "Filename contains invalid characters"
},
"tray": {
"closeWindows": "Exit LocalSend"
},
"web": {
"enterPin": "Enter PIN",
"invalidPin": "Invalid PIN",
@@ -2,5 +2,13 @@
"@@info": [
"Here are translations that exist in <en> but not in <pl>.",
"After editing this file, you can run 'dart run slang apply --locale=pl' to quickly apply the newly added translations."
]
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit"
}
},
"tray": {
"closeWindows": "Exit LocalSend"
}
}
@@ -5,6 +5,7 @@
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit",
"showInContextMenu": "Show LocalSend in context menu"
},
"receive": {
@@ -52,6 +53,9 @@
"empty": "Filename cannot be empty",
"invalid": "Filename contains invalid characters"
},
"tray": {
"closeWindows": "Exit LocalSend"
},
"web": {
"enterPin": "Enter PIN",
"invalidPin": "Invalid PIN",
@@ -5,6 +5,7 @@
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit",
"showInContextMenu": "Show LocalSend in context menu"
},
"receive": {
@@ -37,6 +38,9 @@
"title": "Enter PIN"
}
},
"tray": {
"closeWindows": "Exit LocalSend"
},
"web": {
"enterPin": "Enter PIN",
"invalidPin": "Invalid PIN",
@@ -3,6 +3,11 @@
"Here are translations that exist in <en> but not in <ro>.",
"After editing this file, you can run 'dart run slang apply --locale=ro' to quickly apply the newly added translations."
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit"
}
},
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
@@ -11,5 +16,8 @@
},
"aboutPage": {
"packagers": "Packagers"
},
"tray": {
"closeWindows": "Exit LocalSend"
}
}
@@ -2,5 +2,13 @@
"@@info": [
"Here are translations that exist in <en> but not in <ru>.",
"After editing this file, you can run 'dart run slang apply --locale=ru' to quickly apply the newly added translations."
]
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit"
}
},
"tray": {
"closeWindows": "Exit LocalSend"
}
}
@@ -2,5 +2,13 @@
"@@info": [
"Here are translations that exist in <en> but not in <sr>.",
"After editing this file, you can run 'dart run slang apply --locale=sr' to quickly apply the newly added translations."
]
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit"
}
},
"tray": {
"closeWindows": "Exit LocalSend"
}
}
@@ -2,5 +2,13 @@
"@@info": [
"Here are translations that exist in <en> but not in <sr-Cyrl>.",
"After editing this file, you can run 'dart run slang apply --locale=sr-Cyrl' to quickly apply the newly added translations."
]
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit"
}
},
"tray": {
"closeWindows": "Exit LocalSend"
}
}
@@ -17,6 +17,7 @@
"colorOptions": {
"oled": "OLED"
},
"saveWindowPlacementWindows": "Save window position after exit",
"showInContextMenu": "Show LocalSend in context menu"
},
"receive": {
@@ -107,6 +108,9 @@
"empty": "Filename cannot be empty",
"invalid": "Filename contains invalid characters"
},
"tray": {
"closeWindows": "Exit LocalSend"
},
"web": {
"enterPin": "Enter PIN",
"invalidPin": "Invalid PIN",
@@ -2,5 +2,13 @@
"@@info": [
"Here are translations that exist in <en> but not in <th>.",
"After editing this file, you can run 'dart run slang apply --locale=th' to quickly apply the newly added translations."
]
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit"
}
},
"tray": {
"closeWindows": "Exit LocalSend"
}
}
@@ -3,6 +3,11 @@
"Here are translations that exist in <en> but not in <tr>.",
"After editing this file, you can run 'dart run slang apply --locale=tr' to quickly apply the newly added translations."
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit"
}
},
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
@@ -11,5 +16,8 @@
},
"aboutPage": {
"packagers": "Packagers"
},
"tray": {
"closeWindows": "Exit LocalSend"
}
}
@@ -2,5 +2,13 @@
"@@info": [
"Here are translations that exist in <en> but not in <uk>.",
"After editing this file, you can run 'dart run slang apply --locale=uk' to quickly apply the newly added translations."
]
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit"
}
},
"tray": {
"closeWindows": "Exit LocalSend"
}
}
@@ -17,6 +17,7 @@
"colorOptions": {
"oled": "OLED"
},
"saveWindowPlacementWindows": "Save window position after exit",
"showInContextMenu": "Show LocalSend in context menu"
},
"receive": {
@@ -107,6 +108,9 @@
"empty": "Filename cannot be empty",
"invalid": "Filename contains invalid characters"
},
"tray": {
"closeWindows": "Exit LocalSend"
},
"web": {
"enterPin": "Enter PIN",
"invalidPin": "Invalid PIN",
@@ -3,6 +3,11 @@
"Here are translations that exist in <en> but not in <vi>.",
"After editing this file, you can run 'dart run slang apply --locale=vi' to quickly apply the newly added translations."
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit"
}
},
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
@@ -11,5 +16,8 @@
},
"aboutPage": {
"packagers": "Packagers"
},
"tray": {
"closeWindows": "Exit LocalSend"
}
}
@@ -2,5 +2,13 @@
"@@info": [
"Here are translations that exist in <en> but not in <zh-CN>.",
"After editing this file, you can run 'dart run slang apply --locale=zh-CN' to quickly apply the newly added translations."
]
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit"
}
},
"tray": {
"closeWindows": "Exit LocalSend"
}
}
@@ -3,6 +3,11 @@
"Here are translations that exist in <en> but not in <zh-HK>.",
"After editing this file, you can run 'dart run slang apply --locale=zh-HK' to quickly apply the newly added translations."
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit"
}
},
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
@@ -11,5 +16,8 @@
},
"aboutPage": {
"packagers": "Packagers"
},
"tray": {
"closeWindows": "Exit LocalSend"
}
}
@@ -3,6 +3,11 @@
"Here are translations that exist in <en> but not in <zh-TW>.",
"After editing this file, you can run 'dart run slang apply --locale=zh-TW' to quickly apply the newly added translations."
],
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit"
}
},
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
@@ -11,5 +16,8 @@
},
"aboutPage": {
"packagers": "Packagers"
},
"tray": {
"closeWindows": "Exit LocalSend"
}
}
@@ -12,10 +12,18 @@
"sendTab": {
"thisDevice": "This Device"
},
"settingsTab": {
"general": {
"saveWindowPlacementWindows": "Save window position after exit"
}
},
"dialogs": {
"messageInput": {
"multiline": "Multiline"
}
},
"tray": {
"closeWindows": "Exit LocalSend"
}
},
"ar": {},
+3 -1
View File
@@ -97,6 +97,7 @@
"system": "System"
},
"saveWindowPlacement": "Save window position after quit",
"saveWindowPlacementWindows": "Save window position after exit",
"minimizeToTray": "Minimize to the System Tray/Menu Bar when closing",
"launchAtStartup": "Autostart after login",
"launchMinimized": "Autostart: Start hidden",
@@ -445,7 +446,8 @@
"tray": {
"@info": "Apple Guidelines are very strict about the \"close\" wording.",
"open": "@:general.open",
"close": "Quit LocalSend"
"close": "Quit LocalSend",
"closeWindows": "Exit LocalSend"
},
"web": {
"waiting": "@:sendPage.waiting",
+5 -3
View File
@@ -96,8 +96,9 @@
"languageOptions": {
"system": "System"
},
"saveWindowPlacement": "Schließen: Fensterposition speichern",
"minimizeToTray": "Schließen: in Symbolleiste minimieren",
"saveWindowPlacement": "Beenden: Fensterposition speichern",
"saveWindowPlacementWindows": "Beenden: Fensterposition speichern",
"minimizeToTray": "Beenden: in Symbolleiste minimieren",
"launchAtStartup": "Autostart nach Login",
"launchMinimized": "Autostart: versteckt starten",
"showInContextMenu": "LocalSend im Kontextmenü anzeigen",
@@ -375,7 +376,8 @@
"tray": {
"@info": "Apple Guidelines are very strict about the \"close\" wording.",
"open": "@:general.open",
"close": "LocalSend beenden"
"close": "LocalSend beenden",
"closeWindows": "LocalSend beenden"
},
"web": {
"waiting": "@:sendPage.waiting",
+1 -1
View File
@@ -4,7 +4,7 @@
/// To regenerate, run: `dart run slang`
///
/// Locales: 42
/// Strings: 12848 (305 per locale)
/// Strings: 12850 (305 per locale)
// coverage:ignore-file
// ignore_for_file: type=lint
+2
View File
@@ -459,6 +459,7 @@ class _StringsTrayEn {
// Translations
String get open => _root.general.open;
String get close => 'Quit LocalSend';
String get closeWindows => 'Exit LocalSend';
}
// Path: web
@@ -581,6 +582,7 @@ class _StringsSettingsTabGeneralEn {
String get language => 'Language';
late final _StringsSettingsTabGeneralLanguageOptionsEn languageOptions = _StringsSettingsTabGeneralLanguageOptionsEn._(_root);
String get saveWindowPlacement => 'Save window position after quit';
String get saveWindowPlacementWindows => 'Save window position after exit';
String get minimizeToTray => 'Minimize to the System Tray/Menu Bar when closing';
String get launchAtStartup => 'Autostart after login';
String get launchMinimized => 'Autostart: Start hidden';