Skip to content

Commit

Permalink
Rename default locale to system locale
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Dec 13, 2023
1 parent 1ddebc6 commit 9cea746
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"background": "Background",
"box": "Box",
"locale": "Locale",
"defaultLocale": "Default locale",
"systemLocale": "System locale",
"information": "Information",
"license": "License",
"imprint": "Imprint",
Expand Down
4 changes: 2 additions & 2 deletions app/lib/settings/personalization.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class PersonalizationSettingsPage extends StatelessWidget {

String _getLocaleName(BuildContext context, String locale) =>
LocaleNames.of(context)?.nameOf(locale) ??
AppLocalizations.of(context).defaultLocale;
AppLocalizations.of(context).systemLocale;

@override
Widget build(BuildContext context) {
Expand Down Expand Up @@ -299,7 +299,7 @@ class PersonalizationSettingsPage extends StatelessWidget {

return [
ListTile(
title: Text(AppLocalizations.of(context).defaultLocale),
title: Text(AppLocalizations.of(context).systemLocale),
selected: currentLocale.isEmpty,
onTap: () => changeLocale(null)),
...locales.map((e) => ListTile(
Expand Down
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/changelogs/83.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
* Improve performance when saving ([#547](https://github.com/LinwoodDev/Butterfly/issues/547))
* Improve mobile add dialog
* Improve selected icons in settings
* Rename default locale to system locale
* Fix calling onScale to tools on moving on touch devices ([#546](https://github.com/LinwoodDev/Butterfly/issues/546))
* Fix exporting documents as png or svg

Expand Down

0 comments on commit 9cea746

Please sign in to comment.