mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-23 22:38:45 -04:00
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:
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.
File renamed without changes.
+3
-3
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user