Commit Graph

35 Commits

Author SHA1 Message Date
schlagmichdoch 6de97e7ff1 Put all log prompts into new Logger class; Only log debugging logs to console if PairDrop is in debug mode; Implement activation of debug mode via URL argument (`?debug=true`) 2024-02-09 01:55:37 +01:00
schlagmichdoch b90924af68 Merge branch 'master' into translate 2023-12-15 23:51:11 +01:00
schlagmichdoch 939ca3d35d Enable Kannada translation 2023-12-15 22:08:25 +01:00
schlagmichdoch c08b324d6a Refactor localization.js 2023-12-15 21:20:35 +01:00
schlagmichdoch 9b8d824bfc Enable Catalan translation (fixes #217) 2023-12-13 17:33:02 +01:00
schlagmichdoch da56a7b6bc Merge branch 'next' into translate 2023-12-11 20:10:38 +01:00
schlagmichdoch b5535c7ace Make overflowing icons expandable via caret button and fix header btn opacity 2023-12-09 19:13:27 +01:00
schlagmichdoch 25d6595a8f Use default translation if any placeholder is missing in the translation string 2023-12-08 13:57:19 +01:00
schlagmichdoch a8242cecf7 Refactor URL arguments, localStorage and sessionStorage entries, and IndexedDB/PersistentStorage entries to snake_case. 2023-12-08 13:57:19 +01:00
schlagmichdoch 5a2ec9c670 Load initial translation as proper async call instead of using an event 2023-11-23 19:59:29 +01:00
schlagmichdoch d78c138dad Merge branch 'next' into translate 2023-11-23 19:46:02 +01:00
Luiz Fernando 1e5bae6c21 add Brazilian Portuguese translate 2023-11-16 15:02:13 -03:00
schlagmichdoch 9a2227c30f Enable Turkish translation 2023-11-09 01:02:52 +01:00
schlagmichdoch 55d85ea7fb fix localization of html data attributes 2023-11-09 01:02:14 +01:00
schlagmichdoch d9270a5560 Try to beautify code by adding line breaks 2023-11-09 00:59:55 +01:00
schlagmichdoch ddeafd1b46 Merge branch 'translate' to add Turkish translation 2023-10-31 08:19:07 +01:00
schlagmichdoch f8e7213501 Enable Turkish translation 2023-10-31 08:18:23 +01:00
schlagmichdoch 84986e4eef try the generalized version of a language code before resorting to the default language (es-US -> es) 2023-10-20 19:27:15 +02:00
schlagmichdoch 5b2bebcdee fix modes for preload link and fetching request do not match 2023-10-13 23:07:35 +02:00
schlagmichdoch 4854c816a4 Enable Arabic, Dutch, Italian, Japanese and Spanish translations 2023-10-11 18:04:00 +02:00
schlagmichdoch 117a4d3eb9 adjustments to add right-to-left language 2023-10-11 18:04:00 +02:00
Jimmy GALLAND d082a885c4 add french translate
Co-authored-by: schlagmichdoch <schlagmichdoch@users.noreply.github.com>
2023-10-01 17:14:39 +02:00
schlagmichdoch d7e25dc2d4 Activate Romanian and Indonesian translations 2023-09-22 02:07:45 +02:00
schlagmichdoch 5625bf6f93 Add missing strings form public room dialog to translation files 2023-09-19 00:23:19 +02:00
schlagmichdoch 0bae7c84bd Enable German translation 2023-09-18 21:27:48 +02:00
schlagmichdoch 3f1477f24a Fix public room badge not translating correctly when switching languages 2023-09-14 20:23:04 +02:00
schlagmichdoch 02911804cb add default values to Localization.getTranslation function 2023-09-13 18:33:17 +02:00
schlagmichdoch 17afa18d84 add translation selector and fix translation of data-attributes 2023-08-30 14:57:40 +02:00
schlagmichdoch 19f56a8499 enable Norwegian, Russian, and Chinese 2023-08-29 02:33:54 +02:00
schlagmichdoch abc06fcc21 fix translation fallback for sparely translated languages when complete categories are missing 2023-08-29 02:33:12 +02:00
schlagmichdoch c2a746d69c fix html attribute translation 2023-08-29 02:30:01 +02:00
schlagmichdoch d252900055
Merge branch 'translate' into weblate-pairdrop-pairdrop-spa 2023-07-30 17:48:50 +02:00
schlagmichdoch da5038a51a include translations for about buttons and implement translation fallback if used translation is not complete 2023-07-30 17:42:46 +02:00
schlagmichdoch ba46befde4 include translations for about buttons and implement translation fallback if used translation is not complete 2023-07-07 15:17:42 +02:00
schlagmichdoch f50d7438b6 implement localization 2023-07-06 21:34:21 +02:00