411 Commits

Author SHA1 Message Date
Xabi
62438d669f
Update Basque localisation (#1250) 2023-03-15 07:06:32 +01:00
Jerry
e52a3c0416
Update Simplified Chinese localization (#1251) 2023-03-15 07:06:24 +01:00
Paul Schuetz
baf853f46e
Add the ability to translate using deepl even if the instance offers its own service (#1237)
* Allow forced translation with DeepL

Translation with DeepL can now be forced either per post or on the system level.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Require the use of a private API key

A private API key of the user is now required to allow "always translate via
DeepL".

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Persist a stored API key

An API key is stored even if useOnlyDeepL is disabled. If the API key is empty,
the setting is still disabled.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Localize the texts

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Save API key while writing

The API key is now saved, even if the app is closed before leaving the
translation settings view.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Fix build

* Fix theme

* Transition to KeychainSwift, clean up

KeychainHelper is replaced with the already-used KeychainSwift package, the
functions are cleaned up so that the process is easier to understand. The
deactivateToggleIfNoKey function doesn't change the behavior of the buttons or
context menus in the timeline, only demonstrates the necessity of an API key to
the user. Consequently, it's only called when the settings view is shown.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Swiftformat + fixes

---------

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-03-14 18:50:19 +01:00
Vitaly Kovalyshyn
f263c57858
update uk localizations (#1244) 2023-03-14 12:17:14 +01:00
Ico Davids
c818dbf744
Updated NL localization (#1238) 2023-03-14 07:22:44 +01:00
Yusuke Arakawa
c56ef64f55
Update Localizable.strings (#1223)
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
2023-03-11 14:42:49 +01:00
Cthulhux
0db1b889b4
Update Localizable.strings (#1225) 2023-03-11 14:42:42 +01:00
Jerry
0d2454886e
Update Localizable.strings (#1213) 2023-03-11 07:22:00 +01:00
Chanhwi Joo
b574cdfbda
Update Korean localization (#1216) 2023-03-11 07:21:52 +01:00
Andrzej Rózga
77468d4560
Polish localization update (#1218) 2023-03-11 07:21:39 +01:00
Xabi
45b9d2886e
Update Basque localisation (#1219) 2023-03-11 07:21:30 +01:00
Thomas Ricouard
9057740162 Add upload from file browsing + better compression for images 2023-03-10 18:22:45 +01:00
Xabi
fd8906ecd5
Undo last changes (EU plurals) (#1211) 2023-03-10 07:12:01 +01:00
Jerry
7b646c770a
Update Simplified Chinese localization (#1212) 2023-03-10 07:11:50 +01:00
Cthulhux
21363d1bdf
de: translated #tags (#1202) 2023-03-09 20:36:01 +01:00
Yusuke Arakawa
cbe7d8e8af
Update Localizable.strings (#1203) 2023-03-09 20:35:53 +01:00
Andrzej Rózga
498d6b950e
Polish localization update (#1204) 2023-03-09 20:35:40 +01:00
Ico Davids
25925f11d7
Updated NL localization (#1205)
* Updated NL localization

* Updated NL localization
2023-03-09 20:35:32 +01:00
Xabi
58e4a8df49
Update Basque localisation (#1208)
New:
- status.editor.ai-prompt.add-tags
- status.editor.ai-prompt.insert-tags
2023-03-09 20:35:23 +01:00
Thomas Ricouard
93d9ded447 Switch to new Chat completion API + Add Tags completion 2023-03-09 13:46:04 +01:00
Xabi
eaaa8cd1c9
Update Basque plurals (#1189)
New:
- tag.suggested.mentions-%lld

Edited:
- notifications-others-count %lld
- notifications.label.favorite %lld
- notifications.label.follow %lld
- notifications.label.mention %lld
- notifications.label.reblog %lld
(they were ok in 1.6.3, just trying to improve it)
2023-03-07 07:05:10 +01:00
Xabi
0e3493bdb8
Update Basque localisation (#1190)
Moved to plurals:
- tag.suggested.mentions-%lld [not needed here anymore]

Edited:
- enum.durations.custom [capitalisation]
- settings.general.browser.in-app [shortening]
- settings.general.browser.system [shortening]
2023-03-07 07:05:02 +01:00
Andrzej Rózga
b0ee77caed
Polish localization (#1174)
* Fixed problem with with the translation of "mentions" in plural form
- Localizable.stringsdict needs a digit (not string) to make a choice of a correct plural form.
- fixed StatusEditorAutoCompleteView
- changed %@ format specifier in Localizable.strings with %lld

* Polish localization update

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-03-06 07:07:35 +01:00
Xabi
af63692afa
Update Basque localisation (#1179)
New:
- enum.durations.custom
- tag.suggested.mentions-%@

Fixed:
- notifications.label.status
- status.editor.mode.reply-%@
- filter.action.warning
2023-03-06 07:06:08 +01:00
Xabi
2a95678b4f
Update Basque plurals (#1178)
I seem to be unable to get plurals right but I want to believe I'm getting close 😉
2023-03-06 07:06:00 +01:00
sh95014
310a5fba99
Traditional Chinese (zh-Hant) localization (#1170)
* checkpoint

* checkpoint

* plurals and a couple of minor fixes
2023-03-05 07:25:34 +01:00
Chanhwi Joo
07231d0e14
Update Korean localization (#1173) 2023-03-05 07:23:18 +01:00
Ico Davids
0483c28f80
Updated Dutch localization (#1166)
- Mentions of suggested tags
2023-03-05 07:22:48 +01:00
Jerry
f1cff5514e
Update Localizable.strings (#1162) 2023-03-05 07:22:40 +01:00
Yusuke Arakawa
1af66896f9
Update Localizable.strings (#1160) 2023-03-04 17:10:14 +01:00
Stian Øverbye
60fb706eec
Minor language fix (#1161) 2023-03-04 17:09:57 +01:00
Cthulhux
546167b461
de: new string.. (#1164) 2023-03-04 17:09:44 +01:00
Thomas Ricouard
761c8ed3be Composer: Sort suggested tags by usage + display it 2023-03-04 09:50:13 +01:00
Andrzej Rózga
0589c7f84e
Polish localization update (#1153) 2023-03-04 06:09:23 +01:00
Cthulhux
a5845311f0
de: quick update for the new string... (#1154)
In a series of unfortunate circumstances, my previous commit was too late for the additional string. Here it is. ;-)
2023-03-04 06:09:16 +01:00
Xabi
ff4f50cef5
Update Basque plurals (#1148) 2023-03-03 20:10:51 +01:00
Xabi
d07265c9f2
Update Basque localisation (#1149) 2023-03-03 20:10:40 +01:00
Ico Davids
b11fc6b725
Dutch localization update (#1150) 2023-03-03 20:10:30 +01:00
Yusuke Arakawa
636cf54b61
Update Localizable.strings (#1145) 2023-03-03 18:22:16 +01:00
Cthulhux
e166881e67
de: +2 strings (#1146) 2023-03-03 18:22:08 +01:00
Xabi
9b64326f48
Update Basque localisation (#1147)
New:
- settings.display.colors.apply
- settings.display.theme.text-color
- filter.edit.expiry
- filter.edit.expiry.date-time
- filter.edit.expiry.duration

Edited:
- notifications.label.poll
2023-03-03 18:22:00 +01:00
Thomas Ricouard
deae0930b1 Add web account settings button 2023-03-03 18:21:52 +01:00
Peter-Josef Meisch
db5d0b9274
Display and edit filter expirations (#1141) 2023-03-03 08:15:34 +01:00
Thomas Ricouard
eea6d93dd5 Add customization of text color close #385 2023-03-03 08:12:01 +01:00
Thomas Ricouard
10eeb39241 Fix laggy color picker close #1082 2023-03-03 07:24:00 +01:00
Jerry
a3b277affb
Update Simplified Chinese localization (#1144)
* Update Localizable.strings

* Update Localizable.strings

* Update Localizable.strings

Co-authored-by: nixzhu <zhuhongxu@gmail.com>

---------

Co-authored-by: nixzhu <zhuhongxu@gmail.com>
2023-03-03 07:04:58 +01:00
Cthulhux
8adeacc066
de: translated supporter strings (#1134) 2023-03-03 06:04:41 +01:00
Andrzej Rózga
ff0f256b88
Polish localization update (#1135) 2023-03-03 06:04:34 +01:00
Roberto Pastor
79b5e2f940
Fixed typos and updated spanish translation (#1137) 2023-03-03 06:04:26 +01:00
Chanhwi Joo
d65266fc45
Update Korean localization (#1143) 2023-03-03 06:04:18 +01:00