mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 10:03:43 +00:00
Only print add_translation warning when translations do not match
FIXES 2637 This was SVN commit r16138.
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user