How [[basic]] handles events css'/>
summaryrefslogtreecommitdiff
path: root/svtools/source/misc/langtab.cxx
AgeCommit message (Collapse)Author
2024-05-13loplugin:ostr in svtoolsNoel Grandin
Change-Id: If00c16527fb861a86f5dde195ab612bbab3a53c0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167594 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins
2023-03-23rtl::Static to thread-safe-staticNoel Grandin
Change-Id: Ife02e6d2be3ebfbb08522ab0183ef4aa31a99e19 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149415 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-05Related: tdf#152781 Add also non-on-the-fly IDs to language listEike Rathke
Generating names more than once is unnecessary. This may happen for defined mappings that have no explicitly predefined language list entry. Change-Id: I278e6d77181b661a90d0fb133cb3ca30c2a9b721 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145049 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2023-01-04Related: tdf#152781 s/lang-tag of/generated/ in SAL_WARNEike Rathke
Only cosmetical to clarify, if possible a complete UI name is generated, not just the language tag as before. Change-Id: Id38e397793807762c2698948c325e6eeda989cc0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145048 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2022-10-05Use SvtLanguageTableImpl::AddEntry() to determine on-the-fly ScriptTypeEike Rathke
With a LanguageTag::ScriptType a language tag appears in the corresponding Western/Asian/Complex language list. Change-Id: Ifa7fe784ebee33990b552e8df0f5555dc98667f0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140974 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2022-10-04SvtLanguageTable::AddLanguageTag() unneeded return can be voidEike Rathke
Change-Id: I048d38c90e0ca60d0de5defdb16c5411cfd161b1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140929 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2021-11-07Resolves: tdf#145386 Use "Default" for LANGUAGE_PROCESS_OR_USER_DEFAULTEike Rathke
There's no, specifically not in Writer, handling of the LCID 0x0400 LANGUAGE_PROCESS_OR_USER_DEFAULT language/locale concept other than the number formatter mapping it to LANGUAGE_SYSTEM. Use the LANGUAGE_SYSTEM "Default" string in UI (status bar, status menu, language list) but keep the LCID, and don't append the resolved locale string as it is also displayed both in the Font Western and CJK listboxes. This ends up as two list entries, like * Default - English (UK) first entry * Default last entry of which the second would be selected. Change-Id: I8d9e4171bee6bbe9d1c9dcfb7a5fa8fc92ea1a2c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124449 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2021-08-21Use LanguageTagIcu::getDisplayName() for on-the-fly language list entriesEike Rathke
So the for {tag} entries "too geeky" argument of spell-checker dictionary developers and language enthusiasts will be moot in future and we can stop adding 100 more tags if it's not for locale data. Change-Id: Ic44fe5b2f794ddb258e56ec073f310ccaf6e470d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120799 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>