mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-27 15:17:30 +00:00
9a7c17e7cc
The count-string gate only knew {count} and {n}, the params t() picks a
plural form by. A quantity named anything else kept one form in every
language and passed: Russian read "Все {days} дней" for 2 days and
"{objects} объектов" for 3 objects, Greek "{minutes} λεπτά" for 1 minute.
Twelve such en strings become plural groups with their forms in all 27
locales, the quantity renamed to {count}: the trip length limit, the
chat image limit, the API key limit, the storage move prompt and its
reclaimable line, the Dawarich wish rule and suggestion duration, the
road trip lateness warnings, and the road trip echo and window texts.
Their callers pass the count as a number; the storage panels used to
pass it as a string, which no form is picked by. The reclaimable line
loses its dash for a comma in every locale while it is rewritten.
i18n-parity now treats the quantity names in QUANTITY_PARAMS ({days},
{minutes}, {objects}, {max} and the like) like {count}. The four strings
where the number is followed by nothing but a unit symbol (the Dawarich
durations, the upload size limit) go on NOT_PLURAL with that reason.
111 lines
5.2 KiB
TypeScript
111 lines
5.2 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const collab: TranslationStrings = {
|
|
'collab.tabs.chat': 'Missatges',
|
|
'collab.tabs.notes': 'Notes',
|
|
'collab.tabs.polls': 'Enquestes',
|
|
'collab.tabs.links': 'Enllaços',
|
|
'collab.links.add': 'Afegeix un enllaç',
|
|
'collab.chat.imageRejected': "Només s'admeten imatges JPEG, PNG, GIF i WebP de fins a 10 MB",
|
|
'collab.links.cancel': 'Cancel·la',
|
|
'collab.links.save': "Desa l'enllaç",
|
|
'collab.links.titlePlaceholder': "Títol de l'enllaç",
|
|
'collab.links.urlPlaceholder': 'https://...',
|
|
'collab.links.empty': 'Encara no hi ha enllaços compartits',
|
|
'collab.links.pin': "Fixa l'enllaç",
|
|
'collab.links.unpin': "Desfixa l'enllaç",
|
|
'collab.links.delete': "Suprimeix l'enllaç",
|
|
'collab.links.edit': "Edita l'enllaç",
|
|
'collab.links.open': "Obre l'enllaç",
|
|
'collab.links.confirmDeleteTitle': "Suprimir l'enllaç?",
|
|
'collab.links.confirmDeleteBody': 'Aquest enllaç se suprimirà permanentment.',
|
|
'collab.whatsNext.title': 'Què ve ara',
|
|
'collab.whatsNext.today': 'Avui',
|
|
'collab.whatsNext.tomorrow': 'Demà',
|
|
'collab.whatsNext.empty': 'No hi ha activitats properes',
|
|
'collab.whatsNext.until': 'fins a',
|
|
'collab.whatsNext.emptyHint': 'Les activitats amb hora apareixeran aquí',
|
|
'collab.chat.send': 'Envia',
|
|
'collab.chat.placeholder': 'Escriu un missatge...',
|
|
'collab.chat.empty': 'Comença la conversa',
|
|
'collab.chat.emptyHint': 'Els missatges es comparteixen amb tots els membres del viatge',
|
|
'collab.chat.emptyDesc': 'Comparteix idees, plans i novetats amb el teu grup de viatge',
|
|
'collab.chat.today': 'Avui',
|
|
'collab.chat.yesterday': 'Ahir',
|
|
'collab.chat.deletedMessage': 'va eliminar un missatge',
|
|
'collab.chat.reply': 'Respon',
|
|
'collab.chat.loadMore': 'Carrega missatges anteriors',
|
|
'collab.chat.justNow': 'ara mateix',
|
|
'collab.chat.minutesAgo': 'fa {n} min',
|
|
'collab.chat.minutesAgo.one': 'fa {n} min',
|
|
'collab.chat.hoursAgo': 'fa {n} h',
|
|
'collab.chat.hoursAgo.one': 'fa {n} h',
|
|
'collab.notes.title': 'Notes',
|
|
'collab.notes.new': 'Nota nova',
|
|
'collab.notes.empty': 'Encara no hi ha notes',
|
|
'collab.notes.emptyHint': 'Comença a capturar idees i plans',
|
|
'collab.notes.all': 'Totes',
|
|
'collab.notes.titlePlaceholder': 'Títol de la nota',
|
|
'collab.notes.content': 'Contingut',
|
|
'collab.notes.removeFile': 'Elimina {name}',
|
|
'collab.notes.contentPlaceholder': 'Escriu alguna cosa...',
|
|
'collab.notes.categoryPlaceholder': 'Categoria',
|
|
'collab.notes.newCategory': 'Categoria nova...',
|
|
'collab.notes.category': 'Categoria',
|
|
'collab.notes.noCategory': 'Sense categoria',
|
|
'collab.notes.color': 'Color',
|
|
'collab.notes.save': 'Desa',
|
|
'collab.notes.cancel': 'Cancel·la',
|
|
'collab.notes.edit': 'Edita',
|
|
'collab.notes.delete': 'Elimina',
|
|
'collab.notes.confirmDeleteTitle': 'Vols eliminar la nota?',
|
|
'collab.notes.confirmDeleteBody': "Aquesta nota s'eliminarà de manera permanent.",
|
|
'collab.notes.pin': 'Fixa',
|
|
'collab.notes.unpin': 'Desfixa',
|
|
'collab.notes.daysAgo': 'fa {n} d',
|
|
'collab.notes.daysAgo.one': 'fa {n} d',
|
|
'collab.notes.categorySettings': 'Gestiona les categories',
|
|
'collab.notes.create': 'Crea',
|
|
'collab.notes.website': 'Lloc web',
|
|
'collab.notes.websitePlaceholder': 'https://...',
|
|
'collab.notes.attachFiles': 'Adjunta fitxers',
|
|
'collab.notes.noCategoriesYet': 'Encara no hi ha categories',
|
|
'collab.notes.emptyDesc': 'Crea una nota per començar',
|
|
'collab.polls.title': 'Enquestes',
|
|
'collab.polls.new': 'Enquesta nova',
|
|
'collab.polls.empty': 'Encara no hi ha enquestes',
|
|
'collab.polls.emptyHint': 'Pregunta al grup i voteu plegats',
|
|
'collab.polls.question': 'Pregunta',
|
|
'collab.polls.questionPlaceholder': 'Què hauríem de fer?',
|
|
'collab.polls.markdownHint': 'Compatible amb Markdown',
|
|
'collab.polls.addOption': '+ Afegeix una opció',
|
|
'collab.polls.optionPlaceholder': 'Opció {n}',
|
|
'collab.polls.create': "Crea l'enquesta",
|
|
'collab.polls.close': 'Tanca',
|
|
'collab.polls.closed': 'Tancada',
|
|
'collab.polls.votes': '{n} vots',
|
|
'collab.polls.votes.one': '{n} vot',
|
|
'collab.polls.multipleChoice': 'Selecció múltiple',
|
|
'collab.polls.multiChoice': 'Selecció múltiple',
|
|
'collab.polls.deadline': 'Data límit',
|
|
'collab.polls.option': 'Opció',
|
|
'collab.polls.options': 'Opcions',
|
|
'collab.polls.delete': 'Elimina',
|
|
'collab.polls.closedSection': 'Tancades',
|
|
'collab.chat.readOnly': 'Accés només de lectura a aquest xat',
|
|
'collab.chat.messageOptions': 'Opcions del missatge',
|
|
'collab.polls.confirmDeleteTitle': "Vols eliminar l'enquesta?",
|
|
'collab.polls.confirmDeleteBody': 'Aquesta enquesta quedarà eliminada permanentment.',
|
|
'collab.polls.countdownDaysHours': '{d}d {h}h restants',
|
|
'collab.polls.countdownHoursMinutes': '{h}h {m}m restants',
|
|
'collab.polls.countdownMinutes': '{m}m restants',
|
|
'collab.polls.clearDeadline': 'Esborra la data límit',
|
|
'collab.chat.imageLimit': 'Pots adjuntar fins a {count} imatges per missatge',
|
|
'collab.chat.imageLimit.one': 'Només pots adjuntar {count} imatge per missatge',
|
|
'collab.chat.uploading': 'Pujant {percent} %',
|
|
'collab.chat.attachImages': 'Adjunta imatges',
|
|
'collab.chat.attachedImage': 'Imatge adjunta',
|
|
'collab.chat.closeImage': 'Tanca la imatge',
|
|
};
|
|
export default collab;
|