mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 09:38:54 +00:00
fix(i18n): labels the translators flagged, and two dashes in the UI
vi called the Tracks filter "songs", sv the pending status "commuting", nl the open-now pill "opening hours", and tr showed "its plan" on the Plan tab and "being suspended" for pending. The road trip strings added in August had lost their accents in eight languages (Arrive and Leave, the stay buttons, the whole day and halfway filters, the avoidance options), uk had a Latin i in "halfway", hu and tr called No tolls "free of charge", and az put an en dash between the two ends. sv and vi said "I owe" for I'm owed and You're owed, sv had "Namnn" as the table's Name, and th said "split equally" for Split matches total. The climate hint of the day details and the Unfinished tooltip in Costs lose their dash in every language.
This commit is contained in:
@@ -1275,7 +1275,7 @@ describe('CostsPanel — mobile layout', () => {
|
||||
expect(screen.getByText("You're owed")).toBeInTheDocument()
|
||||
expect(screen.getByText('Outstanding amount')).toBeInTheDocument()
|
||||
// The unfinished expense is flagged with a badge on its icon instead of a pill.
|
||||
expect(screen.getByRole('img', { name: 'Total only — not settled yet' })).toHaveTextContent('!')
|
||||
expect(screen.getByRole('img', { name: 'Total only: not settled yet' })).toHaveTextContent('!')
|
||||
expect(screen.queryByText('Unfinished')).not.toBeInTheDocument()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user