From f47958fa148d6ea9ece0bec3ca9ba67d9c68ea19 Mon Sep 17 00:00:00 2001 From: John Layt Date: Fri, 27 Sep 2013 16:32:44 +0100 Subject: QLocale - Mac fix typos in comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix some typos in the comments. Change-Id: I14eed0ffed74f0a60b05441430158f71cb530c01 Reviewed-by: Morten Johan Sørvig --- src/corelib/tools/qlocale_mac.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/corelib/tools') 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'); -- cgit v1.2.3