Skip to content

Commit

Permalink
Merge pull request #29 from KomodoPlatform/dev
Browse files Browse the repository at this point in the history
sync master
  • Loading branch information
ca333 authored Jun 12, 2023
2 parents d8d9088 + 528887b commit 48e2d38
Show file tree
Hide file tree
Showing 13 changed files with 12,830 additions and 8,924 deletions.
9 changes: 4 additions & 5 deletions lib/l10n/messages_all.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,8 @@ MessageLookupByLibrary _findExact(String localeName) {
/// User programs should call this before using [localeName] for messages.
Future<bool> initializeMessages(String localeName) async {
final availableLocale = Intl.verifiedLocale(
localeName,
(locale) => _deferredLibraries[locale] != null,
onFailure: (_) => null);
localeName, (locale) => _deferredLibraries[locale] != null,
onFailure: (_) => null);
if (availableLocale == null) {
return Future.value(false);
}
Expand All @@ -97,8 +96,8 @@ bool _messagesExistFor(String locale) {
}

MessageLookupByLibrary _findGeneratedMessagesFor(String locale) {
final actualLocale = Intl.verifiedLocale(locale, _messagesExistFor,
onFailure: (_) => null);
final actualLocale =
Intl.verifiedLocale(locale, _messagesExistFor, onFailure: (_) => null);
if (actualLocale == null) return null;
return _findExact(actualLocale);
}
2,080 changes: 1,260 additions & 820 deletions lib/l10n/messages_de.dart

Large diffs are not rendered by default.

2,049 changes: 1,237 additions & 812 deletions lib/l10n/messages_es.dart

Large diffs are not rendered by default.

2,060 changes: 1,241 additions & 819 deletions lib/l10n/messages_fr.dart

Large diffs are not rendered by default.

2,051 changes: 1,235 additions & 816 deletions lib/l10n/messages_hu.dart

Large diffs are not rendered by default.

1,846 changes: 1,045 additions & 801 deletions lib/l10n/messages_ja.dart

Large diffs are not rendered by default.

1,832 changes: 1,030 additions & 802 deletions lib/l10n/messages_ko.dart

Large diffs are not rendered by default.

1,988 changes: 1,179 additions & 809 deletions lib/l10n/messages_messages.dart

Large diffs are not rendered by default.

2,041 changes: 1,226 additions & 815 deletions lib/l10n/messages_ru.dart

Large diffs are not rendered by default.

2,020 changes: 1,203 additions & 817 deletions lib/l10n/messages_tr.dart

Large diffs are not rendered by default.

2,049 changes: 1,236 additions & 813 deletions lib/l10n/messages_uk.dart

Large diffs are not rendered by default.

1,728 changes: 934 additions & 794 deletions lib/l10n/messages_zh.dart

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion lib/services/mm.dart
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,6 @@ class ApiProvider {
final r = await userBody.client
.post(Uri.parse(url), body: getPrivKeyToJson(userBody.body));
_assert200(r);
_saveRes('getPrivKey', r);

// Parse JSON once, then check if the JSON is an error.
final dynamic jbody = json.decode(r.body);
Expand Down

0 comments on commit 48e2d38

Please sign in to comment.