mastodon-ios/MastodonIntent
Jed Fox 0a9689c67f
Add support for selecting the post language (#907)
* Basic fake language picker support

* Recognize languages from post text

* Exclude suggested languages from recents

* Load recent languages from Settings object

* Send the language to the API

* Persist the used language to settings

* Always show the currently selected language in the list

* Fix crash

* Add support for picking arbitrary lanuages

* Fix display of 3 letter language codes

* Improve label to include endonym too

* Limit to 3 recent languages

* Reduce lower bound for displaying language suggestions

* Fix saving recent language when publishing

* Fix tint color of language picker button

* Add a badge to prompt users to change language

* Dismiss the badge even if you pick the same language

* Read language names in the language if possible

* Use a compressed font for 3-letter codes

Also use `minimumScaleFactor` to shrink troublesome codes to fit

Co-Authored-By: samhenrigold <49251320+samhenrigold@users.noreply.github.com>

* Remove .vscode/launch.json

* Add message to fatalError()

Co-authored-by: samhenrigold <49251320+samhenrigold@users.noreply.github.com>
2023-01-24 01:50:10 +01:00
..
Base.lproj feat: allow select accounts for SendPost Siri shortcut intent. resolve #446 2022-06-09 18:09:28 +08:00
Handler Add support for selecting the post language (#907) 2023-01-24 01:50:10 +01:00
Model chore: [WIP] move core logic into package 2022-09-30 19:28:09 +08:00
ar.lproj chore: update i18n resources 2022-04-01 10:04:38 +08:00
ca.lproj Update strings 2022-12-19 12:07:16 +01:00
ckb.lproj feat: add Sorani (Kurdish) language 2022-04-29 15:25:39 +08:00
cs.lproj feat: new i18n languages. Czech (cs) and Slovenian (sl) 2022-11-16 19:56:16 +08:00
de.lproj Update strings 2022-12-19 12:07:16 +01:00
en.lproj chore: add intents strings dict to Crowdin configuration. 2021-08-10 16:02:51 +08:00
es-AR.lproj chore: update strings mapping and i18n resources 2022-05-13 12:46:37 +08:00
es.lproj chore: add i18n supports for Russian, Scottish Gaelic, and Thai 2021-08-16 15:56:15 +08:00
eu.lproj chore: update strings mapping and i18n resources 2022-05-13 12:46:37 +08:00
fi.lproj chore: add Finnish language 2022-05-19 11:21:40 +08:00
fr.lproj chore: update i18n strings 2022-02-15 14:45:34 +08:00
gd.lproj chore: update strings mapping and i18n resources 2022-05-13 12:46:37 +08:00
gl.lproj chore: update i18n resources 2022-05-11 15:02:47 +08:00
it.lproj feat: add Chinese Traditional, Galician, Italian, and Turkish languages 2022-04-29 15:34:23 +08:00
ja.lproj chore: update i18n strings 2022-02-15 14:45:34 +08:00
kab.lproj chore: update i18n resources 2022-04-01 10:04:38 +08:00
ku.lproj chore: update i18n resources. resolve #343 2022-03-19 01:08:30 +08:00
nl.lproj chore: add i18n supports for Russian, Scottish Gaelic, and Thai 2021-08-16 15:56:15 +08:00
pt-BR.lproj chore: update i18n scripts and resources 2021-08-06 16:14:27 +08:00
ru.lproj chore: add i18n supports for Russian, Scottish Gaelic, and Thai 2021-08-16 15:56:15 +08:00
sl.lproj feat: new i18n languages. Czech (cs) and Slovenian (sl) 2022-11-16 19:56:16 +08:00
sv.lproj Generate new localized strings 2022-11-09 07:37:37 +01:00
th.lproj chore: add i18n supports for Russian, Scottish Gaelic, and Thai 2021-08-16 15:56:15 +08:00
tr.lproj feat: add Chinese Traditional, Galician, Italian, and Turkish languages 2022-04-29 15:34:23 +08:00
vi.lproj Generate new localized strings 2022-11-09 07:37:37 +01:00
zh-Hans.lproj chore: add i18n supports for Russian, Scottish Gaelic, and Thai 2021-08-16 15:56:15 +08:00
zh-Hant.lproj feat: add Chinese Traditional, Galician, Italian, and Turkish languages 2022-04-29 15:34:23 +08:00
Info.plist fix: manually bump the version to workaround auto version management not working issue 2022-11-08 14:17:43 +08:00
IntentHandler.swift feat: add Send Post Siri intent 2021-07-26 20:23:52 +08:00
MastodonIntent.entitlements feat: add Send Post Siri intent 2021-07-26 20:23:52 +08:00