Skip to content

Commit

Permalink
Remove subtitles on area screen
Browse files Browse the repository at this point in the history
  • Loading branch information
bubelov committed Jan 24, 2025
1 parent 1cf5f31 commit 0023982
Show file tree
Hide file tree
Showing 36 changed files with 0 additions and 170 deletions.
10 changes: 0 additions & 10 deletions app/src/main/kotlin/area/AreaFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -126,19 +126,9 @@ class AreaFragment : Fragment() {
}

is AreaModel.State.Loaded -> {
val elements =
state.items.filterIsInstance<AreaAdapter.Item.Element>().size

binding.topAppBar.title = state.area.tags.name()
binding.topAppBar.subtitle = resources.getQuantityString(
R.plurals.d_places,
elements,
elements,
)

binding.progress.isVisible = false
binding.list.isVisible = true

adapter.submitList(state.items)
}
}
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 @@ -65,10 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="one">%d place</item>
<item quantity="other">%d places</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
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 @@ -65,14 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="zero">%d places</item>
<item quantity="one">%d place</item>
<item quantity="two">%d places</item>
<item quantity="few">%d places</item>
<item quantity="many">%d places</item>
<item quantity="other">%d places</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
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 @@ -65,10 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="one">%d място</item>
<item quantity="other">%d места</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
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 @@ -65,10 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="one">%d place</item>
<item quantity="other">%d places</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
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 @@ -65,11 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="one">%d place</item>
<item quantity="many">%d places</item>
<item quantity="other">%d places</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
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 @@ -65,12 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="one">%d místo</item>
<item quantity="few">%d míst</item>
<item quantity="many">%d míst</item>
<item quantity="other">%d míst</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
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 @@ -65,10 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="one">%d place</item>
<item quantity="other">%d places</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
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 @@ -65,10 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="one">%d Standort</item>
<item quantity="other">%d Standorte</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
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 @@ -65,10 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="one">%d τοποθεσία</item>
<item quantity="other">%d τοποθεσίες</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
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 @@ -65,11 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="one">%d lugar</item>
<item quantity="many">%d lugares</item>
<item quantity="other">%d lugares</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
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 @@ -65,10 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="one">%d place</item>
<item quantity="other">%d places</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
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 @@ -65,10 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="one">%d place</item>
<item quantity="other">%d places</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
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 @@ -65,11 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="one">%d lieu</item>
<item quantity="many">%d lieux</item>
<item quantity="other">%d lieux</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
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 @@ -65,10 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="one">%d place</item>
<item quantity="other">%d places</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
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 @@ -65,10 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="one">%d place</item>
<item quantity="other">%d places</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
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 @@ -65,11 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="one">%d place</item>
<item quantity="many">%d places</item>
<item quantity="other">%d places</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
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 @@ -65,11 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="one">מקומות %d</item>
<item quantity="two">מקומות %d</item>
<item quantity="other">מקומות %d</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
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 @@ -65,9 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="other">%d places</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
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 @@ -65,9 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="other">%d places</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
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 @@ -65,10 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="one">%d place</item>
<item quantity="other">%d places</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
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 @@ -65,10 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="one">%d place</item>
<item quantity="other">%d places</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
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 @@ -65,12 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="one">%d place</item>
<item quantity="few">%d places</item>
<item quantity="many">%d places</item>
<item quantity="other">%d places</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
5 changes: 0 additions & 5 deletions app/src/main/res/values-pt-rBR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,6 @@
<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>
<plurals name="d_places">
<item quantity="one">%d lugar</item>
<item quantity="many">%d lugares</item>
<item quantity="other">%d lugares</item>
</plurals>
<string name="comment">Comentar</string>
<string name="generate_invoice">Gerar fatura</string>
<string name="add_comment">Adicionar comentário</string>
Expand Down
5 changes: 0 additions & 5 deletions app/src/main/res/values-pt/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,6 @@
<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>
<plurals name="d_places">
<item quantity="one">%d lugar</item>
<item quantity="many">%d lugares</item>
<item quantity="other">%d lugares</item>
</plurals>
<string name="comment">Comentar</string>
<string name="generate_invoice">Gerar fatura</string>
<string name="add_comment">Adicionar comentário</string>
Expand Down
5 changes: 0 additions & 5 deletions app/src/main/res/values-ro/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="one">%d place</item>
<item quantity="few">%d places</item>
<item quantity="other">%d places</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
6 changes: 0 additions & 6 deletions app/src/main/res/values-ru/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="one">%d место</item>
<item quantity="few">%d мест</item>
<item quantity="many">%d мест</item>
<item quantity="other">%d мест</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
5 changes: 0 additions & 5 deletions app/src/main/res/values-sr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@
<string name="delivery">Delivery</string>
<string name="add_element_comment_disclosure_1">All comments are anonymous but we collect a small fee in sats as a spam protection measure</string>
<string name="add_element_comment_disclosure_2">You can close this screen after paying an invoice and your comment will appear on the map shortly</string>
<plurals name="d_places">
<item quantity="one">%d place</item>
<item quantity="few">%d places</item>
<item quantity="other">%d places</item>
</plurals>
<string name="comment">Comment</string>
<string name="generate_invoice">Generate Invoice</string>
<string name="add_comment">Add Comment</string>
Expand Down
Loading

0 comments on commit 0023982

Please sign in to comment.