Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Commit

Permalink
Add more localized ticket strings and rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
divadsn committed Feb 1, 2019
1 parent be55e3b commit 8f04b4e
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 18 deletions.
30 changes: 21 additions & 9 deletions app/src/main/res/values-pl/strings_tickets.xml
Original file line number Diff line number Diff line change
@@ -1,22 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Strings related to ticket status -->
<string name="ticket_status_active">Aktywny</string>
<string name="ticket_status_future">Przyszły</string>
<string name="ticket_status_pending">Oczekiwanie na płatność</string>
<string name="ticket_is_assigned">Powiązano</string>
<string name="ticket_is_not_assigned">Nie powiązano</string>

<!-- Strings related to ticket types -->
<string name="ticket_network_first_zone">Wszystkie linie I strefa</string>
<string name="ticket_network_second_zone">Wszystkie linie I i II strefa</string>
<string name="ticket_selected_lines">Wybrane linie</string>
<string name="ticket_type_network_first_zone">Wszystkie linie I strefa</string>
<string name="ticket_type_network_second_zone">Wszystkie linie I i II strefa</string>
<string name="ticket_type_selected_lines">Wybrane linie</string>

<!-- Strings related to ticket kinds -->
<string name="ticket_normal">Normalny</string>
<string name="ticket_normal_citizen">Normalny mieszkańca</string>
<string name="ticket_half_price">Ulgowy</string>
<string name="ticket_half_price_citizen">Ulgowy mieszkańca</string>
<string name="ticket_semester">Semestralny</string>
<string name="ticket_semester_citizen">Semestralny mieszkańca</string>
<string name="ticket_kind_normal">Normalny</string>
<string name="ticket_kind_normal_citizen">Normalny mieszkańca</string>
<string name="ticket_kind_half_price">Ulgowy</string>
<string name="ticket_kind_half_price_citizen">Ulgowy mieszkańca</string>
<string name="ticket_kind_semester">Semestralny</string>
<string name="ticket_kind_semester_citizen">Semestralny mieszkańca</string>

<!-- Strings related to ticket periods -->
<plurals name="ticket_period_months">
<item quantity="one">%d miesiąc</item>
<item quantity="few">%d miesiące</item>
<item quantity="many">%d miesięcy</item>
</plurals>

<!-- Strings related to ticket actions -->
<string name="ticket_action_assign">Powiąż z urządzeniem</string>
<string name="ticket_action_control">Kontrola biletów</string>
<string name="ticket_action_renew">Przedłuż</string>
</resources>
30 changes: 21 additions & 9 deletions app/src/main/res/values/strings_tickets.xml
Original file line number Diff line number Diff line change
@@ -1,21 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Strings related to ticket status -->
<string name="ticket_status_active">Active</string>
<string name="ticket_status_future">Future</string>
<string name="ticket_status_pending">Waiting for payment</string>
<string name="ticket_is_assigned">Assigned</string>
<string name="ticket_is_not_assigned">Not assigned</string>

<!-- Strings related to ticket types -->
<string name="ticket_network_first_zone">All lines first zone</string>
<string name="ticket_network_second_zone">All lines first and second zone</string>
<string name="ticket_selected_lines">Selected lines</string>
<string name="ticket_type_network_first_zone">All lines first zone</string>
<string name="ticket_type_network_second_zone">All lines first and second zone</string>
<string name="ticket_type_selected_lines">Selected lines</string>

<!-- Strings related to ticket kinds -->
<string name="ticket_normal">Normal</string>
<string name="ticket_normal_citizen">Normal citizen</string>
<string name="ticket_half_price">Half price</string>
<string name="ticket_half_price_citizen">Half price citizen</string>
<string name="ticket_semester">Semester</string>
<string name="ticket_semester_citizen">Semester citizen</string>
<string name="ticket_kind_normal">Normal</string>
<string name="ticket_kind_normal_citizen">Normal citizen</string>
<string name="ticket_kind_half_price">Half price</string>
<string name="ticket_kind_half_price_citizen">Half price citizen</string>
<string name="ticket_kind_semester">Semester</string>
<string name="ticket_kind_semester_citizen">Semester citizen</string>

<!-- Strings related to ticket periods -->
<plurals name="ticket_period_months">
<item quantity="one">%d month</item>
<item quantity="other">%d months</item>
</plurals>

<!-- Strings related to ticket actions -->
<string name="ticket_action_assign">Assign to device</string>
<string name="ticket_action_control">Ticket control</string>
<string name="ticket_action_renew">Renew</string>
</resources>

0 comments on commit 8f04b4e

Please sign in to comment.