summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qlocale_mac.mm
diff options
context:
space:
mode:
authorJohn Layt <jlayt@kde.org>2013-09-27 16:32:44 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-17 01:50:16 +0200
commitf47958fa148d6ea9ece0bec3ca9ba67d9c68ea19 (patch)
treefbd2f1d2140bd2a1fe895bdc8ab4b184de69291d /src/corelib/tools/qlocale_mac.mm
parent021c79f038c218a55b145fafcda5c59cf3a309d8 (diff)
QLocale - Mac fix typos in comments
Fix some typos in the comments. Change-Id: I14eed0ffed74f0a60b05441430158f71cb530c01 Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'src/corelib/tools/qlocale_mac.mm')
-rw-r--r--src/corelib/tools/qlocale_mac.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qlocale_mac.mm b/src/corelib/tools/qlocale_mac.mm
index deb5d5eb1d..92dfba162c 100644
--- a/src/corelib/tools/qlocale_mac.mm
+++ b/src/corelib/tools/qlocale_mac.mm
@@ -193,7 +193,7 @@ static QString macToQtFormat(const QString &sys_fmt)
// Qt does not support the following options
case 'G': // Era (1..5): 4 = long, 1..3 = short, 5 = narrow
case 'Y': // Year of Week (1..n): 1..n = padded number
- case 'U': // Cyclic Yar Name (1..5): 4 = long, 1..3 = short, 5 = narrow
+ case 'U': // Cyclic Year Name (1..5): 4 = long, 1..3 = short, 5 = narrow
case 'Q': // Quarter (1..4): 4 = long, 3 = short, 1..2 = padded number
case 'q': // Standalone Quarter (1..4): 4 = long, 3 = short, 1..2 = padded number
case 'w': // Week of Year (1..2): 1..2 = padded number
@@ -257,7 +257,7 @@ static QString macToQtFormat(const QString &sys_fmt)
case 's': // Seconds (1..2): 1..2 = padded number
result += QString(repeat, c);
break;
- case 'S': // Fractional second (1..n): 1..n = tuncates to decimal places
+ case 'S': // Fractional second (1..n): 1..n = truncates to decimal places
// Qt uses msecs either unpadded or padded to 3 places
if (repeat < 3)
result += QLatin1Char('z');