diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-04 15:44:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-04 16:24:42 +0300 |
commit | bc2c095db69be01837d07af1151b0f0a3061713f (patch) | |
tree | 98009b4483d873f45f7b4f2897a4a7ba5118d39e /src/utils | |
parent | 9b5b48739b62fca4bb30cd04be1031ac3f80095d (diff) | |
download | mv-bc2c095db69be01837d07af1151b0f0a3061713f.tar.gz mv-bc2c095db69be01837d07af1151b0f0a3061713f.tar.bz2 mv-bc2c095db69be01837d07af1151b0f0a3061713f.tar.xz mv-bc2c095db69be01837d07af1151b0f0a3061713f.zip |
Add missing TRANSLATORS comments to translation strings.
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/stringutils.cpp | 1 | ||||
-rw-r--r-- | src/utils/stringutils.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp index 3e656330b..8b616d2f7 100644 --- a/src/utils/stringutils.cpp +++ b/src/utils/stringutils.cpp @@ -954,6 +954,7 @@ std::string timeDiffToString(int timeDiff) } if (str.empty()) { + // TRANSLATORS: uptime command str.append(strprintf(ngettext(N_("%d second"), N_("%d seconds"), 0), 0)); } diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h index 2f192c98c..310bbc957 100644 --- a/src/utils/stringutils.h +++ b/src/utils/stringutils.h @@ -101,8 +101,6 @@ const char *ipToString(const uint32_t address) A_WARN_UNUSED; */ std::string strprintf(const char *const format, ...) A_NONNULL(1) A_WARN_UNUSED #ifdef __GNUC__ - /* This attribute is nice: it even works through gettext invokation. For - example, gcc will complain that strprintf(_("%s"), 42) is ill-formed. */ #ifdef __OpenBSD__ __attribute__((__format__(printf, 1, 2))) #else |