Skip to content

Commit

Permalink
Reword label to make it easier to translate
Browse files Browse the repository at this point in the history
  • Loading branch information
bubelov committed Jan 24, 2025
1 parent 466d41f commit cce2b30
Show file tree
Hide file tree
Showing 36 changed files with 145 additions and 306 deletions.
3 changes: 1 addition & 2 deletions app/src/main/kotlin/element/ElementFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,7 @@ class ElementFragment : Fragment() {
val comments = runBlocking { elementCommentRepo.selectByElementId(element.id) }
binding.commentsTitle.text = getString(R.string.comments_d, comments.size)
binding.commentsTitle.isVisible = comments.isNotEmpty()
binding.comments.text =
resources.getQuantityString(R.plurals.d_comments, comments.size, comments.size)
binding.comments.text = getString(R.string.comments_d, comments.size)
commentsAdapter.submitList(comments)
}

Expand Down
4 changes: 0 additions & 4 deletions app/src/main/res/values-af/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,4 @@
<string name="comments">Comments</string>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
<plurals name="d_comments">
<item quantity="one">Comment (%d)</item>
<item quantity="other">Comments (%d)</item>
</plurals>
</resources>
8 changes: 0 additions & 8 deletions app/src/main/res/values-ar/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,4 @@
<string name="comments">Comments</string>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
<plurals name="d_comments">
<item quantity="zero">Comments (%d)</item>
<item quantity="one">Comment (%d)</item>
<item quantity="two">Comments(%d)</item>
<item quantity="few">Comments (%d)</item>
<item quantity="many">Comments (%d)</item>
<item quantity="other">Comments (%d)</item>
</plurals>
</resources>
4 changes: 0 additions & 4 deletions app/src/main/res/values-bg/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,4 @@
<string name="comments">Comments</string>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
<plurals name="d_comments">
<item quantity="one">Comment (%d)</item>
<item quantity="other">Comments (%d)</item>
</plurals>
</resources>
4 changes: 0 additions & 4 deletions app/src/main/res/values-bn/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,4 @@
<string name="comments">Comments</string>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
<plurals name="d_comments">
<item quantity="one">Comment (%d)</item>
<item quantity="other">Comments (%d)</item>
</plurals>
</resources>
5 changes: 0 additions & 5 deletions app/src/main/res/values-ca/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,4 @@
<string name="comments">Comments</string>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
<plurals name="d_comments">
<item quantity="one">Comment (%d)</item>
<item quantity="many">Comments (%d)</item>
<item quantity="other">Comments (%d)</item>
</plurals>
</resources>
6 changes: 0 additions & 6 deletions app/src/main/res/values-cs/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,4 @@
<string name="comments">Comments</string>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
<plurals name="d_comments">
<item quantity="one">Comment (%d)</item>
<item quantity="few">Comments (%d)</item>
<item quantity="many">Comments (%d)</item>
<item quantity="other">Comments (%d)</item>
</plurals>
</resources>
4 changes: 0 additions & 4 deletions app/src/main/res/values-da/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,4 @@
<string name="comments">Comments</string>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
<plurals name="d_comments">
<item quantity="one">Comment (%d)</item>
<item quantity="other">Comments (%d)</item>
</plurals>
</resources>
4 changes: 0 additions & 4 deletions app/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,4 @@
<string name="comments">Comments</string>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
<plurals name="d_comments">
<item quantity="one">Comment (%d)</item>
<item quantity="other">Comments (%d)</item>
</plurals>
</resources>
4 changes: 0 additions & 4 deletions app/src/main/res/values-el/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,4 @@
<string name="comments">Comments</string>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
<plurals name="d_comments">
<item quantity="one">Comment (%d)</item>
<item quantity="other">Comments (%d)</item>
</plurals>
</resources>
5 changes: 0 additions & 5 deletions app/src/main/res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,4 @@
<string name="comments">Comments</string>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
<plurals name="d_comments">
<item quantity="one">Comment (%d)</item>
<item quantity="many">Comments (%d)</item>
<item quantity="other">Comments (%d)</item>
</plurals>
</resources>
4 changes: 0 additions & 4 deletions app/src/main/res/values-fa/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,4 @@
<string name="comments">Comments</string>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
<plurals name="d_comments">
<item quantity="one">Comment (%d)</item>
<item quantity="other">Comments (%d)</item>
</plurals>
</resources>
4 changes: 0 additions & 4 deletions app/src/main/res/values-fi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,4 @@
<string name="comments">Comments</string>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
<plurals name="d_comments">
<item quantity="one">Comment (%d)</item>
<item quantity="other">Comments (%d)</item>
</plurals>
</resources>
5 changes: 0 additions & 5 deletions app/src/main/res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,4 @@
<string name="comments">Comments</string>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
<plurals name="d_comments">
<item quantity="one">Comment (%d)</item>
<item quantity="many">Comments (%d)</item>
<item quantity="other">Comments (%d)</item>
</plurals>
</resources>
4 changes: 0 additions & 4 deletions app/src/main/res/values-hi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,4 @@
<string name="comments">Comments</string>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
<plurals name="d_comments">
<item quantity="one">Comment (%d)</item>
<item quantity="other">Comments (%d)</item>
</plurals>
</resources>
4 changes: 0 additions & 4 deletions app/src/main/res/values-hu/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,4 @@
<string name="comments">Comments</string>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
<plurals name="d_comments">
<item quantity="one">Comment (%d)</item>
<item quantity="other">Comments (%d)</item>
</plurals>
</resources>
5 changes: 0 additions & 5 deletions app/src/main/res/values-it/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,4 @@
<string name="comments">Comments</string>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
<plurals name="d_comments">
<item quantity="one">Comment (%d)</item>
<item quantity="many">Comments (%d)</item>
<item quantity="other">Comments (%d)</item>
</plurals>
</resources>
5 changes: 0 additions & 5 deletions app/src/main/res/values-iw/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,4 @@
<string name="comments">Comments</string>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
<plurals name="d_comments">
<item quantity="one">Comment (%d)</item>
<item quantity="two">Comments (%d)</item>
<item quantity="other">Comments (%d)</item>
</plurals>
</resources>
3 changes: 0 additions & 3 deletions app/src/main/res/values-ja/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,4 @@
<string name="comments">Comments</string>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
<plurals name="d_comments">
<item quantity="other">Comments (%d)</item>
</plurals>
</resources>
3 changes: 0 additions & 3 deletions app/src/main/res/values-ko/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,4 @@
<string name="comments">Comments</string>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
<plurals name="d_comments">
<item quantity="other">Comments (%d)</item>
</plurals>
</resources>
4 changes: 0 additions & 4 deletions app/src/main/res/values-nl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,4 @@
<string name="comments">Comments</string>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
<plurals name="d_comments">
<item quantity="one">Comment (%d)</item>
<item quantity="other">Comments (%d)</item>
</plurals>
</resources>
4 changes: 0 additions & 4 deletions app/src/main/res/values-no/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,4 @@
<string name="comments">Comments</string>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
<plurals name="d_comments">
<item quantity="one">Comment (%d)</item>
<item quantity="other">Comments (%d)</item>
</plurals>
</resources>
6 changes: 0 additions & 6 deletions app/src/main/res/values-pl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,4 @@
<string name="comments">Comments</string>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
<plurals name="d_comments">
<item quantity="one">Comment (%d)</item>
<item quantity="few">Comments (%d)</item>
<item quantity="many">Comments (%d)</item>
<item quantity="other">Comments (%d)</item>
</plurals>
</resources>
149 changes: 72 additions & 77 deletions app/src/main/res/values-pt-rBR/strings.xml
Original file line number Diff line number Diff line change
@@ -1,81 +1,76 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">BTC Map</string>
<string name="add_location">Adicionar local</string>
<string name="kilometers_short">km</string>
<string name="icon">Ícone</string>
<string name="donate">Doar</string>
<string name="qr_code">QR Code</string>
<string name="copied_to_clipboard">Copiar</string>
<string name="btc_map_donation_address">Endereço de doações do BTC Map</string>
<string name="show_my_location">Mostrar minha localização</string>
<string name="search_here">Pesquise aqui</string>
<string name="settings">Configurações</string>
<string name="trends">Tendências</string>
<string name="up_to_date_places">Lugares atualizados</string>
<string name="total_places">Total de lugares</string>
<string name="pay">Pagar</string>
<string name="you_dont_have_a_compatible_wallet">Você não possui uma carteira compatével</string>
<string name="communities">Comunidades</string>
<string name="latest_changes">Últimas alterações</string>
<string name="tip">⚡ Pagar</string>
<string name="view_on_osm">Ver no OSM</string>
<string name="edit_on_osm">Editar no OSM</string>
<string name="editor_manual">Editor manual</string>
<string name="users">Usuários</string>
<string name="by_s">por %1$s</string>
<string name="unnamed">Sem nome</string>
<string name="unnamed_user">Usuário sem nome</string>
<string name="not_verified">Não verificado</string>
<string name="show_more">Mostrar mais</string>
<string name="verify">Verificar ou reportar</string>
<string name="atm">Caixa eletrônico</string>
<string name="checkmark_icon">Ícone de sinal de verificação</string>
<string name="database">Banco de dados</string>
<string name="updated_s">Atualizado em: %1$s</string>
<string name="database_is_empty">O banco de dados está vazio</string>
<string name="category_atm">Caixa eletrônico</string>
<string name="category_atm_plural">Caixas eletrônicos</string>
<string name="category_bar">Bar</string>
<string name="category_bar_plural">Bares</string>
<string name="category_cafe">Café</string>
<string name="category_cafe_plural">Cafés</string>
<string name="category_hotel">Hotel</string>
<string name="category_hotel_plural">Hotéis</string>
<string name="category_other_plural">Outros</string>
<string name="category_pub">Pub</string>
<string name="category_pub_plural">Pubs</string>
<string name="category_restaurant">Restaurante</string>
<string name="category_restaurant_plural">Restaurantes</string>
<string name="show_atms">Mostrar CEs</string>
<string name="pay_onchain">Pagar On-chain</string>
<string name="pay_with_lightning">Pagamentos com Lightning</string>
<string name="image">Imagem</string>
<string name="issues">Problemas</string>
<string name="sync_failed_s">A sincronização falhou: %1$s</string>
<string name="new_local_merchant_accepts_bitcoins">Novo comerciante local está aceitando bitcoins</string>
<string name="show_sync_summary">Mostrar sumário de sincronização</string>
<string name="directions">Direções</string>
<string name="share">Compartilhar</string>
<string name="unknown">Desconhecido</string>
<string name="companion_warning">É necessário usar o app externo (%1$s) para fazer o pagamento. Este app não exige que você informe dados pessoais, até onde sabemos. Se não for o caso, por favor informe-nos para removermos este local.</string>
<string name="percentage_of_verified_places">Porcentagem de locais verificados</string>
<string name="days_since_verified">Dias desde a última verificação</string>
<string name="delivery">Entrega</string>
<string name="add_element_comment_disclosure_1">Todos os comentários são anônimos, mas cobramos uma pequena taxa em sats como medida de proteção de spam</string>
<string name="add_element_comment_disclosure_2">Você pode fechar esta tela após pagar uma fatura e o seu comentário irá aparecer no mapa em breve</string>
<string name="comment">Comentar</string>
<string name="generate_invoice">Gerar fatura</string>
<string name="add_comment">Adicionar comentário</string>
<string name="error">Erro</string>
<string name="close">Fechar</string>
<string name="invalid_payment_url">URL de pagamento inválida</string>
<string name="app_name">BTC Map</string>
<string name="add_location">Adicionar local</string>
<string name="kilometers_short">km</string>
<string name="icon">Ícone</string>
<string name="donate">Doar</string>
<string name="qr_code">QR Code</string>
<string name="copied_to_clipboard">Copiar</string>
<string name="btc_map_donation_address">Endereço de doações do BTC Map</string>
<string name="show_my_location">Mostrar minha localização</string>
<string name="search_here">Pesquise aqui</string>
<string name="settings">Configurações</string>
<string name="trends">Tendências</string>
<string name="up_to_date_places">Lugares atualizados</string>
<string name="total_places">Total de lugares</string>
<string name="pay">Pagar</string>
<string name="you_dont_have_a_compatible_wallet">Você não possui uma carteira compatével</string>
<string name="communities">Comunidades</string>
<string name="latest_changes">Últimas alterações</string>
<string name="tip">⚡ Pagar</string>
<string name="view_on_osm">Ver no OSM</string>
<string name="edit_on_osm">Editar no OSM</string>
<string name="editor_manual">Editor manual</string>
<string name="users">Usuários</string>
<string name="by_s">por %1$s</string>
<string name="unnamed">Sem nome</string>
<string name="unnamed_user">Usuário sem nome</string>
<string name="not_verified">Não verificado</string>
<string name="show_more">Mostrar mais</string>
<string name="verify">Verificar ou reportar</string>
<string name="atm">Caixa eletrônico</string>
<string name="checkmark_icon">Ícone de sinal de verificação</string>
<string name="database">Banco de dados</string>
<string name="updated_s">Atualizado em: %1$s</string>
<string name="database_is_empty">O banco de dados está vazio</string>
<string name="category_atm">Caixa eletrônico</string>
<string name="category_atm_plural">Caixas eletrônicos</string>
<string name="category_bar">Bar</string>
<string name="category_bar_plural">Bares</string>
<string name="category_cafe">Café</string>
<string name="category_cafe_plural">Cafés</string>
<string name="category_hotel">Hotel</string>
<string name="category_hotel_plural">Hotéis</string>
<string name="category_other_plural">Outros</string>
<string name="category_pub">Pub</string>
<string name="category_pub_plural">Pubs</string>
<string name="category_restaurant">Restaurante</string>
<string name="category_restaurant_plural">Restaurantes</string>
<string name="show_atms">Mostrar CEs</string>
<string name="pay_onchain">Pagar On-chain</string>
<string name="pay_with_lightning">Pagamentos com Lightning</string>
<string name="image">Imagem</string>
<string name="issues">Problemas</string>
<string name="sync_failed_s">A sincronização falhou: %1$s</string>
<string name="new_local_merchant_accepts_bitcoins">Novo comerciante local está aceitando bitcoins</string>
<string name="show_sync_summary">Mostrar sumário de sincronização</string>
<string name="directions">Direções</string>
<string name="share">Compartilhar</string>
<string name="unknown">Desconhecido</string>
<string name="companion_warning">É necessário usar o app externo (%1$s) para fazer o pagamento. Este app não exige que você informe dados pessoais, até onde sabemos. Se não for o caso, por favor informe-nos para removermos este local.</string>
<string name="percentage_of_verified_places">Porcentagem de locais verificados</string>
<string name="days_since_verified">Dias desde a última verificação</string>
<string name="delivery">Entrega</string>
<string name="add_element_comment_disclosure_1">Todos os comentários são anônimos, mas cobramos uma pequena taxa em sats como medida de proteção de spam</string>
<string name="add_element_comment_disclosure_2">Você pode fechar esta tela após pagar uma fatura e o seu comentário irá aparecer no mapa em breve</string>
<string name="comment">Comentar</string>
<string name="generate_invoice">Gerar fatura</string>
<string name="add_comment">Adicionar comentário</string>
<string name="error">Erro</string>
<string name="close">Fechar</string>
<string name="invalid_payment_url">URL de pagamento inválida</string>
<string name="comments">Comments</string>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
<plurals name="d_comments">
<item quantity="one">Comment (%d)</item>
<item quantity="many">Comments (%d)</item>
<item quantity="other">Comments (%d)</item>
</plurals>
<string name="add">Add</string>
<string name="issues_d">Issues: %1$d</string>
</resources>
Loading

0 comments on commit cce2b30

Please sign in to comment.