mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
[i18n] use xgettext compatible function format for plural
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include "I18N.h"
|
||||
|
||||
// English localization file
|
||||
// This is an example translation file without strings in it.
|
||||
|
||||
namespace i2p
|
||||
{
|
||||
@@ -33,10 +34,6 @@ namespace english // language
|
||||
|
||||
static std::map<std::string, std::vector<std::string>> plurals
|
||||
{
|
||||
{"days", {"day", "days"}},
|
||||
{"hours", {"hour", "hours"}},
|
||||
{"minutes", {"minute", "minutes"}},
|
||||
{"seconds", {"second", "seconds"}},
|
||||
{"", {"", ""}},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user