Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: tweaks to dev mode #5977

Draft
wants to merge 6 commits into
base: develop
Choose a base branch
from
Draft

fix: tweaks to dev mode #5977

wants to merge 6 commits into from

Conversation

teolemon
Copy link
Member

@teolemon teolemon commented Dec 1, 2024

What

  • fix: tweaks to dev mode
    This is the occassion to say that it would be good at some point:
  • To make all those strings translatable
  • To graduate preferences & help search to a real feature
  • To do Import/Export of Lists #3830 and remove the copy paste history export

…ferences_dev_mode.dart`

* Import `AppLocalizations` class.
* Replace untranslatable strings with `AppLocalizations` properties.
* Update references to the new translatable strings.

Add extracted strings to `app_en_tmp.arb`

* Add new translatable strings from `user_preferences_dev_mode.dart` to `app_en_tmp.arb`.
@teolemon teolemon linked an issue Dec 1, 2024 that may be closed by this pull request
@teolemon
Copy link
Member Author

teolemon commented Dec 1, 2024

Running 'flutter pub upgrade' in /home/runner/work/smooth-app/smooth-app/packages/smooth_app
[app_en.arb:dev_preferences_test_environment_subtitle] ICU Syntax Error: Expected "identifier" but found "0".
Current Test Environment: {0}
^
[app_en.arb:dev_preferences_news_provider_status_subtitle] ICU Syntax Error: Expected "identifier" but found "0".
Last update: {0}
^
[app_hu.arb:plural_ago_days] ICU Syntax Warning: The plural part specified below is overridden by a later plural part.
{count,plural, one {}=1{egy napja} other{{count} napja}}
^
[app_hu.arb:product_list_reloading_in_progress_multiple] ICU Syntax Warning: The plural part specified below is overridden by a later plural part.
{count,plural, one {}=0{Termék} =1{Termék} other{Termékek}} frissítése az előzményekben
^
[app_nl.arb:multiselect_title] ICU Syntax Warning: The plural part specified below is overridden by a later plural part.
{count,plural, one {}=0{Geen geselecteerd product} =1{Eén geselecteerd product} other{{count} geselecteerde producten}}
^
[app_nl.arb:product_list_reloading_success_multiple] ICU Syntax Warning: The plural part specified below is overridden by a later plural part.
{count,plural, one {}=0{Product} =1{Product} other{Producten}} vernieuwen voltooid
^
[app_nl.arb:prices_add_n_prices] ICU Syntax Warning: The plural part specified below is overridden by a later plural part.
{count,plural, one {}=1{Voeg een prijs toe} other{Voeg {count} prijzen toe}}
^
[app_nl.arb:prices_send_n_prices] ICU Syntax Warning: The plural part specified below is overridden by a later plural part.
{count,plural, one {}=1{Verstuur 1 prijs} other{Verstuur {count} prijzen}}
^
[app_pt.arb:prices_list_length_one_page] ICU Syntax Warning: The plural part specified below is overridden by a later plural part.
{count,plural, one {}=0{Ainda sem preço} =1{Apenas um preço} other{Todos os {count} preços}}
^
[app_uk.arb:prices_send_n_prices] ICU Syntax Warning: The plural part specified below is overridden by a later plural part.
{count,plural, one {Надіслати{count} ціну} few {Надіслати {count} ціни} many {Надіслати {count} цін}=1{Надіслати ціну} other{Надіслати {count} ціни}}
^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 💬 To discuss and validate
Development

Successfully merging this pull request may close these issues.

Cleanup of the DEV mode
1 participant