mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-18 04:38:10 +02:00
Translations + bugfix
This commit is contained in:
@@ -188,6 +188,17 @@
|
|||||||
"steam": "Steam",
|
"steam": "Steam",
|
||||||
"steamMobile": "Steam Mobile",
|
"steamMobile": "Steam Mobile",
|
||||||
"steamChat": "Steam Chat",
|
"steamChat": "Steam Chat",
|
||||||
|
"install": "Install",
|
||||||
|
"markInstalled": "Mark Installed",
|
||||||
|
"update": "Update",
|
||||||
|
"markUpdated": "Mark Updated",
|
||||||
|
"additionalOptions": "Additional Options",
|
||||||
|
"disableVersionDetection": "Disable Version Detection",
|
||||||
|
"noVersionDetectionExplanation": "This option should only be used for Apps where version detection does not work correctly.",
|
||||||
|
"downloadingX": "Downloading {}",
|
||||||
|
"downloadNotifDescription": "Notifies the user of the progress in downloading an App",
|
||||||
|
"noAPKFound": "No APK found",
|
||||||
|
"noVersionDetection": "No version detection",
|
||||||
"tooManyRequestsTryAgainInMinutes": {
|
"tooManyRequestsTryAgainInMinutes": {
|
||||||
"one": "Zu viele Anfragen (Rate begrenzt) - versuchen Sie es in {} Minute erneut",
|
"one": "Zu viele Anfragen (Rate begrenzt) - versuchen Sie es in {} Minute erneut",
|
||||||
"other": "Zu viele Anfragen (Rate begrenzt) - versuchen Sie es in {} Minuten erneut"
|
"other": "Zu viele Anfragen (Rate begrenzt) - versuchen Sie es in {} Minuten erneut"
|
||||||
|
@@ -188,6 +188,17 @@
|
|||||||
"steam": "Steam",
|
"steam": "Steam",
|
||||||
"steamMobile": "Steam Mobile",
|
"steamMobile": "Steam Mobile",
|
||||||
"steamChat": "Steam Chat",
|
"steamChat": "Steam Chat",
|
||||||
|
"install": "Install",
|
||||||
|
"markInstalled": "Mark Installed",
|
||||||
|
"update": "Update",
|
||||||
|
"markUpdated": "Mark Updated",
|
||||||
|
"additionalOptions": "Additional Options",
|
||||||
|
"disableVersionDetection": "Disable Version Detection",
|
||||||
|
"noVersionDetectionExplanation": "This option should only be used for Apps where version detection does not work correctly.",
|
||||||
|
"downloadingX": "Downloading {}",
|
||||||
|
"downloadNotifDescription": "Notifies the user of the progress in downloading an App",
|
||||||
|
"noAPKFound": "No APK found",
|
||||||
|
"noVersionDetection": "No version detection",
|
||||||
"tooManyRequestsTryAgainInMinutes": {
|
"tooManyRequestsTryAgainInMinutes": {
|
||||||
"one": "Too many requests (rate limited) - try again in {} minute",
|
"one": "Too many requests (rate limited) - try again in {} minute",
|
||||||
"other": "Too many requests (rate limited) - try again in {} minutes"
|
"other": "Too many requests (rate limited) - try again in {} minutes"
|
||||||
|
@@ -188,6 +188,17 @@
|
|||||||
"steam": "Steam",
|
"steam": "Steam",
|
||||||
"steamMobile": "Steam Mobile",
|
"steamMobile": "Steam Mobile",
|
||||||
"steamChat": "Steam Chat",
|
"steamChat": "Steam Chat",
|
||||||
|
"install": "Install",
|
||||||
|
"markInstalled": "Mark Installed",
|
||||||
|
"update": "Update",
|
||||||
|
"markUpdated": "Mark Updated",
|
||||||
|
"additionalOptions": "Additional Options",
|
||||||
|
"disableVersionDetection": "Disable Version Detection",
|
||||||
|
"noVersionDetectionExplanation": "This option should only be used for Apps where version detection does not work correctly.",
|
||||||
|
"downloadingX": "Downloading {}",
|
||||||
|
"downloadNotifDescription": "Notifies the user of the progress in downloading an App",
|
||||||
|
"noAPKFound": "No APK found",
|
||||||
|
"noVersionDetection": "No version detection",
|
||||||
"tooManyRequestsTryAgainInMinutes": {
|
"tooManyRequestsTryAgainInMinutes": {
|
||||||
"one": "Túl sok kérés (korlátozott arány) – próbálja újra {} perc múlva",
|
"one": "Túl sok kérés (korlátozott arány) – próbálja újra {} perc múlva",
|
||||||
"other": "Túl sok kérés (korlátozott arány) – próbálja újra {} perc múlva"
|
"other": "Túl sok kérés (korlátozott arány) – próbálja újra {} perc múlva"
|
||||||
@@ -232,4 +243,4 @@
|
|||||||
"one": "A(z) {} és 1 további alkalmazás frissítve.",
|
"one": "A(z) {} és 1 további alkalmazás frissítve.",
|
||||||
"other": "{} és további {} alkalmazás frissítve."
|
"other": "{} és további {} alkalmazás frissítve."
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -188,6 +188,17 @@
|
|||||||
"steam": "Steam",
|
"steam": "Steam",
|
||||||
"steamMobile": "Steam Mobile",
|
"steamMobile": "Steam Mobile",
|
||||||
"steamChat": "Steam Chat",
|
"steamChat": "Steam Chat",
|
||||||
|
"install": "Install",
|
||||||
|
"markInstalled": "Mark Installed",
|
||||||
|
"update": "Update",
|
||||||
|
"markUpdated": "Mark Updated",
|
||||||
|
"additionalOptions": "Additional Options",
|
||||||
|
"disableVersionDetection": "Disable Version Detection",
|
||||||
|
"noVersionDetectionExplanation": "This option should only be used for Apps where version detection does not work correctly.",
|
||||||
|
"downloadingX": "Downloading {}",
|
||||||
|
"downloadNotifDescription": "Notifies the user of the progress in downloading an App",
|
||||||
|
"noAPKFound": "No APK found",
|
||||||
|
"noVersionDetection": "No version detection",
|
||||||
"tooManyRequestsTryAgainInMinutes": {
|
"tooManyRequestsTryAgainInMinutes": {
|
||||||
"one": "Troppe richieste (traffico limitato) - riprova tra {} minuto",
|
"one": "Troppe richieste (traffico limitato) - riprova tra {} minuto",
|
||||||
"other": "Troppe richieste (traffico limitato) - riprova tra {} minuti"
|
"other": "Troppe richieste (traffico limitato) - riprova tra {} minuti"
|
||||||
@@ -232,4 +243,4 @@
|
|||||||
"one": "{} e un'altra App sono state aggiornate.",
|
"one": "{} e un'altra App sono state aggiornate.",
|
||||||
"other": "{} e altre {} App sono state aggiornate."
|
"other": "{} e altre {} App sono state aggiornate."
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -188,6 +188,17 @@
|
|||||||
"steam": "Steam",
|
"steam": "Steam",
|
||||||
"steamMobile": "Steam Mobile",
|
"steamMobile": "Steam Mobile",
|
||||||
"steamChat": "Steam Chat",
|
"steamChat": "Steam Chat",
|
||||||
|
"install": "Install",
|
||||||
|
"markInstalled": "Mark Installed",
|
||||||
|
"update": "Update",
|
||||||
|
"markUpdated": "Mark Updated",
|
||||||
|
"additionalOptions": "Additional Options",
|
||||||
|
"disableVersionDetection": "Disable Version Detection",
|
||||||
|
"noVersionDetectionExplanation": "This option should only be used for Apps where version detection does not work correctly.",
|
||||||
|
"downloadingX": "Downloading {}",
|
||||||
|
"downloadNotifDescription": "Notifies the user of the progress in downloading an App",
|
||||||
|
"noAPKFound": "No APK found",
|
||||||
|
"noVersionDetection": "No version detection",
|
||||||
"tooManyRequestsTryAgainInMinutes": {
|
"tooManyRequestsTryAgainInMinutes": {
|
||||||
"one": "リクエストが多すぎます(レート制限)- {}分後に再試行してください",
|
"one": "リクエストが多すぎます(レート制限)- {}分後に再試行してください",
|
||||||
"other": "リクエストが多すぎます(レート制限)- {}分後に再試行してください"
|
"other": "リクエストが多すぎます(レート制限)- {}分後に再試行してください"
|
||||||
@@ -232,4 +243,4 @@
|
|||||||
"one": "{}とさらに{}個のアプリがアップデートされました。",
|
"one": "{}とさらに{}個のアプリがアップデートされました。",
|
||||||
"other": "{}とさらに{}個のアプリがアップデートされました。"
|
"other": "{}とさらに{}個のアプリがアップデートされました。"
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -188,6 +188,17 @@
|
|||||||
"steam": "Steam",
|
"steam": "Steam",
|
||||||
"steamMobile": "Steam Mobile",
|
"steamMobile": "Steam Mobile",
|
||||||
"steamChat": "Steam Chat",
|
"steamChat": "Steam Chat",
|
||||||
|
"install": "Install",
|
||||||
|
"markInstalled": "Mark Installed",
|
||||||
|
"update": "Update",
|
||||||
|
"markUpdated": "Mark Updated",
|
||||||
|
"additionalOptions": "Additional Options",
|
||||||
|
"disableVersionDetection": "Disable Version Detection",
|
||||||
|
"noVersionDetectionExplanation": "This option should only be used for Apps where version detection does not work correctly.",
|
||||||
|
"downloadingX": "Downloading {}",
|
||||||
|
"downloadNotifDescription": "Notifies the user of the progress in downloading an App",
|
||||||
|
"noAPKFound": "No APK found",
|
||||||
|
"noVersionDetection": "No version detection",
|
||||||
"tooManyRequestsTryAgainInMinutes": {
|
"tooManyRequestsTryAgainInMinutes": {
|
||||||
"one": "请求过多 (API 限制) - 在 {} 分钟后重试",
|
"one": "请求过多 (API 限制) - 在 {} 分钟后重试",
|
||||||
"other": "请求过多 (API 限制) - 在 {} 分钟后重试"
|
"other": "请求过多 (API 限制) - 在 {} 分钟后重试"
|
||||||
|
@@ -92,10 +92,10 @@ class _AddAppPageState extends State<AddAppPage> {
|
|||||||
await showDialog(
|
await showDialog(
|
||||||
context: context,
|
context: context,
|
||||||
builder: (BuildContext ctx) {
|
builder: (BuildContext ctx) {
|
||||||
return const GeneratedFormModal(
|
return GeneratedFormModal(
|
||||||
title: 'Disable Version Detection', // TODO
|
title: tr('disableVersionDetection'),
|
||||||
items: [],
|
items: const [],
|
||||||
message: 'TODO',
|
message: tr('noVersionDetectionExplanation'),
|
||||||
);
|
);
|
||||||
}) ==
|
}) ==
|
||||||
null) {
|
null) {
|
||||||
|
@@ -73,7 +73,9 @@ class _AppPageState extends State<AppPage> {
|
|||||||
height: 25,
|
height: 25,
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
app?.installedInfo?.name ?? app?.app.name ?? 'App',
|
app?.installedInfo?.name ??
|
||||||
|
app?.app.name ??
|
||||||
|
tr('app'),
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
style: Theme.of(context).textTheme.displayLarge,
|
style: Theme.of(context).textTheme.displayLarge,
|
||||||
),
|
),
|
||||||
@@ -200,7 +202,7 @@ class _AppPageState extends State<AppPage> {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
tooltip: 'Mark as Updated',
|
tooltip: tr('markUpdated'),
|
||||||
icon: const Icon(Icons.done)),
|
icon: const Icon(Icons.done)),
|
||||||
if (source != null &&
|
if (source != null &&
|
||||||
source
|
source
|
||||||
@@ -228,7 +230,7 @@ class _AppPageState extends State<AppPage> {
|
|||||||
return row;
|
return row;
|
||||||
}).toList();
|
}).toList();
|
||||||
return GeneratedFormModal(
|
return GeneratedFormModal(
|
||||||
title: 'Additional Options',
|
title: tr('additionalOptions'),
|
||||||
items: items);
|
items: items);
|
||||||
}).then((values) {
|
}).then((values) {
|
||||||
if (app != null && values != null) {
|
if (app != null && values != null) {
|
||||||
@@ -249,7 +251,7 @@ class _AppPageState extends State<AppPage> {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
tooltip: 'Additional Options',
|
tooltip: tr('additionalOptions'),
|
||||||
icon: const Icon(Icons.settings)),
|
icon: const Icon(Icons.settings)),
|
||||||
const SizedBox(width: 16.0),
|
const SizedBox(width: 16.0),
|
||||||
Expanded(
|
Expanded(
|
||||||
@@ -286,11 +288,11 @@ class _AppPageState extends State<AppPage> {
|
|||||||
: null,
|
: null,
|
||||||
child: Text(app?.app.installedVersion == null
|
child: Text(app?.app.installedVersion == null
|
||||||
? !trackOnly
|
? !trackOnly
|
||||||
? 'Install'
|
? tr('install')
|
||||||
: 'Mark Installed'
|
: tr('markInstalled')
|
||||||
: !trackOnly
|
: !trackOnly
|
||||||
? 'Update'
|
? tr('update')
|
||||||
: 'Mark Updated'))),
|
: tr('markUpdated')))),
|
||||||
const SizedBox(width: 16.0),
|
const SizedBox(width: 16.0),
|
||||||
ElevatedButton(
|
ElevatedButton(
|
||||||
onPressed: app?.downloadProgress != null
|
onPressed: app?.downloadProgress != null
|
||||||
|
@@ -80,11 +80,11 @@ class DownloadNotification extends ObtainiumNotification {
|
|||||||
DownloadNotification(String appName, int progPercent)
|
DownloadNotification(String appName, int progPercent)
|
||||||
: super(
|
: super(
|
||||||
appName.hashCode,
|
appName.hashCode,
|
||||||
'Downloading $appName',
|
tr('downloadingX', args: [appName]),
|
||||||
'',
|
'',
|
||||||
'APP_DOWNLOADING',
|
'APP_DOWNLOADING',
|
||||||
'Downloading App',
|
tr('downloadingX', args: [tr('app')]),
|
||||||
'Notifies the user of the progress in downloading an App',
|
tr('downloadNotifDescription'),
|
||||||
Importance.low,
|
Importance.low,
|
||||||
onlyAlertOnce: true,
|
onlyAlertOnce: true,
|
||||||
progPercent: progPercent);
|
progPercent: progPercent);
|
||||||
|
@@ -142,7 +142,7 @@ preStandardizeUrl(String url) {
|
|||||||
return url;
|
return url;
|
||||||
}
|
}
|
||||||
|
|
||||||
const String noAPKFound = 'No APK found';
|
String noAPKFound = tr('noAPKFound');
|
||||||
|
|
||||||
List<String> getLinksFromParsedHTML(
|
List<String> getLinksFromParsedHTML(
|
||||||
Document dom, RegExp hrefPattern, String prependToLinks) =>
|
Document dom, RegExp hrefPattern, String prependToLinks) =>
|
||||||
@@ -196,8 +196,7 @@ class AppSource {
|
|||||||
],
|
],
|
||||||
[
|
[
|
||||||
GeneratedFormItem('noVersionDetection',
|
GeneratedFormItem('noVersionDetection',
|
||||||
label: 'Do not attempt version detection', // TODO
|
label: tr('noVersionDetection'), type: FormItemType.bool)
|
||||||
type: FormItemType.bool)
|
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user