summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qlocale.cpp
diff options
context:
space:
mode:
authorJiDe Zhang <zhangjide@uniontech.com>2021-03-05 13:02:39 +0800
committerJiDe Zhang <zhangjide@uniontech.com>2021-03-09 09:09:51 +0800
commitbc1f61d010c8e71b1b649a888951f93da0ef838a (patch)
tree28eb3392b0bb13a435574e26661c1c08a3741054 /src/corelib/text/qlocale.cpp
parent065fd12f2d12765693bca6b31f0c7b6f8487bb57 (diff)
Update documents of QLocale::Country
Quoting from https://en.wikipedia.org/wiki/ISO_3166: "ISO 3166 is a standard published by the International Organization for Standardization (ISO) that defines codes for the names of countries, dependent territories, special areas of geographical interest, and their principal subdivisions (e.g., provinces or states). The official name of the standard is Codes for the representation of names of countries and their subdivisions." In order to prevent the word "Country" from causing ambiguity, the document should clearly state that this enumeration refers to a country or region. Change-Id: I05543faa4193b3ddaf31d02c670b4b5f46e94389 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/text/qlocale.cpp')
-rw-r--r--src/corelib/text/qlocale.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/text/qlocale.cpp b/src/corelib/text/qlocale.cpp
index 94564353b6..184b38c32f 100644
--- a/src/corelib/text/qlocale.cpp
+++ b/src/corelib/text/qlocale.cpp
@@ -1262,7 +1262,7 @@ QLocale::Script QLocale::script() const
}
/*!
- Returns the country of this locale.
+ Returns the country or region of this locale.
\sa language(), script(), countryToString(), bcp47Name()
*/