diff --git a/Poedit.vcxproj b/Poedit.vcxproj index 9180eb9881..734923d0b1 100644 --- a/Poedit.vcxproj +++ b/Poedit.vcxproj @@ -119,7 +119,7 @@ - + @@ -191,7 +191,7 @@ - + diff --git a/Poedit.vcxproj.filters b/Poedit.vcxproj.filters index 8b915e0c93..b0baf023ba 100644 --- a/Poedit.vcxproj.filters +++ b/Poedit.vcxproj.filters @@ -57,7 +57,7 @@ Source Files - + Source Files @@ -248,7 +248,7 @@ Header Files - + Header Files diff --git a/Poedit.xcodeproj/project.pbxproj b/Poedit.xcodeproj/project.pbxproj index 3e48416d80..0fbc1f53a5 100644 --- a/Poedit.xcodeproj/project.pbxproj +++ b/Poedit.xcodeproj/project.pbxproj @@ -33,6 +33,7 @@ 4C5A07AB3F036AF03E13D7B1 /* QuicklookThumbnails.appex in Copy Gettext bundle and extensions */ = {isa = PBXBuildFile; fileRef = 2E49B156226EE8BCE26F9F19 /* QuicklookThumbnails.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; 4CE77399F2643B317B7428BB /* libwx_osx_base_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B2B7E8191AD94194007FC4EB /* libwx_osx_base_static.a */; }; 5DFE3ACE144F8005096FFA2C /* configuration.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B201EBDF1DCF755900FFB541 /* configuration.cpp */; }; + 6A5AC29259B3BC2A37D22597 /* uilang.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2C13766ECFA88FF598316DBA /* uilang.cpp */; }; 796E87D980AB0659930E8540 /* catalog_json.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B260089229AE694D00349A0E /* catalog_json.cpp */; }; 8816DADE560039E7FAD57F46 /* export_html.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B28F1CE216F629D30018AF7E /* export_html.cpp */; }; 8A905D6EA68B5E7AB51E2ADE /* QuickLookThumbnailing.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E4C2A4C943959E8220417BD1 /* QuickLookThumbnailing.framework */; }; @@ -124,7 +125,6 @@ B28F1CE816F629D30018AF7E /* edframe.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B28F1CB016F629D30018AF7E /* edframe.cpp */; }; B28F1CE916F629D30018AF7E /* attentionbar.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B28F1CB116F629D30018AF7E /* attentionbar.cpp */; }; B28F1CEA16F629D30018AF7E /* cat_sorting.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B28F1CB316F629D30018AF7E /* cat_sorting.cpp */; }; - B28F1CEB16F629D30018AF7E /* chooselang.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B28F1CB616F629D30018AF7E /* chooselang.cpp */; }; B28F1CEC16F629D30018AF7E /* commentdlg.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B28F1CB716F629D30018AF7E /* commentdlg.cpp */; }; B28F1CEE16F629D30018AF7E /* edlistctrl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B28F1CBC16F629D30018AF7E /* edlistctrl.cpp */; }; B28F1CF016F629D30018AF7E /* fileviewer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B28F1CC016F629D30018AF7E /* fileviewer.cpp */; }; @@ -324,6 +324,7 @@ /* Begin PBXFileReference section */ 1A56755064DA87E1BCD83DBE /* PreviewProvider.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PreviewProvider.h; sourceTree = ""; }; 2A58EC80C5A47E2902E5DBC7 /* ThumbnailProvider.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ThumbnailProvider.h; sourceTree = ""; }; + 2C13766ECFA88FF598316DBA /* uilang.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = uilang.cpp; sourceTree = ""; }; 2E49B156226EE8BCE26F9F19 /* QuicklookThumbnails.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = QuicklookThumbnails.appex; sourceTree = BUILT_PRODUCTS_DIR; }; 667D6946D93751EBDFC25FE8 /* InfoThumbnails.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = InfoThumbnails.plist; sourceTree = ""; }; 7E3E2780DE9804824D0B5FF4 /* ThumbnailProvider.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ThumbnailProvider.m; sourceTree = ""; }; @@ -492,7 +493,6 @@ B28E731C262C44B000BA93D0 /* custom_notebook.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.objcpp; fileEncoding = 4; path = custom_notebook.cpp; sourceTree = ""; }; B28E731D262C44B000BA93D0 /* custom_notebook.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = custom_notebook.h; sourceTree = ""; }; B28F1CAC16F629D30018AF7E /* catalog.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.objcpp; fileEncoding = 4; path = catalog.cpp; sourceTree = ""; }; - B28F1CAD16F629D30018AF7E /* chooselang.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = chooselang.h; sourceTree = ""; }; B28F1CAE16F629D30018AF7E /* edapp.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.objcpp; fileEncoding = 4; path = edapp.cpp; sourceTree = ""; }; B28F1CAF16F629D30018AF7E /* edapp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = edapp.h; sourceTree = ""; }; B28F1CB016F629D30018AF7E /* edframe.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.objcpp; fileEncoding = 4; path = edframe.cpp; sourceTree = ""; }; @@ -501,7 +501,6 @@ B28F1CB316F629D30018AF7E /* cat_sorting.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = cat_sorting.cpp; sourceTree = ""; }; B28F1CB416F629D30018AF7E /* cat_sorting.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = cat_sorting.h; sourceTree = ""; }; B28F1CB516F629D30018AF7E /* catalog.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = catalog.h; sourceTree = ""; }; - B28F1CB616F629D30018AF7E /* chooselang.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = chooselang.cpp; sourceTree = ""; }; B28F1CB716F629D30018AF7E /* commentdlg.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = commentdlg.cpp; sourceTree = ""; }; B28F1CB816F629D30018AF7E /* commentdlg.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = commentdlg.h; sourceTree = ""; }; B28F1CBB16F629D30018AF7E /* edframe.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = edframe.h; sourceTree = ""; }; @@ -670,6 +669,7 @@ B2FE296A1AC85FFF005588E4 /* keytar.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = keytar.h; path = keychain/keytar.h; sourceTree = ""; }; B40077D30F8455C2BB83D108 /* Quicklook.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Quicklook.entitlements; sourceTree = ""; }; CD3E80971B1E2BCB6D05956B /* PreviewProvider.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = PreviewProvider.mm; sourceTree = ""; }; + CFA973FC5BE997B483F0A7A5 /* uilang.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = uilang.h; sourceTree = ""; }; E4C2A4C943959E8220417BD1 /* QuickLookThumbnailing.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuickLookThumbnailing.framework; path = System/Library/Frameworks/QuickLookThumbnailing.framework; sourceTree = SDKROOT; }; F99D32BE79516DF3871487AD /* QuicklookPreview.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = QuicklookPreview.appex; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ @@ -829,8 +829,6 @@ B28F1CB416F629D30018AF7E /* cat_sorting.h */, B2BCE2E52A44B112005CA5A7 /* cloud_accounts_ui.cpp */, B2BCE2E62A44B112005CA5A7 /* cloud_accounts_ui.h */, - B28F1CB616F629D30018AF7E /* chooselang.cpp */, - B28F1CAD16F629D30018AF7E /* chooselang.h */, B28602421DDB279400FCA617 /* colorscheme.cpp */, B28602431DDB279400FCA617 /* colorscheme.h */, B28F1CB716F629D30018AF7E /* commentdlg.cpp */, @@ -905,6 +903,8 @@ B22A5C8918508F1F0034BEFD /* logcapture.h */, B26D0653182697200069C378 /* welcomescreen.cpp */, B26D0654182697200069C378 /* welcomescreen.h */, + 2C13766ECFA88FF598316DBA /* uilang.cpp */, + CFA973FC5BE997B483F0A7A5 /* uilang.h */, ); name = GUI; path = src; @@ -1728,7 +1728,6 @@ B28F1CEA16F629D30018AF7E /* cat_sorting.cpp in Sources */, B26D064F182506E40069C378 /* languagectrl.cpp in Sources */, B2E02A361CB812C500D18F5C /* unicode_helpers.cpp in Sources */, - B28F1CEB16F629D30018AF7E /* chooselang.cpp in Sources */, B28F1CEC16F629D30018AF7E /* commentdlg.cpp in Sources */, B26483E82A4CAC30001736CD /* localazy_client.cpp in Sources */, B21B7B491DD4DB9F002A4C62 /* editing_area.cpp in Sources */, @@ -1775,6 +1774,7 @@ B25D94941AE3D7E3003BC368 /* concurrency.cpp in Sources */, B2FE296B1AC85FFF005588E4 /* keytar_mac.cc in Sources */, B2F25F0D199E327C00127FF9 /* spellchecking.cpp in Sources */, + 6A5AC29259B3BC2A37D22597 /* uilang.cpp in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/src/Makefile.am b/src/Makefile.am index 0b4230e79e..a85272c0c4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -26,7 +26,7 @@ poedit_SOURCES = \ catalog_po.cpp catalog_po.h \ catalog_json.cpp catalog_json.h \ catalog_xliff.cpp catalog_xliff.h \ - chooselang.cpp chooselang.h \ + uilang.cpp uilang.h \ cloud_sync.h \ colorscheme.h colorscheme.cpp \ commentdlg.h commentdlg.cpp \ diff --git a/src/edapp.cpp b/src/edapp.cpp index 492a27b2a3..fdcc215db1 100644 --- a/src/edapp.cpp +++ b/src/edapp.cpp @@ -89,7 +89,7 @@ #include "filemonitor.h" #include "manager.h" #include "prefsdlg.h" -#include "chooselang.h" +#include "uilang.h" #include "customcontrols.h" #include "gexecute.h" #include "hidpi.h" diff --git a/src/prefsdlg.cpp b/src/prefsdlg.cpp index 9f8b741b02..44f8f266d7 100644 --- a/src/prefsdlg.cpp +++ b/src/prefsdlg.cpp @@ -63,7 +63,7 @@ #include "hidpi.h" #include "tm/transmem.h" #include "tm/tmx_io.h" -#include "chooselang.h" +#include "uilang.h" #include "errors.h" #include "extractors/extractor_legacy.h" #include "spellchecking.h" diff --git a/src/chooselang.cpp b/src/uilang.cpp similarity index 99% rename from src/chooselang.cpp rename to src/uilang.cpp index 11847ccb9f..3c438a3116 100644 --- a/src/chooselang.cpp +++ b/src/uilang.cpp @@ -23,7 +23,7 @@ * */ -#include "chooselang.h" +#include "uilang.h" #if NEED_CHOOSELANG_UI diff --git a/src/chooselang.h b/src/uilang.h similarity index 95% rename from src/chooselang.h rename to src/uilang.h index d7208a8e53..2de692f7fd 100644 --- a/src/chooselang.h +++ b/src/uilang.h @@ -23,8 +23,8 @@ * */ -#ifndef _CHOOSELANG_H_ -#define _CHOOSELANG_H_ +#ifndef Poedit_uilang_h +#define Poedit_uilang_h #include #include @@ -43,6 +43,6 @@ void ChangeUILanguage(); /** Return currently chosen language. Calls ChooseLanguage if necessary. */ wxString GetUILanguage(); -#endif // NEED_CHOOSELANG_UI - #endif + +#endif // Poedit_uilang_h