Merge translations
Fix the Credits screen for Launchpad contributions git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5762 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
8525ccc087
commit
0f7bb742ab
BIN
data/CREDITS
BIN
data/CREDITS
Binary file not shown.
595
data/po/ca.po
595
data/po/ca.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
700
data/po/cs.po
700
data/po/cs.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
598
data/po/da.po
598
data/po/da.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
617
data/po/de.po
617
data/po/de.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
679
data/po/es.po
679
data/po/es.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
930
data/po/fi.po
930
data/po/fi.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
620
data/po/fr.po
620
data/po/fr.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
1154
data/po/ga.po
1154
data/po/ga.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
691
data/po/gl.po
691
data/po/gl.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
853
data/po/he.po
853
data/po/he.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
618
data/po/it.po
618
data/po/it.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
625
data/po/ko.po
625
data/po/ko.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
609
data/po/nb.po
609
data/po/nb.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
639
data/po/nl.po
639
data/po/nl.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
610
data/po/pl.po
610
data/po/pl.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
887
data/po/pt_BR.po
887
data/po/pt_BR.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
595
data/po/ro.po
595
data/po/ro.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
772
data/po/ru.po
772
data/po/ru.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
643
data/po/sk.po
643
data/po/sk.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
610
data/po/sl.po
610
data/po/sl.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
598
data/po/sv.po
598
data/po/sv.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
606
data/po/uk.po
606
data/po/uk.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
892
data/po/zh_CN.po
892
data/po/zh_CN.po
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -71,6 +71,7 @@ public:
|
||||
}
|
||||
void addSubEntry(stringw& subEntryString)
|
||||
{
|
||||
std::cout << subEntryString.c_str() << std::endl;
|
||||
m_entries[m_entries.size()-1].m_subentries.push_back(subEntryString);
|
||||
}
|
||||
};
|
||||
@ -227,10 +228,22 @@ void CreditsScreen::loadedFromFile()
|
||||
|
||||
std::vector<irr::core::stringw> translator = StringUtils::split(_("translator-credits"), '\n');
|
||||
m_sections.push_back( new CreditsSection("Launchpad translations"));
|
||||
for(int i = 0; i < translator.size(); i++)
|
||||
for(int i = 1; i < translator.size(); i = i +3)
|
||||
{
|
||||
CreditsEntry entry(translator[i]);
|
||||
getCurrentSection()->addEntry(entry);
|
||||
line = stringw("Translations");
|
||||
CreditsEntry entry(line);
|
||||
getCurrentSection()->addEntry( entry );
|
||||
if(i + 1 < translator.size())
|
||||
{
|
||||
translator[i].append('\n');
|
||||
translator[i].append(translator[i+1]);
|
||||
}
|
||||
if(i + 2 < translator.size())
|
||||
{
|
||||
translator[i].append('\n');
|
||||
translator[i].append(translator[i+2]);
|
||||
}
|
||||
getCurrentSection()->addSubEntry(translator[i]);
|
||||
}
|
||||
assert(m_sections.size() > 0);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user