Changeset 124 for smplayer/trunk/src/helper.cpp
- Timestamp:
- Mar 16, 2012, 4:02:47 PM (13 years ago)
- Location:
- smplayer/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/trunk
- Property svn:mergeinfo changed
/smplayer/vendor/current merged: 121-122
- Property svn:mergeinfo changed
-
smplayer/trunk/src/helper.cpp
r119 r124 1 1 /* smplayer, GUI front-end for mplayer. 2 Copyright (C) 2006-201 1 Ricardo Villalba <rvm@escomposlinux.org>2 Copyright (C) 2006-2012 Ricardo Villalba <rvm@users.sourceforge.net> 3 3 4 4 This program is free software; you can redistribute it and/or modify … … 75 75 76 76 if (minutes==0) { 77 return QObject::tr("% 1 second(s)", "", seconds).arg(seconds);77 return QObject::tr("%n second(s)", "", seconds); 78 78 } else { 79 79 if (seconds==0) 80 return QObject::tr("% 1 minute(s)", "", minutes).arg(minutes);80 return QObject::tr("%n minute(s)", "", minutes); 81 81 else { 82 QString m = QObject::tr("% 1 minute(s)", "", minutes).arg(minutes);83 QString s = QObject::tr("% 1 second(s)", "", seconds).arg(seconds);82 QString m = QObject::tr("%n minute(s)", "", minutes); 83 QString s = QObject::tr("%n second(s)", "", seconds); 84 84 return QObject::tr("%1 and %2").arg(m).arg(s); 85 85 }
Note:
See TracChangeset
for help on using the changeset viewer.