I have a single translator.cpp
source file containing a lot of strings. These have been been translated to various languages using Qt Linguist. Now I want to split the single file into multiple files:
Old structure:
class Translator
{
QString str1 = tr("");
QString str2 = tr("");
QString str3 = tr("");
};
New structure:
class Translator1
{
QString str1 = tr("");
};
class Translator2
{
QString str2 = tr("");
};
class Translator3
{
QString str3 = tr("");
};
After splitting the translations are lost. What is the fastest way to split the class while keeping the existing translations?
Regards,