mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Only print add_translation warning when translations do not match
FIXES 2637 This was SVN commit r16138.
This commit is contained in:
parent
873399b294
commit
524a942b52
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ void
|
|||
Dictionary::add_translation(const std::string& msgid, const std::string& msgstr)
|
||||
{
|
||||
std::vector<std::string>& vec = entries[msgid];
|
||||
if (vec.empty())
|
||||
if (vec.empty() || msgstr.compare(vec[0]) == 0)
|
||||
{
|
||||
vec.push_back(msgstr);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue