diff --git a/bin/assets/i18n/en.xml b/bin/assets/i18n/en.xml index d8fd6b169..692bbde97 100644 --- a/bin/assets/i18n/en.xml +++ b/bin/assets/i18n/en.xml @@ -56,6 +56,7 @@ Change Whole Word Always check for new updates at startup. Check For Updates + Check for Updates... Check Languages Health Clean Clean run with errors @@ -157,6 +158,7 @@ File path is: directory Document Search Document Symbol... + documentation Documents Settings Double Quotes "" Download File Web @@ -164,6 +166,7 @@ File path is: Duplicate File... There are currently no updates available. Ecode Source + ecode source code... You are running an unreleased version of ecode! Current version: is available! @@ -194,9 +197,8 @@ is hover a word that represents a color. Failed checking for updates. Error copying file. Error renaming file. - Replace \, , -, - and (Unicode characters + Replace \, \t, \n, \r and (Unicode characters + Escape Sequences Exclusive Mode Open directory in terminal Execute in terminal @@ -218,9 +220,11 @@ is hover a word that represents a color. Font Size Grow Font Size Reset Font Size Shrink + For help, please visit: Force New Line at End of File Format Doc Format Document + forum Frame Rate Limit Frame Rate Limit Applied Full Screen Mode @@ -249,7 +253,10 @@ is hover a word that represents a color. Enter the name for the branch: Create local branch? Delete + Diff HEAD + Diff Staged Discard + Discard All Drop Stash Drop Stash Fast Forward Merge @@ -284,6 +291,7 @@ Name your stash (optional): Tags Unmerged Unstage + Unstage All Untracked Global Search Global Search Clear History @@ -310,7 +318,8 @@ Restart ecode to see the changes. Inode Insert search query Inspect Widgets - Issues + issues + Issues Jump Lines Down Jump Lines Up Key Bindings @@ -352,6 +361,9 @@ Restart ecode to see the changes. Lsp Symbol Info Lsp Symbol References Lua Pattern + Lua Pattern Match + Main Menu + Match Case Match Whole Word Menu Toggle Message @@ -428,7 +440,7 @@ Please restart the application. Open Locatebar Open Recent Folder... Open Workspace Symbol Search - Output + Output Output Parser Custom output parsers scan command line output for user-provided error patterns to create entries in Build Issues and highlight those errors on the Build Output Presets are provided as generic output parsers, you can select one below, by default a "generic" preset will be selected: @@ -531,6 +543,7 @@ Set 0 to disable it. Minimum value is 1, and maximum 6. Requires restart. Shell Shell Configuration + Shortcuts Show Build Tab Show Console Show Document Info @@ -602,6 +615,7 @@ file in the directory tree. Terminal Split Right Terminal Split Top Texture Viewer + The ecode Toggle Lua Pattern Toggle Status Bar Toggle Status Build Output @@ -630,7 +644,7 @@ file in the directory tree. Copy Containing Folder Path... Copy File Path Copy File Path and Position - Paste + Cut Delete Open Containing Folder... Paste diff --git a/src/eepp/system/translator.cpp b/src/eepp/system/translator.cpp index 52be924f7..1ec6d3a5c 100644 --- a/src/eepp/system/translator.cpp +++ b/src/eepp/system/translator.cpp @@ -271,6 +271,10 @@ void Translator::saveToStream( IOStream& stream, std::string lang ) { auto resources = doc.append_child( "resources" ); resources.append_attribute( "language" ).set_value( lang.c_str() ); + auto langNameIt = mLangNames.find( lang ); + if ( langNameIt != mLangNames.end() ) + resources.append_attribute( "title" ).set_value( langNameIt->second.c_str() ); + auto& unordered_map = mDictionary[lang]; std::map langStrs( unordered_map.begin(), unordered_map.end() ); @@ -279,10 +283,6 @@ void Translator::saveToStream( IOStream& stream, std::string lang ) { auto d = r.append_child( pugi::node_pcdata ); r.append_attribute( "name" ).set_value( str.first.c_str() ); - auto langNameIt = mLangNames.find( lang ); - if ( langNameIt != mLangNames.end() ) - r.append_attribute( "title" ).set_name( langNameIt->second.c_str() ); - d.set_value( str.second.toUtf8().c_str() ); } diff --git a/src/eepp/ui/tools/uidocfindreplace.cpp b/src/eepp/ui/tools/uidocfindreplace.cpp index 6a23ecda7..f4cde74bd 100644 --- a/src/eepp/ui/tools/uidocfindreplace.cpp +++ b/src/eepp/ui/tools/uidocfindreplace.cpp @@ -112,19 +112,19 @@ const char DOC_FIND_REPLACE_XML[] = R"xml(