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

Improving Portuguese translations + Compose string use #267

Merged
merged 2 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -369,13 +369,13 @@ private fun ZeDrawerContent(
NavDrawerItem(
onClick = onSaveAllClick,
painter = painterResource(id = R.drawable.save_all),
text = "Save all pages to badge",
text = stringResource(id = R.string.ze_navdrawer_save_all_pages),
)
}

item {
NavDrawerItem(
text = "Update config on badge",
text = stringResource(id = R.string.ze_navdrawer_update_config),
vector = Icons.Default.ThumbUp,
onClick = onUpdateConfig,
)
Expand All @@ -384,7 +384,7 @@ private fun ZeDrawerContent(
item {
NavDrawerItem(
painter = painterResource(id = R.drawable.ic_random),
text = "Send random page to badge",
text = stringResource(id = R.string.ze_navdrawer_send_random_page),
onClick = onGetStoredPages,
)
}
Expand All @@ -402,7 +402,7 @@ private fun ZeDrawerContent(

item {
NavDrawerItem(
text = "Open release page",
text = stringResource(id = R.string.ze_navdrawer_open_release_page),
painter = painterResource(id = R.drawable.ic_update),
onClick = onGotoReleaseClick,
)
Expand Down
13 changes: 9 additions & 4 deletions zeapp/android/src/main/res/values-pt-rBR/strings.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<string name="app_name">Ze Androft</string>
<string name="repo_url" translatable="false">https://github.com/gdg-berlin-android</string>

<string name="black_and_white">P/B</string>
<string name="reset">Resetar</string>
<string name="floyd_steninberg_initials">FS</string>
<string name="positional">Posicional</string>
<string name="rotate">Rotacionar</string>
<string name="invert">Inverter</string>

<string name="static_tool">Estático</string>
<string name="generate">Gerar</string>
<string name="not_binary_image">Não é uma imagem binária. Certifique-se que todos os pixels sejam pretos ou brancos.</string>
<string name="generate_image_page">Gerar uma página de imagem</string>
Expand Down Expand Up @@ -51,5 +48,13 @@
<string name="hello_my_name_is">Olá, meu nome é</string>
<string name="upcoming_weather">☀️Previsão do tempo</string>
<string name="quote_of_the_day">Mensagem do dia</string>
<string name="send_icon_text">Enviar</string>
<string name="badge_config_editor_title">Editar configuração do crachá</string>


<string name="ze_navdrawer_save_all_pages">Salvar todas as páginas no crachá</string>
<string name="ze_navdrawer_update_config">Atualizar configuração no crachá</string>
<string name="ze_navdrawer_send_random_page">Enviar página aleatória para o crachá</string>
<string name="ze_navdrawer_open_release_page">Abrir página de lançamentos</string>

</resources>
5 changes: 5 additions & 0 deletions zeapp/android/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,9 @@
<string name="quote_of_the_day" tools:ignore="MissingTranslation">Quote of The Day</string>
<string name="send_icon_text" tools:ignore="MissingTranslation">Send</string>
<string name="badge_config_editor_title">Edit Badge Configuration</string>

<string name="ze_navdrawer_save_all_pages">Save all pages to badge</string>
<string name="ze_navdrawer_update_config">Update config on badge</string>
<string name="ze_navdrawer_send_random_page">Send random page to badge</string>
<string name="ze_navdrawer_open_release_page">Open release page</string>
</resources>
Loading