Rename locale extensions from .txt to .ini

Because we're using .ini format, the translation servies spit out files
with .ini extensions, so this makes it so we don't necessarily have to
rename those files from .ini to .txt before merging.
This commit is contained in:
jp9000 committed 2014-07-07 21:49:36 -07:00
1 parent 48d8ebcc47
commit c27ddb9066
9 files changed
+3 -3

No files matched your search

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+3 -3
View File
@@ -166,11 +166,11 @@ bool OBSApp::InitLocale()
locale = lang;
stringstream file;
file << "locale/" << lang << ".txt";
file << "locale/" << lang << ".ini";
string englishPath;
if (!GetDataFilePath("locale/" DEFAULT_LANG ".txt", englishPath)) {
OBSErrorBox(NULL, "Failed to find locale/" DEFAULT_LANG ".txt");
if (!GetDataFilePath("locale/" DEFAULT_LANG ".ini", englishPath)) {
OBSErrorBox(NULL, "Failed to find locale/" DEFAULT_LANG ".ini");
return false;
}