summaryrefslogtreecommitdiff
path: root/src/utils/translation
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/translation')
-rw-r--r--src/utils/translation/translationmanager.cpp2
-rw-r--r--src/utils/translation/translationmanager.h7
2 files changed, 4 insertions, 5 deletions
diff --git a/src/utils/translation/translationmanager.cpp b/src/utils/translation/translationmanager.cpp
index 03dd6d100..2a962913a 100644
--- a/src/utils/translation/translationmanager.cpp
+++ b/src/utils/translation/translationmanager.cpp
@@ -88,7 +88,7 @@ PoDict *TranslationManager::loadLang(LangVect lang,
bool TranslationManager::translateFile(const std::string &fileName,
PoDict *dict,
- std::vector<std::string> &lines)
+ StringVect &lines)
{
if (!dict || fileName.empty())
return false;
diff --git a/src/utils/translation/translationmanager.h b/src/utils/translation/translationmanager.h
index 842c5620b..debb555ea 100644
--- a/src/utils/translation/translationmanager.h
+++ b/src/utils/translation/translationmanager.h
@@ -23,15 +23,14 @@
#include "localconsts.h"
-#include <string>
-#include <vector>
+#include "utils/stringvector.h"
class PoDict;
class TranslationManager
{
public:
- static PoDict *loadLang(std::vector<std::string> lang,
+ static PoDict *loadLang(StringVect lang,
std::string subName,
PoDict *dict = nullptr);
@@ -43,7 +42,7 @@ class TranslationManager
static bool translateFile(const std::string &fileName,
PoDict *dict,
- std::vector<std::string> &lines);
+ StringVect &lines);
};
#endif // UTILS_TRANSLATION_MANAGER_H