diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2014-11-10 15:05:25 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-11-12 11:04:11 +0000 |
commit | da40cac540e7d735edbe9069b3c8ec6af4530208 (patch) | |
tree | f2abda7281129e13f588c77b18780a7090c8405f /i18nlangtag | |
parent | bb437029c1e5331bcc3f8fb2fc87837142a52f33 (diff) |
Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959
Reviewed-on: https://gerrit.libreoffice.org/12164
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'i18nlangtag')
-rw-r--r-- | i18nlangtag/source/isolang/isolang.cxx | 2 | ||||
-rwxr-xr-x | i18nlangtag/source/isolang/langid.pl | 2 | ||||
-rw-r--r-- | i18nlangtag/source/languagetag/languagetag.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx index 8e1ac7e930ec..f1bfb18f161d 100644 --- a/i18nlangtag/source/isolang/isolang.cxx +++ b/i18nlangtag/source/isolang/isolang.cxx @@ -356,7 +356,7 @@ static IsoLanguageCountryEntry const aImplIsoLangEntries[] = { LANGUAGE_PUNJABI_PAKISTAN, "pnb", "PK", 0 }, { LANGUAGE_PUNJABI_ARABIC_LSO, "pnb", "" , 0 }, { LANGUAGE_PUNJABI_PAKISTAN, "lah", "PK", kSAME }, // macrolanguage code, earlier preferred 'lah' over 'pa' for Western Panjabi, now there is 'pnb' - { LANGUAGE_PUNJABI_PAKISTAN, "pa", "PK", kSAME }, // MS maps this to 'pa-Arab-PK', but 'pa'='pan' Eastern Panjabi is not used in PK, only in IN + { LANGUAGE_PUNJABI_PAKISTAN, "pa", "PK", kSAME }, // MS maps this to 'pa-Arab-PK', but 'pa'='pan' Eastern Panjabi is not used in PK, only in { LANGUAGE_SINDHI_PAKISTAN, "sd", "PK", kSAME }, // Arabic script { LANGUAGE_SINDHI, "sd", "IN", 0 }, // TODO: there's Deva(nagari) and Arab(ic) script, MS maps this to 'sd-Deva-IN' { LANGUAGE_BELARUSIAN, "be", "BY", 0 }, diff --git a/i18nlangtag/source/isolang/langid.pl b/i18nlangtag/source/isolang/langid.pl index c9d248d5041a..ffbadeff0beb 100755 --- a/i18nlangtag/source/isolang/langid.pl +++ b/i18nlangtag/source/isolang/langid.pl @@ -238,7 +238,7 @@ sub main() } } # If the string given is of the form xx-yy lookup a language,country pair - # to obtain the define identifier. xx and yy themselfs may be regexps. + # to obtain the define identifier. xx and yy may themselves be regexps. # xx- is a short form for 'xx-.*' and -yy a short form for '.*-yy' # Note that -Latn for '.*-Latn' also works, accidentally. if ($grepdef =~ /^(.*)-$/) { diff --git a/i18nlangtag/source/languagetag/languagetag.cxx b/i18nlangtag/source/languagetag/languagetag.cxx index 74a31b84e399..3db9aad72ba5 100644 --- a/i18nlangtag/source/languagetag/languagetag.cxx +++ b/i18nlangtag/source/languagetag/languagetag.cxx @@ -2743,7 +2743,7 @@ bool LanguageTag::isValidBcp47( const OUString& rString, OUString* o_pCanonicali LanguageTag makeLanguageTagFromAppleLanguageId(AppleLanguageId nLanguage) { - //map the simple ones via LanguageTypes, and the hard ones explictly + //map the simple ones via LanguageTypes, and the hard ones explicitly LanguageType nLang(LANGUAGE_DONTKNOW); switch (nLanguage) |