From d3a740fb95702e0bf05701a86896ebc1e8cfe938 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Javier=20J=2E=20Mart=C3=ADnez=20M=2E?=
<56406225+jjesus-dev@users.noreply.github.com>
Date: Fri, 16 May 2025 23:12:01 -0600
Subject: [PATCH 1/4] localization: update spanish translations (#1329)
add missing translations
---
src/Resources/Locales/es_ES.axaml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/Resources/Locales/es_ES.axaml b/src/Resources/Locales/es_ES.axaml
index b11d0e98..e2b16329 100644
--- a/src/Resources/Locales/es_ES.axaml
+++ b/src/Resources/Locales/es_ES.axaml
@@ -410,6 +410,7 @@
Cerrar panel de búsqueda
Buscar siguiente coincidencia
Buscar coincidencia anterior
+ Abrir con herramienta diff/merge externa
Abrir panel de búsqueda
Descartar
Stage
@@ -620,6 +621,7 @@
Mensaje
SHA
Rama Actual
+ Mostrar Submódulos como Árbol
Mostrar Etiquetas como Árbol
OMITIR
Estadísticas
@@ -708,6 +710,12 @@
Ruta Relativa:
Carpeta relativa para almacenar este módulo.
Eliminar Submódulo
+ ESTADO
+ modificado
+ no inicializado
+ revisión cambiada
+ unmerged
+ URL
OK
Copiar Nombre de la Etiqueta
Copiar Mensaje de la Etiqueta
From 506dbc218c13b5f560a57e843b326f17ee01cb1a Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
Date: Sat, 17 May 2025 05:12:20 +0000
Subject: [PATCH 2/4] doc: Update translation status and sort locale files
---
TRANSLATION.md | 16 +---------------
1 file changed, 1 insertion(+), 15 deletions(-)
diff --git a/TRANSLATION.md b/TRANSLATION.md
index b604acca..08d3bb06 100644
--- a/TRANSLATION.md
+++ b/TRANSLATION.md
@@ -24,21 +24,7 @@ This document shows the translation status of each locale file in the repository
-### 
-
-
-Missing keys in es_ES.axaml
-
-- Text.Hotkeys.TextEditor.OpenExternalMergeTool
-- Text.Repository.ShowSubmodulesAsTree
-- Text.Submodule.Status
-- Text.Submodule.Status.Modified
-- Text.Submodule.Status.NotInited
-- Text.Submodule.Status.RevisionChanged
-- Text.Submodule.Status.Unmerged
-- Text.Submodule.URL
-
-
+### 
### 
From 01945f231ed8f98e49cdd3de848c922c157c1053 Mon Sep 17 00:00:00 2001
From: popara <31167073+popara96@users.noreply.github.com>
Date: Sat, 17 May 2025 07:17:10 +0200
Subject: [PATCH 3/4] Added workspaces shortcuts (#1328)
- added Alt+Space for opening Workspaces context menu (which can then be navigated normally with arrows)
- added Alt+1 through Alt+9 for switching to corresponding workspace
---
src/Resources/Locales/en_US.axaml | 2 ++
src/ViewModels/Launcher.cs | 10 ++++++-
src/Views/Hotkeys.axaml | 8 +++++-
src/Views/Launcher.axaml | 2 +-
src/Views/Launcher.axaml.cs | 44 +++++++++++++++++++++++++++++++
5 files changed, 63 insertions(+), 3 deletions(-)
diff --git a/src/Resources/Locales/en_US.axaml b/src/Resources/Locales/en_US.axaml
index 2f7c5c43..63c9815d 100644
--- a/src/Resources/Locales/en_US.axaml
+++ b/src/Resources/Locales/en_US.axaml
@@ -386,6 +386,8 @@
Go to previous page
Create new page
Open Preferences dialog
+ Open Workspaces dialog
+ Switch to corresponding workspace
REPOSITORY
Commit staged changes
Commit and push staged changes
diff --git a/src/ViewModels/Launcher.cs b/src/ViewModels/Launcher.cs
index d9425059..5eaca763 100644
--- a/src/ViewModels/Launcher.cs
+++ b/src/ViewModels/Launcher.cs
@@ -463,6 +463,14 @@ namespace SourceGit.ViewModels
return menu;
}
+ public void SwitchWorkspace(int idx)
+ {
+ var pref = Preferences.Instance;
+ if (idx >= pref.Workspaces.Count || pref.Workspaces[idx].IsActive) return;
+
+ SwitchWorkspace(pref.Workspaces[idx]);
+ }
+
private string GetRepositoryGitDir(string repo)
{
var fullpath = Path.Combine(repo, ".git");
@@ -493,7 +501,7 @@ namespace SourceGit.ViewModels
return new Commands.QueryGitDir(repo).Result();
}
-
+
private void SwitchWorkspace(Workspace to)
{
foreach (var one in Pages)
diff --git a/src/Views/Hotkeys.axaml b/src/Views/Hotkeys.axaml
index 87242793..b1d436a4 100644
--- a/src/Views/Hotkeys.axaml
+++ b/src/Views/Hotkeys.axaml
@@ -45,7 +45,7 @@
FontSize="{Binding Source={x:Static vm:Preferences.Instance}, Path=DefaultFontSize, Converter={x:Static c:DoubleConverters.Increase}}"
Margin="0,0,0,8"/>
-
+
@@ -69,6 +69,12 @@
+
+
+
+
+
+
-