From 44c141be7cd20f0415d67b44c13e94104c1e65be Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 18 Mar 2024 18:44:31 +0800 Subject: [PATCH] update: localizations * fix Locales.Designer.cs NOT updated when compile after Locale.*.resx changed in Visual Studio 2022. * use PublicResXFileCodeGenerator instead of ResXFileCodeGenerator to make sure access modifier is 'public' in Visual Studio 2022. * use ResourceManager.GetResourceSet instead of collecting properties by reflection. * remove translation warnings in Visual Studio's ResXManager extension. --- src/App.axaml.cs | 33 +- src/Resources/Locales.Designer.cs | 16 +- src/Resources/Locales.en.resx | 1790 +++++++++++++++++++++-------- src/Resources/Locales.resx | 1790 +++++++++++++++++++++-------- src/Resources/Locales.zh.resx | 1789 ++++++++++++++++++++-------- src/SourceGit.csproj | 24 +- 6 files changed, 3885 insertions(+), 1557 deletions(-) diff --git a/src/App.axaml.cs b/src/App.axaml.cs index 0c27ed57..29fecf9a 100644 --- a/src/App.axaml.cs +++ b/src/App.axaml.cs @@ -1,10 +1,9 @@ using System; +using System.Collections; using System.IO; using System.Reflection; using System.Text; using System.Globalization; -using System.Linq; -using System.Threading; using Avalonia; using Avalonia.Controls; @@ -87,24 +86,18 @@ namespace SourceGit public static void SetLocale(string localeKey) { var app = Current as App; + var rd = new ResourceDictionary(); - localeKey = localeKey.Replace("_", "-"); + var culture = CultureInfo.GetCultureInfo(localeKey.Replace("_", "-")); + SourceGit.Resources.Locales.Culture = culture; - Thread.CurrentThread.CurrentUICulture = CultureInfo.GetCultureInfo(localeKey); - Thread.CurrentThread.CurrentCulture = Thread.CurrentThread.CurrentUICulture ; - SourceGit.Resources.Locales.Culture = Thread.CurrentThread.CurrentUICulture; - - var locale = new ResourceDictionary(); - var res = new Resources.Locales(); - var props = typeof(Resources.Locales).GetProperties() - .Where(m=> m.PropertyType == typeof(string)) - .ToDictionary(k=> k.Name.Replace("_", "."), v=> v.GetValue(res)); - foreach (var prop in props) - locale.Add(prop.Key, prop.Value); - - var targetLocale = locale; - if (targetLocale == null || targetLocale == app._activeLocale) { - return; + var sets = SourceGit.Resources.Locales.ResourceManager.GetResourceSet(culture, true, true); + foreach (var obj in sets) + { + if (obj is DictionaryEntry entry) + { + rd.Add(entry.Key, entry.Value); + } } if (app._activeLocale != null) @@ -112,8 +105,8 @@ namespace SourceGit app.Resources.MergedDictionaries.Remove(app._activeLocale); } - app.Resources.MergedDictionaries.Add(targetLocale); - app._activeLocale = targetLocale; + app.Resources.MergedDictionaries.Add(rd); + app._activeLocale = rd; } public static void SetTheme(string theme) diff --git a/src/Resources/Locales.Designer.cs b/src/Resources/Locales.Designer.cs index 1094816f..81b363d9 100644 --- a/src/Resources/Locales.Designer.cs +++ b/src/Resources/Locales.Designer.cs @@ -1,6 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. +// Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -18,7 +19,7 @@ namespace SourceGit.Resources { // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] public class Locales { @@ -28,7 +29,7 @@ namespace SourceGit.Resources { private static global::System.Globalization.CultureInfo resourceCulture; [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - public Locales() { + internal Locales() { } /// @@ -924,7 +925,7 @@ namespace SourceGit.Resources { } /// - /// Looks up a localized string similar to Conflict detected! Press 'Abort' to restore original HEAD. + /// Looks up a localized string similar to Conflict detected! Press 'Abort' to restore original HEAD.. /// public static string Text_Conflict_Tip { get { @@ -3200,15 +3201,6 @@ namespace SourceGit.Resources { } } - /// - /// Looks up a localized string similar to Save File to .... - /// - public static string Text_SaveFileTo { - get { - return ResourceManager.GetString("Text.SaveFileTo", resourceCulture); - } - } - /// /// Looks up a localized string similar to Squash HEAD Into Parent. /// diff --git a/src/Resources/Locales.en.resx b/src/Resources/Locales.en.resx index f81e5bb6..0e31cd4d 100644 --- a/src/Resources/Locales.en.resx +++ b/src/Resources/Locales.en.resx @@ -1,509 +1,1287 @@  - - - - - - - - text/microsoft-resx - - - 1.3 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - START - OK - SAVE - CLOSE - CANCEL - Reveal in File Explorer - Save As ... - Save File to ... - Copy Path - Bytes - FILTER - Optional. - SELECT FOLDER - NOTICE - Open With ... - Running. Please wait ... - Warning - - Copy - Paste - Refresh - - Name : - URL : - Git Repository URL - - SSH Private Key : - Private SSH key store path - - About - Copyright © 2024 sourcegit-scm. - • Build with - • TextEditor from - • Monospace fonts come from - - Patch - Apply Patch - Patch File : - Select .patch file to apply - Whitespace : - Ignore whitespace changes - No Warn - Turns off the trailing whitespace warning - Warn - Outputs warnings for a few such errors, but applies - Error - Raise errors and refuses to apply the patch - Error All - Similar to 'error', but shows more - - Archive ... - Archive - Revision : - Save Archive To : - Select archive file path - - Blame - - SUBMODULES - Add Submodule - Relative Path : - Relative folder to store this module. - Fetch nested submodules - Open Submodule Repository - Copy Relative Path - Delete Submodule - - Checkout Branch - Target : - - Cherry-Pick This Commit - Cherry Pick - Commit : - Commit all changes - - Clone Remote Repository - Repository URL : - Parent Folder : - Local Name : - Repository name. Optional. - Extra Parameters : - Additional arguments to clone repository. Optional. - - INFORMATION - AUTHOR - COMMITTER - SHA - PARENTS - REFS - MESSAGE - CHANGED - CHANGES - Search Files ... - FILES - LFS File - Submodule - Tag - Tree - - Configure - User Name - User name for this repository - Email Address - Email address - HTTP Proxy - HTTP proxy used by this repository - - Create Branch - Create Local Branch - Based On : - New Branch Name : - Enter branch name. - Local Changes : - Stash & Reapply - Discard - Check out after created - - Create Tag - New Tag At : - Tag Name : - Recommended format :v1.0.0-alpha - Tag Message : - Optional. - - Open In File Browser - Open In Visual Studio Code - Open In Git Bash - Refresh - Search Commit (Ctrl+F) - Search Author/Committer/Message/SHA - Statistics - Cleanup(GC & Prune) - Run `gc` command and do `lfs prune` if LFS is installed. - Configure this repository - WORKSPACE - LOCAL BRANCHES - NEW BRANCH - REMOTES - ADD REMOTE - TAGS - NEW TAG - SUBMODULES - ADD SUBMODULE - UPDATE SUBMODULE - RESOLVE - CONTINUE - ABORT - - GIT FLOW - Initialize Git-Flow - Production Branch : - Development Branch : - Feature : - Release : - Hotfix : - Feature Prefix : - Release Prefix : - Hotfix Prefix : - Version Tag Prefix : - Start Feature ... - Start Release ... - Start Hotfix ... - FLOW - Start Feature - FLOW - Start Release - FLOW - Start Hotfix - Enter name - FLOW - Finish Feature - FLOW - Finish Release - FLOW - Finish Hotfix - Target : - Keep branch - - Bookmark - Open - Explore in File Manager - - Push${0}$ - Discard all changes - Fast-Forward to${0}$ - Pull${0}$ - Pull${0}$into${1}$ - Checkout${0}$ - Merge${0}$into${1}$ - Rebase${0}$on${1}$ - Git Flow - Finish${0}$ - Rename${0}$ - Delete${0}$ - Tracking ... - Copy Branch Name - Unset Upstream - - Fetch ... - Prune - Target : - Edit ... - Delete ... - Copy URL - - Reset${0}$to Here - Rebase${0}$to Here - Cherry-Pick This Commit - Reword - Squash Into Parent - Revert Commit - Save as Patch ... - Copy SHA - - Push${0}$ - Delete${0}$ - Copy Tag Name - - Apply - Pop - Drop - - Unstage - Stage... - Discard... - Stash... - Unstage {0} files - Stage {0} files... - Discard {0} files... - Stash {0} files... - Save As Patch... - Assume unchanged - Stage Changes in Selected Line(s) - Discard Changes in Selected Line(s) - Unstage Changes in Selected Line(s) - - Delete Branch - Branch : - - Delete Remote - Remote : - - Delete Tag - Tag : - Delete from remote repositories - - Delete Submodule - Submodule Path : - - Next Difference - Previous Difference - Toggle One-Side/Two-Sides - Open With Merge Tool - SELECT FILE TO VIEW CHANGES - NO CHANGES OR ONLY EOL CHANGES - BINARY DIFF - OLD - NEW - LFS OBJECT CHANGE - Copy - - Discard Changes - Changes : - You can't undo this action!!! - All local changes in working copy. - Total {0} changes will be discard - - Fetch - Fetch Remote Changes - Remote : - Fetch all remotes - Prune remote dead branches - - Fast-Forward (without checkout) - - File History - - CHANGE DISPLAY MODE - Show as Grid - Show as List - Show as Tree - - Histories - SEARCH SHA/SUBJECT/AUTHOR. PRESS ENTER TO SEARCH, ESC TO QUIT - CLEAR - Switch Curve/Polyline Graph Mode - Switch Horizontal/Vertical Layout - SELECTED {0} COMMITS - - Initialize Repository - Path : - Invalid repository detected. Run `git init` under this path? - - Source Git - Open Main Menu - ERROR - NOTICE - - Create New Page (Ctrl+T) - Repositories - Close Tab - Close Other Tabs - Close Tabs to the Right - Bookmark - Copy Repository Path - - Merge Branch - Source Branch : - Into : - Merge Option : - - Open Repository - Open In Git Bash - Clone Repository - Edit - Create Group - Create Sub-Group - Delete - Search Repositories ... - Sort - DRAG & DROP FOLDER SUPPORTED - - Edit Selected Group - Edit Selected Repository - Target : - New Name : - Bookmark : - - Confirm Deleting Group - Confirm Deleting Repository - Target : - - Pull - Pull (Fetch & Merge) - Remote : - Branch : - Into : - Use rebase instead of merge - Stash & reapply local changes - - Push - Push Changes To Remote - Local Branch : - Remote : - Remote Branch : - Push all tags - Force push - - Push Tag To Remote - Tag : - Remote : - - Rebase Current Branch - Rebase : - On : - Stash & reapply local changes - - Add Remote - Edit Remote - Name : - Remote name - Repository URL : - Remote git repository URL - - Rename Branch - Branch : - New Name : - Unique name for this branch - - Reset Current Branch To Revision - Current Branch : - Move To : - Reset Mode : - - Revert Commit - Commit : - Commit revert changes - - Preference - GENERAL - Language - Avatar Server - Theme - History Commits - Restore windows - Use fixed tab width in titlebar - GIT - Install Path - Git version - Default Clone Dir - User Name - Global git user name - User Email - Global git user email - Enable Auto CRLF - Fetch remotes automatically - GPG SIGNING - Commit GPG signing - Install Path - Input path for installed gpg program - User Signing Key - User's gpg signing key - MERGE - Merger - Install Path - Input path for merge tool - Merge Command - Diff Command - - Stash - Stash Local Changes - Message : - Optional. Name of this stash - Include untracked files - - Stashes - STASHES - CHANGES - - Drop Stash - Drop : - - COMMIT : {0} -> {1} - - Changes - UNSTAGED - VIEW ASSUME UNCHANGED - STAGE - STAGE ALL - STAGED - UNSTAGE - UNSTAGE ALL - CONFLICTS DETECTED - USE THEIRS - USE MINE - OPEN MERGE - Enter commit message - MESSAGE HISTORIES - Amend - COMMIT - CTRL + Enter - COMMIT & PUSH - NO RECENT INPUT MESSAGES - RECENT INPUT MESSAGES - INCLUDE UNTRACKED FILES - - Conflict detected! Press 'Abort' to restore original HEAD - - Clear Stashes - You are trying to clear all stashes. Are you sure to continue? - - Reword Commit Message - On : - Message : - - Squash HEAD Into Parent - HEAD : - To : - Reword : - - FILES ASSUME UNCHANGED - REMOVE - NO FILES ASSUMED AS UNCHANGED - - Statistics - WEEK - MONTH - YEAR - Total Committers - Total Commits - COMMITTER - COMMITS - - HotKeys - GLOBAL - Create new page - Close current page - Go to next page - Cancel current popup - REPOSITORY - Switch to 'Histories' - Switch to 'Changes' - Switch to 'Stashes' - Toggle commit search - Stage/Unstage selected changes - TEXT EDITOR - Open search panel - Find previous match - Find next match - Close search panel - - Git has NOT been configured. Please to go [Preference] and configure it first. - BINARY FILE NOT SUPPORTED!!! - BLAME ON THIS FILE IS NOT SUPPORTED!!! - Patch has been saved successfully! + + + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + START + + + OK + + + SAVE + + + CLOSE + + + CANCEL + + + Reveal in File Explorer + + + Save As ... + + + Copy Path + + + Bytes + + + FILTER + + + Optional. + + + SELECT FOLDER + + + NOTICE + + + Open With ... + + + Running. Please wait ... + + + Warning + + + Copy + + + Paste + + + Refresh + + + Name : + + + URL : + + + Git Repository URL + + + SSH Private Key : + + + Private SSH key store path + + + About + + + Copyright © 2024 sourcegit-scm. + + + • Build with + + + • TextEditor from + + + • Monospace fonts come from + + + Patch + + + Apply Patch + + + Patch File : + + + Select .patch file to apply + + + Whitespace : + + + Ignore whitespace changes + + + No Warn + + + Turns off the trailing whitespace warning + + + Warn + + + Outputs warnings for a few such errors, but applies + + + Error + + + Raise errors and refuses to apply the patch + + + Error All + + + Similar to 'error', but shows more + + + Archive ... + + + Archive + + + Revision : + + + Save Archive To : + + + Select archive file path + + + Blame + + + SUBMODULES + + + Add Submodule + + + Relative Path : + + + Relative folder to store this module. + + + Fetch nested submodules + + + Open Submodule Repository + + + Copy Relative Path + + + Delete Submodule + + + Checkout Branch + + + Target : + + + Cherry-Pick This Commit + + + Cherry Pick + + + Commit : + + + Commit all changes + + + Clone Remote Repository + + + Repository URL : + + + Parent Folder : + + + Local Name : + + + Repository name. Optional. + + + Extra Parameters : + + + Additional arguments to clone repository. Optional. + + + INFORMATION + + + AUTHOR + + + COMMITTER + + + SHA + + + PARENTS + + + REFS + + + MESSAGE + + + CHANGED + + + CHANGES + + + Search Files ... + + + FILES + + + LFS File + + + Submodule + + + Tag + + + Tree + + + Configure + + + User Name + + + User name for this repository + + + Email Address + + + Email address + + + HTTP Proxy + + + HTTP proxy used by this repository + + + Create Branch + + + Create Local Branch + + + Based On : + + + New Branch Name : + + + Enter branch name. + + + Local Changes : + + + Stash & Reapply + + + Discard + + + Check out after created + + + Create Tag + + + New Tag At : + + + Tag Name : + + + Recommended format :v1.0.0-alpha + + + Tag Message : + + + Optional. + + + Open In File Browser + + + Open In Visual Studio Code + + + Open In Git Bash + + + Refresh + + + Search Commit (Ctrl+F) + + + Search Author/Committer/Message/SHA + + + Statistics + + + Cleanup(GC & Prune) + + + Run `gc` command and do `lfs prune` if LFS is installed. + + + Configure this repository + + + WORKSPACE + + + LOCAL BRANCHES + + + NEW BRANCH + + + REMOTES + + + ADD REMOTE + + + TAGS + + + NEW TAG + + + SUBMODULES + + + ADD SUBMODULE + + + UPDATE SUBMODULE + + + RESOLVE + + + CONTINUE + + + ABORT + + + GIT FLOW + + + Initialize Git-Flow + + + Production Branch : + + + Development Branch : + + + Feature : + + + Release : + + + Hotfix : + + + Feature Prefix : + + + Release Prefix : + + + Hotfix Prefix : + + + Version Tag Prefix : + + + Start Feature ... + + + Start Release ... + + + Start Hotfix ... + + + FLOW - Start Feature + + + FLOW - Start Release + + + FLOW - Start Hotfix + + + Enter name + + + FLOW - Finish Feature + + + FLOW - Finish Release + + + FLOW - Finish Hotfix + + + Target : + + + Keep branch + + + Bookmark + + + Open + + + Explore in File Manager + + + Push${0}$ + + + Discard all changes + + + Fast-Forward to${0}$ + + + Pull${0}$ + + + Pull${0}$into${1}$ + + + Checkout${0}$ + + + Merge${0}$into${1}$ + + + Rebase${0}$on${1}$ + + + Git Flow - Finish${0}$ + + + Rename${0}$ + + + Delete${0}$ + + + Tracking ... + + + Copy Branch Name + + + Unset Upstream + + + Fetch ... + + + Prune + + + Target : + + + Edit ... + + + Delete ... + + + Copy URL + + + Reset${0}$to Here + + + Rebase${0}$to Here + + + Cherry-Pick This Commit + + + Reword + + + Squash Into Parent + + + Revert Commit + + + Save as Patch ... + + + Copy SHA + + + Push${0}$ + + + Delete${0}$ + + + Copy Tag Name + + + Apply + + + Pop + + + Drop + + + Unstage + + + Stage... + + + Discard... + + + Stash... + + + Unstage {0} files + + + Stage {0} files... + + + Discard {0} files... + + + Stash {0} files... + + + Save As Patch... + + + Assume unchanged + + + Stage Changes in Selected Line(s) + + + Discard Changes in Selected Line(s) + + + Unstage Changes in Selected Line(s) + + + Delete Branch + + + Branch : + + + Delete Remote + + + Remote : + + + Delete Tag + + + Tag : + + + Delete from remote repositories + + + Delete Submodule + + + Submodule Path : + + + Next Difference + + + Previous Difference + + + Toggle One-Side/Two-Sides + + + Open With Merge Tool + + + SELECT FILE TO VIEW CHANGES + + + NO CHANGES OR ONLY EOL CHANGES + + + BINARY DIFF + + + OLD + + + NEW + + + LFS OBJECT CHANGE + + + Copy + + + Discard Changes + + + Changes : + + + You can't undo this action!!! + + + All local changes in working copy. + + + Total {0} changes will be discard + + + Fetch + + + Fetch Remote Changes + + + Remote : + + + Fetch all remotes + + + Prune remote dead branches + + + Fast-Forward (without checkout) + + + File History + + + CHANGE DISPLAY MODE + + + Show as Grid + + + Show as List + + + Show as Tree + + + Histories + + + SEARCH SHA/SUBJECT/AUTHOR. PRESS ENTER TO SEARCH, ESC TO QUIT + + + CLEAR + + + Switch Curve/Polyline Graph Mode + + + Switch Horizontal/Vertical Layout + + + SELECTED {0} COMMITS + + + Initialize Repository + + + Path : + + + Invalid repository detected. Run `git init` under this path? + + + Source Git + + + Open Main Menu + + + ERROR + + + NOTICE + + + Create New Page (Ctrl+T) + + + Repositories + + + Close Tab + + + Close Other Tabs + + + Close Tabs to the Right + + + Bookmark + + + Copy Repository Path + + + Merge Branch + + + Source Branch : + + + Into : + + + Merge Option : + + + Open Repository + + + Open In Git Bash + + + Clone Repository + + + Edit + + + Create Group + + + Create Sub-Group + + + Delete + + + Search Repositories ... + + + Sort + + + DRAG & DROP FOLDER SUPPORTED + + + Edit Selected Group + + + Edit Selected Repository + + + Target : + + + New Name : + + + Bookmark : + + + Confirm Deleting Group + + + Confirm Deleting Repository + + + Target : + + + Pull + + + Pull (Fetch & Merge) + + + Remote : + + + Branch : + + + Into : + + + Use rebase instead of merge + + + Stash & reapply local changes + + + Push + + + Push Changes To Remote + + + Local Branch : + + + Remote : + + + Remote Branch : + + + Push all tags + + + Force push + + + Push Tag To Remote + + + Tag : + + + Remote : + + + Rebase Current Branch + + + Rebase : + + + On : + + + Stash & reapply local changes + + + Add Remote + + + Edit Remote + + + Name : + + + Remote name + + + Repository URL : + + + Remote git repository URL + + + Rename Branch + + + Branch : + + + New Name : + + + Unique name for this branch + + + Reset Current Branch To Revision + + + Current Branch : + + + Move To : + + + Reset Mode : + + + Revert Commit + + + Commit : + + + Commit revert changes + + + Preference + + + GENERAL + + + Language + + + Avatar Server + + + Theme + + + History Commits + + + Restore windows + + + Use fixed tab width in titlebar + + + GIT + + + Install Path + + + Git version + + + Default Clone Dir + + + User Name + + + Global git user name + + + User Email + + + Global git user email + + + Enable Auto CRLF + + + Fetch remotes automatically + + + GPG SIGNING + + + Commit GPG signing + + + Install Path + + + Input path for installed gpg program + + + User Signing Key + + + User's gpg signing key + + + MERGE + + + Merger + + + Install Path + + + Input path for merge tool + + + Merge Command + + + Diff Command + + + Stash + + + Stash Local Changes + + + Message : + + + Optional. Name of this stash + + + Include untracked files + + + Stashes + + + STASHES + + + CHANGES + + + Drop Stash + + + Drop : + + + COMMIT : {0} -> {1} + + + Changes + + + UNSTAGED + + + VIEW ASSUME UNCHANGED + + + STAGE + + + STAGE ALL + + + STAGED + + + UNSTAGE + + + UNSTAGE ALL + + + CONFLICTS DETECTED + + + USE THEIRS + + + USE MINE + + + OPEN MERGE + + + Enter commit message + + + MESSAGE HISTORIES + + + Amend + + + COMMIT + + + CTRL + Enter + + + COMMIT & PUSH + + + NO RECENT INPUT MESSAGES + + + RECENT INPUT MESSAGES + + + INCLUDE UNTRACKED FILES + + + Conflict detected! Press 'Abort' to restore original HEAD. + + + Clear Stashes + + + You are trying to clear all stashes. Are you sure to continue? + + + Reword Commit Message + + + On : + + + Message : + + + Squash HEAD Into Parent + + + HEAD : + + + To : + + + Reword : + + + FILES ASSUME UNCHANGED + + + REMOVE + + + NO FILES ASSUMED AS UNCHANGED + + + Statistics + + + WEEK + + + MONTH + + + YEAR + + + Total Committers + + + Total Commits + + + COMMITTER + + + COMMITS + + + HotKeys + + + GLOBAL + + + Create new page + + + Close current page + + + Go to next page + + + Cancel current popup + + + REPOSITORY + + + Switch to 'Histories' + + + Switch to 'Changes' + + + Switch to 'Stashes' + + + Toggle commit search + + + Stage/Unstage selected changes + + + TEXT EDITOR + + + Open search panel + + + Find previous match + + + Find next match + + + Close search panel + + + Git has NOT been configured. Please to go [Preference] and configure it first. + + + BINARY FILE NOT SUPPORTED!!! + + + BLAME ON THIS FILE IS NOT SUPPORTED!!! + + + Patch has been saved successfully! + \ No newline at end of file diff --git a/src/Resources/Locales.resx b/src/Resources/Locales.resx index f81e5bb6..0e31cd4d 100644 --- a/src/Resources/Locales.resx +++ b/src/Resources/Locales.resx @@ -1,509 +1,1287 @@  - - - - - - - - text/microsoft-resx - - - 1.3 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - START - OK - SAVE - CLOSE - CANCEL - Reveal in File Explorer - Save As ... - Save File to ... - Copy Path - Bytes - FILTER - Optional. - SELECT FOLDER - NOTICE - Open With ... - Running. Please wait ... - Warning - - Copy - Paste - Refresh - - Name : - URL : - Git Repository URL - - SSH Private Key : - Private SSH key store path - - About - Copyright © 2024 sourcegit-scm. - • Build with - • TextEditor from - • Monospace fonts come from - - Patch - Apply Patch - Patch File : - Select .patch file to apply - Whitespace : - Ignore whitespace changes - No Warn - Turns off the trailing whitespace warning - Warn - Outputs warnings for a few such errors, but applies - Error - Raise errors and refuses to apply the patch - Error All - Similar to 'error', but shows more - - Archive ... - Archive - Revision : - Save Archive To : - Select archive file path - - Blame - - SUBMODULES - Add Submodule - Relative Path : - Relative folder to store this module. - Fetch nested submodules - Open Submodule Repository - Copy Relative Path - Delete Submodule - - Checkout Branch - Target : - - Cherry-Pick This Commit - Cherry Pick - Commit : - Commit all changes - - Clone Remote Repository - Repository URL : - Parent Folder : - Local Name : - Repository name. Optional. - Extra Parameters : - Additional arguments to clone repository. Optional. - - INFORMATION - AUTHOR - COMMITTER - SHA - PARENTS - REFS - MESSAGE - CHANGED - CHANGES - Search Files ... - FILES - LFS File - Submodule - Tag - Tree - - Configure - User Name - User name for this repository - Email Address - Email address - HTTP Proxy - HTTP proxy used by this repository - - Create Branch - Create Local Branch - Based On : - New Branch Name : - Enter branch name. - Local Changes : - Stash & Reapply - Discard - Check out after created - - Create Tag - New Tag At : - Tag Name : - Recommended format :v1.0.0-alpha - Tag Message : - Optional. - - Open In File Browser - Open In Visual Studio Code - Open In Git Bash - Refresh - Search Commit (Ctrl+F) - Search Author/Committer/Message/SHA - Statistics - Cleanup(GC & Prune) - Run `gc` command and do `lfs prune` if LFS is installed. - Configure this repository - WORKSPACE - LOCAL BRANCHES - NEW BRANCH - REMOTES - ADD REMOTE - TAGS - NEW TAG - SUBMODULES - ADD SUBMODULE - UPDATE SUBMODULE - RESOLVE - CONTINUE - ABORT - - GIT FLOW - Initialize Git-Flow - Production Branch : - Development Branch : - Feature : - Release : - Hotfix : - Feature Prefix : - Release Prefix : - Hotfix Prefix : - Version Tag Prefix : - Start Feature ... - Start Release ... - Start Hotfix ... - FLOW - Start Feature - FLOW - Start Release - FLOW - Start Hotfix - Enter name - FLOW - Finish Feature - FLOW - Finish Release - FLOW - Finish Hotfix - Target : - Keep branch - - Bookmark - Open - Explore in File Manager - - Push${0}$ - Discard all changes - Fast-Forward to${0}$ - Pull${0}$ - Pull${0}$into${1}$ - Checkout${0}$ - Merge${0}$into${1}$ - Rebase${0}$on${1}$ - Git Flow - Finish${0}$ - Rename${0}$ - Delete${0}$ - Tracking ... - Copy Branch Name - Unset Upstream - - Fetch ... - Prune - Target : - Edit ... - Delete ... - Copy URL - - Reset${0}$to Here - Rebase${0}$to Here - Cherry-Pick This Commit - Reword - Squash Into Parent - Revert Commit - Save as Patch ... - Copy SHA - - Push${0}$ - Delete${0}$ - Copy Tag Name - - Apply - Pop - Drop - - Unstage - Stage... - Discard... - Stash... - Unstage {0} files - Stage {0} files... - Discard {0} files... - Stash {0} files... - Save As Patch... - Assume unchanged - Stage Changes in Selected Line(s) - Discard Changes in Selected Line(s) - Unstage Changes in Selected Line(s) - - Delete Branch - Branch : - - Delete Remote - Remote : - - Delete Tag - Tag : - Delete from remote repositories - - Delete Submodule - Submodule Path : - - Next Difference - Previous Difference - Toggle One-Side/Two-Sides - Open With Merge Tool - SELECT FILE TO VIEW CHANGES - NO CHANGES OR ONLY EOL CHANGES - BINARY DIFF - OLD - NEW - LFS OBJECT CHANGE - Copy - - Discard Changes - Changes : - You can't undo this action!!! - All local changes in working copy. - Total {0} changes will be discard - - Fetch - Fetch Remote Changes - Remote : - Fetch all remotes - Prune remote dead branches - - Fast-Forward (without checkout) - - File History - - CHANGE DISPLAY MODE - Show as Grid - Show as List - Show as Tree - - Histories - SEARCH SHA/SUBJECT/AUTHOR. PRESS ENTER TO SEARCH, ESC TO QUIT - CLEAR - Switch Curve/Polyline Graph Mode - Switch Horizontal/Vertical Layout - SELECTED {0} COMMITS - - Initialize Repository - Path : - Invalid repository detected. Run `git init` under this path? - - Source Git - Open Main Menu - ERROR - NOTICE - - Create New Page (Ctrl+T) - Repositories - Close Tab - Close Other Tabs - Close Tabs to the Right - Bookmark - Copy Repository Path - - Merge Branch - Source Branch : - Into : - Merge Option : - - Open Repository - Open In Git Bash - Clone Repository - Edit - Create Group - Create Sub-Group - Delete - Search Repositories ... - Sort - DRAG & DROP FOLDER SUPPORTED - - Edit Selected Group - Edit Selected Repository - Target : - New Name : - Bookmark : - - Confirm Deleting Group - Confirm Deleting Repository - Target : - - Pull - Pull (Fetch & Merge) - Remote : - Branch : - Into : - Use rebase instead of merge - Stash & reapply local changes - - Push - Push Changes To Remote - Local Branch : - Remote : - Remote Branch : - Push all tags - Force push - - Push Tag To Remote - Tag : - Remote : - - Rebase Current Branch - Rebase : - On : - Stash & reapply local changes - - Add Remote - Edit Remote - Name : - Remote name - Repository URL : - Remote git repository URL - - Rename Branch - Branch : - New Name : - Unique name for this branch - - Reset Current Branch To Revision - Current Branch : - Move To : - Reset Mode : - - Revert Commit - Commit : - Commit revert changes - - Preference - GENERAL - Language - Avatar Server - Theme - History Commits - Restore windows - Use fixed tab width in titlebar - GIT - Install Path - Git version - Default Clone Dir - User Name - Global git user name - User Email - Global git user email - Enable Auto CRLF - Fetch remotes automatically - GPG SIGNING - Commit GPG signing - Install Path - Input path for installed gpg program - User Signing Key - User's gpg signing key - MERGE - Merger - Install Path - Input path for merge tool - Merge Command - Diff Command - - Stash - Stash Local Changes - Message : - Optional. Name of this stash - Include untracked files - - Stashes - STASHES - CHANGES - - Drop Stash - Drop : - - COMMIT : {0} -> {1} - - Changes - UNSTAGED - VIEW ASSUME UNCHANGED - STAGE - STAGE ALL - STAGED - UNSTAGE - UNSTAGE ALL - CONFLICTS DETECTED - USE THEIRS - USE MINE - OPEN MERGE - Enter commit message - MESSAGE HISTORIES - Amend - COMMIT - CTRL + Enter - COMMIT & PUSH - NO RECENT INPUT MESSAGES - RECENT INPUT MESSAGES - INCLUDE UNTRACKED FILES - - Conflict detected! Press 'Abort' to restore original HEAD - - Clear Stashes - You are trying to clear all stashes. Are you sure to continue? - - Reword Commit Message - On : - Message : - - Squash HEAD Into Parent - HEAD : - To : - Reword : - - FILES ASSUME UNCHANGED - REMOVE - NO FILES ASSUMED AS UNCHANGED - - Statistics - WEEK - MONTH - YEAR - Total Committers - Total Commits - COMMITTER - COMMITS - - HotKeys - GLOBAL - Create new page - Close current page - Go to next page - Cancel current popup - REPOSITORY - Switch to 'Histories' - Switch to 'Changes' - Switch to 'Stashes' - Toggle commit search - Stage/Unstage selected changes - TEXT EDITOR - Open search panel - Find previous match - Find next match - Close search panel - - Git has NOT been configured. Please to go [Preference] and configure it first. - BINARY FILE NOT SUPPORTED!!! - BLAME ON THIS FILE IS NOT SUPPORTED!!! - Patch has been saved successfully! + + + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + START + + + OK + + + SAVE + + + CLOSE + + + CANCEL + + + Reveal in File Explorer + + + Save As ... + + + Copy Path + + + Bytes + + + FILTER + + + Optional. + + + SELECT FOLDER + + + NOTICE + + + Open With ... + + + Running. Please wait ... + + + Warning + + + Copy + + + Paste + + + Refresh + + + Name : + + + URL : + + + Git Repository URL + + + SSH Private Key : + + + Private SSH key store path + + + About + + + Copyright © 2024 sourcegit-scm. + + + • Build with + + + • TextEditor from + + + • Monospace fonts come from + + + Patch + + + Apply Patch + + + Patch File : + + + Select .patch file to apply + + + Whitespace : + + + Ignore whitespace changes + + + No Warn + + + Turns off the trailing whitespace warning + + + Warn + + + Outputs warnings for a few such errors, but applies + + + Error + + + Raise errors and refuses to apply the patch + + + Error All + + + Similar to 'error', but shows more + + + Archive ... + + + Archive + + + Revision : + + + Save Archive To : + + + Select archive file path + + + Blame + + + SUBMODULES + + + Add Submodule + + + Relative Path : + + + Relative folder to store this module. + + + Fetch nested submodules + + + Open Submodule Repository + + + Copy Relative Path + + + Delete Submodule + + + Checkout Branch + + + Target : + + + Cherry-Pick This Commit + + + Cherry Pick + + + Commit : + + + Commit all changes + + + Clone Remote Repository + + + Repository URL : + + + Parent Folder : + + + Local Name : + + + Repository name. Optional. + + + Extra Parameters : + + + Additional arguments to clone repository. Optional. + + + INFORMATION + + + AUTHOR + + + COMMITTER + + + SHA + + + PARENTS + + + REFS + + + MESSAGE + + + CHANGED + + + CHANGES + + + Search Files ... + + + FILES + + + LFS File + + + Submodule + + + Tag + + + Tree + + + Configure + + + User Name + + + User name for this repository + + + Email Address + + + Email address + + + HTTP Proxy + + + HTTP proxy used by this repository + + + Create Branch + + + Create Local Branch + + + Based On : + + + New Branch Name : + + + Enter branch name. + + + Local Changes : + + + Stash & Reapply + + + Discard + + + Check out after created + + + Create Tag + + + New Tag At : + + + Tag Name : + + + Recommended format :v1.0.0-alpha + + + Tag Message : + + + Optional. + + + Open In File Browser + + + Open In Visual Studio Code + + + Open In Git Bash + + + Refresh + + + Search Commit (Ctrl+F) + + + Search Author/Committer/Message/SHA + + + Statistics + + + Cleanup(GC & Prune) + + + Run `gc` command and do `lfs prune` if LFS is installed. + + + Configure this repository + + + WORKSPACE + + + LOCAL BRANCHES + + + NEW BRANCH + + + REMOTES + + + ADD REMOTE + + + TAGS + + + NEW TAG + + + SUBMODULES + + + ADD SUBMODULE + + + UPDATE SUBMODULE + + + RESOLVE + + + CONTINUE + + + ABORT + + + GIT FLOW + + + Initialize Git-Flow + + + Production Branch : + + + Development Branch : + + + Feature : + + + Release : + + + Hotfix : + + + Feature Prefix : + + + Release Prefix : + + + Hotfix Prefix : + + + Version Tag Prefix : + + + Start Feature ... + + + Start Release ... + + + Start Hotfix ... + + + FLOW - Start Feature + + + FLOW - Start Release + + + FLOW - Start Hotfix + + + Enter name + + + FLOW - Finish Feature + + + FLOW - Finish Release + + + FLOW - Finish Hotfix + + + Target : + + + Keep branch + + + Bookmark + + + Open + + + Explore in File Manager + + + Push${0}$ + + + Discard all changes + + + Fast-Forward to${0}$ + + + Pull${0}$ + + + Pull${0}$into${1}$ + + + Checkout${0}$ + + + Merge${0}$into${1}$ + + + Rebase${0}$on${1}$ + + + Git Flow - Finish${0}$ + + + Rename${0}$ + + + Delete${0}$ + + + Tracking ... + + + Copy Branch Name + + + Unset Upstream + + + Fetch ... + + + Prune + + + Target : + + + Edit ... + + + Delete ... + + + Copy URL + + + Reset${0}$to Here + + + Rebase${0}$to Here + + + Cherry-Pick This Commit + + + Reword + + + Squash Into Parent + + + Revert Commit + + + Save as Patch ... + + + Copy SHA + + + Push${0}$ + + + Delete${0}$ + + + Copy Tag Name + + + Apply + + + Pop + + + Drop + + + Unstage + + + Stage... + + + Discard... + + + Stash... + + + Unstage {0} files + + + Stage {0} files... + + + Discard {0} files... + + + Stash {0} files... + + + Save As Patch... + + + Assume unchanged + + + Stage Changes in Selected Line(s) + + + Discard Changes in Selected Line(s) + + + Unstage Changes in Selected Line(s) + + + Delete Branch + + + Branch : + + + Delete Remote + + + Remote : + + + Delete Tag + + + Tag : + + + Delete from remote repositories + + + Delete Submodule + + + Submodule Path : + + + Next Difference + + + Previous Difference + + + Toggle One-Side/Two-Sides + + + Open With Merge Tool + + + SELECT FILE TO VIEW CHANGES + + + NO CHANGES OR ONLY EOL CHANGES + + + BINARY DIFF + + + OLD + + + NEW + + + LFS OBJECT CHANGE + + + Copy + + + Discard Changes + + + Changes : + + + You can't undo this action!!! + + + All local changes in working copy. + + + Total {0} changes will be discard + + + Fetch + + + Fetch Remote Changes + + + Remote : + + + Fetch all remotes + + + Prune remote dead branches + + + Fast-Forward (without checkout) + + + File History + + + CHANGE DISPLAY MODE + + + Show as Grid + + + Show as List + + + Show as Tree + + + Histories + + + SEARCH SHA/SUBJECT/AUTHOR. PRESS ENTER TO SEARCH, ESC TO QUIT + + + CLEAR + + + Switch Curve/Polyline Graph Mode + + + Switch Horizontal/Vertical Layout + + + SELECTED {0} COMMITS + + + Initialize Repository + + + Path : + + + Invalid repository detected. Run `git init` under this path? + + + Source Git + + + Open Main Menu + + + ERROR + + + NOTICE + + + Create New Page (Ctrl+T) + + + Repositories + + + Close Tab + + + Close Other Tabs + + + Close Tabs to the Right + + + Bookmark + + + Copy Repository Path + + + Merge Branch + + + Source Branch : + + + Into : + + + Merge Option : + + + Open Repository + + + Open In Git Bash + + + Clone Repository + + + Edit + + + Create Group + + + Create Sub-Group + + + Delete + + + Search Repositories ... + + + Sort + + + DRAG & DROP FOLDER SUPPORTED + + + Edit Selected Group + + + Edit Selected Repository + + + Target : + + + New Name : + + + Bookmark : + + + Confirm Deleting Group + + + Confirm Deleting Repository + + + Target : + + + Pull + + + Pull (Fetch & Merge) + + + Remote : + + + Branch : + + + Into : + + + Use rebase instead of merge + + + Stash & reapply local changes + + + Push + + + Push Changes To Remote + + + Local Branch : + + + Remote : + + + Remote Branch : + + + Push all tags + + + Force push + + + Push Tag To Remote + + + Tag : + + + Remote : + + + Rebase Current Branch + + + Rebase : + + + On : + + + Stash & reapply local changes + + + Add Remote + + + Edit Remote + + + Name : + + + Remote name + + + Repository URL : + + + Remote git repository URL + + + Rename Branch + + + Branch : + + + New Name : + + + Unique name for this branch + + + Reset Current Branch To Revision + + + Current Branch : + + + Move To : + + + Reset Mode : + + + Revert Commit + + + Commit : + + + Commit revert changes + + + Preference + + + GENERAL + + + Language + + + Avatar Server + + + Theme + + + History Commits + + + Restore windows + + + Use fixed tab width in titlebar + + + GIT + + + Install Path + + + Git version + + + Default Clone Dir + + + User Name + + + Global git user name + + + User Email + + + Global git user email + + + Enable Auto CRLF + + + Fetch remotes automatically + + + GPG SIGNING + + + Commit GPG signing + + + Install Path + + + Input path for installed gpg program + + + User Signing Key + + + User's gpg signing key + + + MERGE + + + Merger + + + Install Path + + + Input path for merge tool + + + Merge Command + + + Diff Command + + + Stash + + + Stash Local Changes + + + Message : + + + Optional. Name of this stash + + + Include untracked files + + + Stashes + + + STASHES + + + CHANGES + + + Drop Stash + + + Drop : + + + COMMIT : {0} -> {1} + + + Changes + + + UNSTAGED + + + VIEW ASSUME UNCHANGED + + + STAGE + + + STAGE ALL + + + STAGED + + + UNSTAGE + + + UNSTAGE ALL + + + CONFLICTS DETECTED + + + USE THEIRS + + + USE MINE + + + OPEN MERGE + + + Enter commit message + + + MESSAGE HISTORIES + + + Amend + + + COMMIT + + + CTRL + Enter + + + COMMIT & PUSH + + + NO RECENT INPUT MESSAGES + + + RECENT INPUT MESSAGES + + + INCLUDE UNTRACKED FILES + + + Conflict detected! Press 'Abort' to restore original HEAD. + + + Clear Stashes + + + You are trying to clear all stashes. Are you sure to continue? + + + Reword Commit Message + + + On : + + + Message : + + + Squash HEAD Into Parent + + + HEAD : + + + To : + + + Reword : + + + FILES ASSUME UNCHANGED + + + REMOVE + + + NO FILES ASSUMED AS UNCHANGED + + + Statistics + + + WEEK + + + MONTH + + + YEAR + + + Total Committers + + + Total Commits + + + COMMITTER + + + COMMITS + + + HotKeys + + + GLOBAL + + + Create new page + + + Close current page + + + Go to next page + + + Cancel current popup + + + REPOSITORY + + + Switch to 'Histories' + + + Switch to 'Changes' + + + Switch to 'Stashes' + + + Toggle commit search + + + Stage/Unstage selected changes + + + TEXT EDITOR + + + Open search panel + + + Find previous match + + + Find next match + + + Close search panel + + + Git has NOT been configured. Please to go [Preference] and configure it first. + + + BINARY FILE NOT SUPPORTED!!! + + + BLAME ON THIS FILE IS NOT SUPPORTED!!! + + + Patch has been saved successfully! + \ No newline at end of file diff --git a/src/Resources/Locales.zh.resx b/src/Resources/Locales.zh.resx index 95b195cf..3b31cde1 100644 --- a/src/Resources/Locales.zh.resx +++ b/src/Resources/Locales.zh.resx @@ -1,508 +1,1287 @@  - - - - - - - - text/microsoft-resx - - - 1.3 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 开 始 - 确 定 - 保 存 - 关闭 - 取 消 - 在文件浏览器中查看 - 另存为... - 复制路径 - 字节 - 过滤 - 选填 - 选择文件夹 - 系统提示 - 打开文件... - 执行操作中,请耐心等待... - 警告 - - 复制 - 粘贴 - 重新加载 - - 名称 : - 仓库地址 : - 远程仓库地址 - - SSH密钥 : - SSH密钥文件 - - 关于软件 - Copyright © 2024 sourcegit-scm. - • 使用的框架为 - • 文本编辑器使用 - • 等宽字体来自于 - - 补丁 - 应用补丁 - 补丁文件 : - 选择补丁文件 - 空白符号处理 : - 忽略空白符号 - 忽略 - 关闭所有警告 - 警告 - 应用补丁,输出关于空白符的警告 - 错误 - 输出错误,并终止应用补丁 - 更多错误 - 与【错误】级别相似,但输出内容更多 - - 存档 ... - 存档 - 指定的提交: - 存档文件路径: - 选择存档文件的存放路径 - - 逐行追溯 - - 子模块 - 添加子模块 - 相对仓库路径 : - 本地存放的相对路径 - 拉取子孙模块 - 打开仓库 - 复制路径 - 删除子模块 - - 检出分支 - 目标分支 : - - 挑选此提交 - 挑选提交 - 提交ID : - 提交变化 - - 克隆远程仓库 - 远程仓库 : - 父级目录 : - 本地仓库名 : - 本地仓库目录的名字,选填 - 额外参数 : - 其他克隆参数,选填 - - 基本信息 - 修改者 - 提交者 - 提交指纹 - 父提交 - 相关引用 - 提交信息 - 变更列表 - 变更对比 - 查找文件... - 文件列表 - LFS文件 - 子模块 - 标签文件 - 子树 - - 仓库配置 - 用户名 - 应用于本仓库的用户名 - 电子邮箱 - 邮箱地址 - HTTP代理 - HTTP网络代理 - - 新建分支 - 创建本地分支 - 新分支基于 : - 新分支名 : - 填写分支名称 - 未提交更改 : - 贮藏并自动恢复 - 忽略 - 完成后切换到新分支 - - 新建标签 - 标签位于 : - 标签名 : - 推荐格式 :v1.0.0-alpha - 标签描述 : - 选填 - - 在文件浏览器中打开 - 在Visual Studio Code中打开 - 在GIT终端中打开 - 重新加载 - 查找提交(Ctrl+F) - 支持搜索作者/提交者/主题/指纹 - 提交统计 - 清理本仓库(GC) - 本操作将执行`gc`,对于启用LFS的仓库也会执行`lfs prune` - 配置本仓库 - 工作区 - 本地分支 - 新建分支 - 远程列表 - 添加远程 - 标签列表 - 新建标签 - 子模块列表 - 添加子模块 - 更新子模块 - 解决冲突 - 下一步 - 终止冲突解决 - - GIT工作流 - 初始化GIT工作流 - 发布分支 : - 开发分支 : - 特性分支 : - 版本分支 : - 修复分支 : - 特性分支名前缀 : - 版本分支名前缀 : - 修复分支名前缀 : - 版本标签前缀 : - 开始特性分支... - 开始版本分支... - 开始修复分支... - 开始特性分支 - 开始版本分支 - 开始修复分支 - 输入分支名 - 结束特性分支 - 结束版本分支 - 结束修复分支 - 目标分支 : - 保留分支 - - 书签 - 打开 - 在浏览器中查看 - - 推送${0}$ - 放弃所有更改 - 快进到${0}$ - 拉回${0}$ - 拉回${0}$内容至${1}$ - 检出${0}$ - 合并${0}$到${1}$ - 变基${0}$分支至${1}$ - GIT工作流 - 完成${0}$ - 重命名${0}$ - 删除${0}$ - 切换上游分支... - 复制分支名 - 取消追踪 - - 拉取更新 ... - 清理远程已删除分支 - 目标 : - 编辑 ... - 删除 ... - 复制远程地址 - - 重置${0}$到此处 - 变基${0}$到此处 - 挑选此提交 - 编辑提交信息 - 合并此提交到上一个提交 - 回滚此提交 - 另存为补丁 ... - 复制提交指纹 - - 推送${0}$ - 删除${0}$ - 复制标签名 - - 应用 - 应用并删除 - 删除 - - 从暂存中移除 - 暂存... - 放弃更改... - 贮藏... - 从暂存中移除 {0} 个文件 - 暂存 {0} 个文件... - 放弃 {0} 个文件的更改... - 贮藏选中的 {0} 个文件... - 另存为补丁... - 不跟踪此文件的更改 - 暂存选中的更改 - 放弃选中的更改 - 从暂存中移除选中的更改 - - 确定要删除此分支吗? - 分支名 : - - 确定要移除该远程吗? - 远程名 : - - 确定要移除该标签吗? - 标签名 : - 同时删除远程仓库中的此标签 - - 确定要移除该子模块吗? - 子模块路径 : - - 下一个差异 - 上一个差异 - 切换显示模式 - 使用外部合并工具查看 - 请选择需要对比的文件 - 没有变更或仅有换行符差异 - 二进制文件 - 原始大小 - 当前大小 - LFS对象变更 - 复制 - - 放弃更改确认 - 需要放弃的变更 : - 本操作不支持回退,请确认后继续!!! - 所有本地址未提交的修改 - 总计{0}项选中更改 - - 拉取 - 拉取远程仓库内容 - 远程仓库 : - 拉取所有的远程仓库 - 自动清理远程已删除分支 - - 快进(无需Checkout) - - 文件历史 - - 切换变更显示模式 - 网格模式 - 列表模式 - 树形模式 - - 历史记录 - 查询提交指纹、信息、作者。回车键开始,ESC键取消 - 清空 - 切换曲线/折线显示 - 切换横向/纵向显示 - 已选中 {0} 项提交 - - 初始化新仓库 - 路径 : - 点击【确定】将在此目录执行`git init`操作 - - Source Git - 主菜单 - 出错了 - 系统提示 - - 新建空白页 (Ctrl+T) - 新标签页 - 关闭标签页 (Ctrl+W) - 关闭其他标签页 - 关闭右侧标签页 - 设置书签 - 复制仓库路径 - - 合并分支 - 合并分支 : - 目标分支 : - 合并方式 : - - 打开本地仓库 - 打开GIT终端 - 克隆远程仓库 - 编辑 - 新建分组 - 新建子分组 - 删除 - 快速查找仓库 - 排序 - 支持拖放目录添加 - - 编辑分组 - 编辑仓库 - 目标 : - 名称 : - 书签 : - - 删除分组确认 - 删除仓库确认 - 目标 : - - 拉回 - 拉回(拉取并合并) - 远程 : - 拉取分支 : - 本地分支 : - 使用变基方式合并分支 - 自动贮藏并恢复本地变更 - - 推送 - 推送到远程仓库 - 本地分支 : - 远程仓库 : - 远程分支 : - 同时推送标签 - 启用强制推送 - - 推送标签到远程仓库 - 标签 : - 远程仓库 : - - 变基操作 - 分支 : - 目标提交 : - 自动贮藏并恢复本地变更 - - 添加远程仓库 - 编辑远程仓库 - 远程名 : - 唯一远程名 - 仓库地址 : - 远程仓库的地址 - - 分支重命名 - 分支 : - 新的名称 : - 新的分支名不能与现有分支名相同 - - 重置当前分支到指定版本 - 当前分支 : - 提交 : - 重置模式 : - - 确定要回滚吗? - 目标提交 : - 回滚后提交更改 - - 偏好设置 - 通用配置 - 显示语言 - 头像服务 - 主题 - 最大历史提交数 - 启动时恢复上次打开的仓库 - 使用固定宽度的标题栏标签 - GIT配置 - 安装路径 - Git 版本 - 默认克隆路径 - 用户名 - 默认GIT用户名 - 邮箱 - 默认GIT用户邮箱 - 自动换行转换 - 启用定时自动拉取远程更新 - GPG签名 - 启用提交签名 - 可执行文件位置 - gpg.exe所在路径 - 用户签名KEY - 输入签名提交所使用的KEY - 外部合并工具 - 工具 - 安装路径 - 填写工具可执行文件所在位置 - 合并模式启动参数 - 对比模式启动参数 - - 贮藏 - 贮藏本地变更 - 信息 : - 选填,用于命名此贮藏 - 包含未跟踪的文件 - - 贮藏列表 - 贮藏列表 - 查看变更 - - 丢弃贮藏确认 - 丢弃贮藏 : - - 对比提交 : {0} -> {1} - - 本地更改 - 未暂存 - 查看忽略变更文件 - 暂存选中 - 暂存所有 - 已暂存 - 从暂存区移除选中 - 从暂存区移除所有 - 检测到冲突 - 使用THEIRS - 使用MINE - 打开合并工具 - 填写提交信息 - 历史提交信息 - 修补 - 提交 - CTRL + Enter - 提交并推送 - 没有提交信息记录 - 最近输入的提交信息 - 显示未跟踪文件 - - 检测到本地冲突! - - 丢弃贮藏确认 - 您正在丢弃所有的贮藏,一经操作,无法回退,是否继续? - - 编辑提交信息 - 提交: - 提交信息: - - 合并HEAD到上一个提交 - 当前提交 : - 合并到 : - 修改提交信息: - - 不跟踪更改的文件 - 移除 - 没有不跟踪更改的文件 - - 提交统计 - 本周 - 本月 - 本年 - 提交者人数 - 总计提交次数 - 提交者 - 提交次数 - - 快捷键 - 全局快捷键 - 新建页面 - 关闭当前页面 - 切换到下一个页面 - 取消弹出面板 - 仓库页面快捷键 - 显示历史记录 - 显示本地更改 - 显示贮藏列表 - 打开/关闭历史搜索 - 将选中的变更暂存或从暂存列表中移除 - 文本编辑器 - 打开搜索 - 定位到上一个匹配搜索的位置 - 定位到下一个匹配搜索的位置 - 关闭搜索 - - GIT尚未配置。请打开【偏好设置】配置GIT路径。 - 二进制文件不支持该操作!!! - 选中文件不支持该操作!!! - 补丁已成功保存! + + + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 开 始 + + + 确 定 + + + 保 存 + + + 关闭 + + + 取 消 + + + 在文件浏览器中查看 + + + 另存为... + + + 复制路径 + + + 字节 + + + 过滤 + + + 选填。 + + + 选择文件夹 + + + 系统提示 + + + 打开文件... + + + 执行操作中,请耐心等待... + + + 警告 + + + 复制 + + + 粘贴 + + + 重新加载 + + + 名称 : + + + 仓库地址 : + + + 远程仓库地址 + + + SSH密钥 : + + + SSH密钥文件 + + + 关于软件 + + + Copyright © 2024 sourcegit-scm. + + + • 使用的框架为 + + + • 文本编辑器使用 + + + • 等宽字体来自于 + + + 补丁 + + + 应用补丁 + + + 补丁文件 : + + + 选择补丁文件 + + + 空白符号处理 : + + + 忽略空白符号 + + + 忽略 + + + 关闭所有警告 + + + 警告 + + + 应用补丁,输出关于空白符的警告 + + + 错误 + + + 输出错误,并终止应用补丁 + + + 更多错误 + + + 与【错误】级别相似,但输出内容更多 + + + 存档 ... + + + 存档 + + + 指定的提交: + + + 存档文件路径: + + + 选择存档文件的存放路径 + + + 逐行追溯 + + + 子模块 + + + 添加子模块 + + + 相对仓库路径 : + + + 本地存放的相对路径。 + + + 拉取子孙模块 + + + 打开仓库 + + + 复制路径 + + + 删除子模块 + + + 检出分支 + + + 目标分支 : + + + 挑选此提交 + + + 挑选提交 + + + 提交ID : + + + 提交变化 + + + 克隆远程仓库 + + + 远程仓库 : + + + 父级目录 : + + + 本地仓库名 : + + + 本地仓库目录的名字,选填。 + + + 额外参数 : + + + 其他克隆参数,选填。 + + + 基本信息 + + + 修改者 + + + 提交者 + + + 提交指纹 + + + 父提交 + + + 相关引用 + + + 提交信息 + + + 变更列表 + + + 变更对比 + + + 查找文件... + + + 文件列表 + + + LFS文件 + + + 子模块 + + + 标签文件 + + + 子树 + + + 仓库配置 + + + 用户名 + + + 应用于本仓库的用户名 + + + 电子邮箱 + + + 邮箱地址 + + + HTTP代理 + + + HTTP网络代理 + + + 新建分支 + + + 创建本地分支 + + + 新分支基于 : + + + 新分支名 : + + + 填写分支名称。 + + + 未提交更改 : + + + 贮藏并自动恢复 + + + 忽略 + + + 完成后切换到新分支 + + + 新建标签 + + + 标签位于 : + + + 标签名 : + + + 推荐格式 :v1.0.0-alpha + + + 标签描述 : + + + 选填。 + + + 在文件浏览器中打开 + + + 在Visual Studio Code中打开 + + + 在GIT终端中打开 + + + 重新加载 + + + 查找提交(Ctrl+F) + + + 支持搜索作者/提交者/主题/指纹 + + + 提交统计 + + + 清理本仓库(GC) + + + 本操作将执行`gc`,对于启用LFS的仓库也会执行`lfs prune`。 + + + 配置本仓库 + + + 工作区 + + + 本地分支 + + + 新建分支 + + + 远程列表 + + + 添加远程 + + + 标签列表 + + + 新建标签 + + + 子模块列表 + + + 添加子模块 + + + 更新子模块 + + + 解决冲突 + + + 下一步 + + + 终止合并 + + + GIT工作流 + + + 初始化GIT工作流 + + + 发布分支 : + + + 开发分支 : + + + 特性分支 : + + + 版本分支 : + + + 修复分支 : + + + 特性分支名前缀 : + + + 版本分支名前缀 : + + + 修复分支名前缀 : + + + 版本标签前缀 : + + + 开始特性分支... + + + 开始版本分支... + + + 开始修复分支... + + + 开始特性分支 + + + 开始版本分支 + + + 开始修复分支 + + + 输入分支名 + + + 结束特性分支 + + + 结束版本分支 + + + 结束修复分支 + + + 目标分支 : + + + 保留分支 + + + 书签 + + + 打开 + + + 在浏览器中查看 + + + 推送${0}$ + + + 放弃所有更改 + + + 快进到${0}$ + + + 拉回${0}$ + + + 拉回${0}$内容至${1}$ + + + 检出${0}$ + + + 合并${0}$到${1}$ + + + 变基${0}$分支至${1}$ + + + GIT工作流 - 完成${0}$ + + + 重命名${0}$ + + + 删除${0}$ + + + 切换上游分支... + + + 复制分支名 + + + 取消追踪 + + + 拉取更新 ... + + + 清理远程已删除分支 + + + 目标 : + + + 编辑 ... + + + 删除 ... + + + 复制远程地址 + + + 重置${0}$到此处 + + + 变基${0}$到此处 + + + 挑选此提交 + + + 编辑提交信息 + + + 合并此提交到上一个提交 + + + 回滚此提交 + + + 另存为补丁 ... + + + 复制提交指纹 + + + 推送${0}$ + + + 删除${0}$ + + + 复制标签名 + + + 应用 + + + 应用并删除 + + + 删除 + + + 从暂存中移除 + + + 暂存... + + + 放弃更改... + + + 贮藏... + + + 从暂存中移除 {0} 个文件 + + + 暂存 {0} 个文件... + + + 放弃 {0} 个文件的更改... + + + 贮藏选中的 {0} 个文件... + + + 另存为补丁... + + + 不跟踪此文件的更改 + + + 暂存选中的更改 + + + 放弃选中的更改 + + + 从暂存中移除选中的更改 + + + 删除分支确认 + + + 分支名 : + + + 删除远程确认 + + + 远程名 : + + + 删除标签确认 + + + 标签名 : + + + 同时删除远程仓库中的此标签 + + + 删除子模块确认 + + + 子模块路径 : + + + 下一个差异 + + + 上一个差异 + + + 切换显示模式 + + + 使用外部合并工具查看 + + + 请选择需要对比的文件 + + + 没有变更或仅有换行符差异 + + + 二进制文件 + + + 原始大小 + + + 当前大小 + + + LFS对象变更 + + + 复制 + + + 放弃更改确认 + + + 需要放弃的变更 : + + + 本操作不支持回退,请确认后继续!!! + + + 所有本地址未提交的修改。 + + + 总计{0}项选中更改 + + + 拉取 + + + 拉取远程仓库内容 + + + 远程仓库 : + + + 拉取所有的远程仓库 + + + 自动清理远程已删除分支 + + + 快进(无需Checkout) + + + 文件历史 + + + 切换变更显示模式 + + + 网格模式 + + + 列表模式 + + + 树形模式 + + + 历史记录 + + + 查询提交指纹、信息、作者。回车键开始,ESC键取消 + + + 清空 + + + 切换曲线/折线显示 + + + 切换横向/纵向显示 + + + 已选中 {0} 项提交 + + + 初始化新仓库 + + + 路径 : + + + 选择目录不是有效的Git仓库。是否需要在此目录执行`git init`操作? + + + Source Git + + + 主菜单 + + + 出错了 + + + 系统提示 + + + 新建空白页 (Ctrl+T) + + + 新标签页 + + + 关闭标签页 (Ctrl+W) + + + 关闭其他标签页 + + + 关闭右侧标签页 + + + 设置书签 + + + 复制仓库路径 + + + 合并分支 + + + 合并分支 : + + + 目标分支 : + + + 合并方式 : + + + 打开本地仓库 + + + 打开GIT终端 + + + 克隆远程仓库 + + + 编辑 + + + 新建分组 + + + 新建子分组 + + + 删除 + + + 快速查找仓库... + + + 排序 + + + 支持拖放目录添加 + + + 编辑分组 + + + 编辑仓库 + + + 目标 : + + + 名称 : + + + 书签 : + + + 删除分组确认 + + + 删除仓库确认 + + + 目标 : + + + 拉回 + + + 拉回(拉取并合并) + + + 远程 : + + + 拉取分支 : + + + 本地分支 : + + + 使用变基方式合并分支 + + + 自动贮藏并恢复本地变更 + + + 推送 + + + 推送到远程仓库 + + + 本地分支 : + + + 远程仓库 : + + + 远程分支 : + + + 同时推送标签 + + + 启用强制推送 + + + 推送标签到远程仓库 + + + 标签 : + + + 远程仓库 : + + + 变基操作 + + + 分支 : + + + 目标提交 : + + + 自动贮藏并恢复本地变更 + + + 添加远程仓库 + + + 编辑远程仓库 + + + 远程名 : + + + 唯一远程名 + + + 仓库地址 : + + + 远程仓库的地址 + + + 分支重命名 + + + 分支 : + + + 新的名称 : + + + 新的分支名不能与现有分支名相同 + + + 重置当前分支到指定版本 + + + 当前分支 : + + + 提交 : + + + 重置模式 : + + + 回滚操作确认 + + + 目标提交 : + + + 回滚后提交更改 + + + 偏好设置 + + + 通用配置 + + + 显示语言 + + + 头像服务 + + + 主题 + + + 最大历史提交数 + + + 启动时恢复上次打开的仓库 + + + 使用固定宽度的标题栏标签 + + + GIT配置 + + + 安装路径 + + + Git 版本 + + + 默认克隆路径 + + + 用户名 + + + 默认GIT用户名 + + + 邮箱 + + + 默认GIT用户邮箱 + + + 自动换行转换 + + + 启用定时自动拉取远程更新 + + + GPG签名 + + + 启用提交签名 + + + 可执行文件位置 + + + gpg.exe所在路径 + + + 用户签名KEY + + + 输入签名提交所使用的KEY + + + 外部合并工具 + + + 工具 + + + 安装路径 + + + 填写工具可执行文件所在位置 + + + 合并模式启动参数 + + + 对比模式启动参数 + + + 贮藏 + + + 贮藏本地变更 + + + 信息 : + + + 选填,用于命名此贮藏 + + + 包含未跟踪的文件 + + + 贮藏列表 + + + 贮藏列表 + + + 查看变更 + + + 丢弃贮藏确认 + + + 丢弃贮藏 : + + + 对比提交 : {0} -> {1} + + + 本地更改 + + + 未暂存 + + + 查看忽略变更文件 + + + 暂存选中 + + + 暂存所有 + + + 已暂存 + + + 从暂存区移除选中 + + + 从暂存区移除所有 + + + 检测到冲突 + + + 使用THEIRS + + + 使用MINE + + + 打开合并工具 + + + 填写提交信息 + + + 历史提交信息 + + + 修补 + + + 提交 + + + CTRL + Enter + + + 提交并推送 + + + 没有提交信息记录 + + + 最近输入的提交信息 + + + 显示未跟踪文件 + + + 检测到本地冲突! 点击【终止合并】回滚到合并操作前的状态。 + + + 丢弃贮藏确认 + + + 您正在丢弃所有的贮藏,一经操作,无法回退,是否继续? + + + 编辑提交信息 + + + 提交: + + + 提交信息: + + + 合并HEAD到上一个提交 + + + 当前提交 : + + + 合并到 : + + + 修改提交信息: + + + 不跟踪更改的文件 + + + 移除 + + + 没有不跟踪更改的文件 + + + 提交统计 + + + 本周 + + + 本月 + + + 本年 + + + 提交者人数 + + + 总计提交次数 + + + 提交者 + + + 提交次数 + + + 快捷键 + + + 全局快捷键 + + + 新建页面 + + + 关闭当前页面 + + + 切换到下一个页面 + + + 取消弹出面板 + + + 仓库页面快捷键 + + + 显示历史记录 + + + 显示本地更改 + + + 显示贮藏列表 + + + 打开/关闭历史搜索 + + + 将选中的变更暂存或从暂存列表中移除 + + + 文本编辑器 + + + 打开搜索 + + + 定位到上一个匹配搜索的位置 + + + 定位到下一个匹配搜索的位置 + + + 关闭搜索 + + + GIT尚未配置。请打开【偏好设置】配置GIT路径。 + + + 二进制文件不支持该操作!!! + + + 选中文件不支持该操作!!! + + + 补丁已成功保存! + \ No newline at end of file diff --git a/src/SourceGit.csproj b/src/SourceGit.csproj index f2a9a33e..29a4a8e2 100644 --- a/src/SourceGit.csproj +++ b/src/SourceGit.csproj @@ -29,6 +29,22 @@ + + + True + True + Locales.resx + + + PublicResXFileCodeGenerator + Locales.Designer.cs + + + PublicResXFileCodeGenerator + Locales.resx + + + @@ -46,12 +62,4 @@ - - - - ResXFileCodeGenerator - Locales.resx - - -