From 3821852da7588b9181db73e36e35840eb4b1177a Mon Sep 17 00:00:00 2001 From: Mahdi Hosseini Date: Sun, 22 Aug 2021 10:38:32 +0430 Subject: [PATCH 1/2] Add Spanish Language Thanks to @jhm-ciberman https://github.com/HandyOrg/HandyControl/issues/959 --- .../HandyControlDemo_Net_40.csproj | 8 + .../HandyControl_Net_40.csproj | 3 + .../HandyControlDemo_Net_GE45.csproj | 8 + .../HandyControl_Net_GE45.csproj | 3 + .../Properties/Langs/Lang.es.resx | 801 ++++++++++++++++++ .../Resources/Img/Flag/es.png | Bin 0 -> 1804 bytes .../Main/NonClientAreaContent.xaml | 5 + .../Properties/Langs/Lang.es.resx | 240 ++++++ 8 files changed, 1068 insertions(+) create mode 100644 src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.es.resx create mode 100644 src/Shared/HandyControlDemo_Shared/Resources/Img/Flag/es.png create mode 100644 src/Shared/HandyControl_Shared/Properties/Langs/Lang.es.resx diff --git a/src/Net_40/HandyControlDemo_Net_40/HandyControlDemo_Net_40.csproj b/src/Net_40/HandyControlDemo_Net_40/HandyControlDemo_Net_40.csproj index c4dd0e8a..2ba7a7b6 100644 --- a/src/Net_40/HandyControlDemo_Net_40/HandyControlDemo_Net_40.csproj +++ b/src/Net_40/HandyControlDemo_Net_40/HandyControlDemo_Net_40.csproj @@ -171,6 +171,9 @@ Resources\Img\Flag\en.png + + Resources\Img\Flag\es.png + Resources\Img\Flag\fa.png @@ -521,6 +524,9 @@ Properties\Langs\Lang.en.resx + + Properties\Langs\Lang.es.resx + Properties\Langs\Lang.fa.resx @@ -572,6 +578,7 @@ if not exist Langs md Langs rd /s /q Langs\en + rd /s /q Langs\es rd /s /q Langs\fa rd /s /q Langs\fr rd /s /q Langs\ko-KR @@ -581,6 +588,7 @@ rd /s /q Langs\tr rd /s /q Langs\ca-Es move en Langs + move es Langs move fa Langs move fr Langs move ko-KR Langs diff --git a/src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj b/src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj index 7b163473..c88b6d26 100644 --- a/src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj +++ b/src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj @@ -40,6 +40,9 @@ Properties\Langs\Lang.en.resx + + + Properties\Langs\Lang.es.resx Properties\Langs\Lang.fa.resx diff --git a/src/Net_GE45/HandyControlDemo_Net_GE45/HandyControlDemo_Net_GE45.csproj b/src/Net_GE45/HandyControlDemo_Net_GE45/HandyControlDemo_Net_GE45.csproj index f3ea7b42..de3680f5 100644 --- a/src/Net_GE45/HandyControlDemo_Net_GE45/HandyControlDemo_Net_GE45.csproj +++ b/src/Net_GE45/HandyControlDemo_Net_GE45/HandyControlDemo_Net_GE45.csproj @@ -173,6 +173,9 @@ Resources\Img\Flag\en.png + + Resources\Img\Flag\es.png + Resources\Img\Flag\fa.png @@ -523,6 +526,9 @@ Properties\Langs\Lang.en.resx + + Properties\Langs\Lang.es.resx + Properties\Langs\Lang.fa.resx @@ -574,6 +580,7 @@ if not exist Langs md Langs rd /s /q Langs\en + rd /s /q Langs\es rd /s /q Langs\fa rd /s /q Langs\fr rd /s /q Langs\ko-KR @@ -583,6 +590,7 @@ rd /s /q Langs\tr rd /s /q Langs\ca-Es move en Langs + move es Langs move fa Langs move fr Langs move ko-KR Langs diff --git a/src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj b/src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj index 9926b810..218a6f01 100644 --- a/src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj +++ b/src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj @@ -41,6 +41,9 @@ Properties\Langs\Lang.en.resx + + + Properties\Langs\Lang.es.resx Properties\Langs\Lang.fa.resx diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.es.resx b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.es.resx new file mode 100644 index 00000000..4b9f220e --- /dev/null +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.es.resx @@ -0,0 +1,801 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Controles + + + Estilos + + + Growl + + + Hoy es un lindo día~~~ + + + ¡Archivo guardado exitosamente! + + + ¡No hay más espacio disponible en el disco! + + + La conexión falló. ¡Por favor revisa tu conexión a internet! + + + El programa se ha detenido de forma inesperada + + + Se ha detectado una nueva versión del programa. ¿Desea actualizarlo? + + + Cargando + + + ImageBrowser + + + ColorPicker + + + Carousel + + + CompareSlider + + + TimeBar + + + Expander + + + Pagination + + + Pulse para seleccionar una imagen + + + ProgressBar + + + AnimationPath + + + Button + + + ToggleButton + + + TabControl + + + CheckBox + + + TextBlock + + + Por defecto + + + Primario + + + Éxito + + + Info + + + Advertencia + + + Error + + + Personalizado + + + Título + + + StepBar + + + Anterior + + + Siguiente + + + Registrarse + + + Completar sus datos + + + Subir archivo + + + Completado + + + Reloj + + + Calendario + + + DatePicker + + + TimePicker + + + TextBox + + + Este es el contenido + + + Este es el título + + + Este campo es obligatorio + + + Por favor complete el campo + + + Este título está a la izquierda + + + Texto + + + Subtitulo + + + PasswordBox + + + CirclePanel + + + ComboBox + + + NumericUpDown + + + DataGrid + + + Index + + + Name + + + Type + + + Remark + + + Selected + + + ListBox + + + TreeView + + + ScrollViewer + + + Window + + + Menu + + + Haga click derecho + + + RadioButton + + + Abrir ventana con mensaje + + + Abrir ventana común + + + Abrir ventana sin bordes personalizada + + + Abrir ventana que sigue al mouse + + + Abrir ventana personalizada + + + Ignorar + + + Error + + + Pregunta + + + Fatal + + + Borrar + + + ¿Desea reiniciar para cambiar el idioma? + + + Acerca de + + + Repositorio + + + Email + + + Chatroom + + + Blog + + + Brush + + + PreviewSlider + + + Contribuyentes + + + Slider + + + Número de teléfono inválido + + + Por favor ingrese un email válido + + + Step + + + CalendarWithClock + + + DateTimePicker + + + GroupBox + + + ListView + + + RichTextBox + + + ToolBar + + + Common + + + ShowRowNumber + + + SearchBar + + + Tag + + + GifImage + + + OutlineText + + + QQ Group + + + FlipClock + + + Abrir ventana difuminada + + + Rate + + + Shield + + + WaterfallPanel + + + Groups + + + CoverView + + + CoverFlow + + + Buscar + + + Abrir ventana arrastrable sin bordes + + + Suelte aquí + + + MessageBox + + + ProgressButton + + + Cargar archivo;Cargando archivo + + + Abrir ventana de mensaje personalizada + + + Transfer + + + ChatBubble + + + Pulse para hablar + + + Seg + + + Label + + + Ir arriba + + + NotifyIcon + + + Badge + + + Gravatar + + + Próximamente + + + Commentario + + + Respuesta + + + Dialog + + + TextDialog + + + Por favor aguarde... + + + Growl demo + + + Nueva ventana + + + Visibility + + + Blink + + + Salir + + + Abrir panel + + + El icono de la bandeja está abierto y ocultará la ventana en lugar de cerrar el programa. + + + Prompt + + + ¿Intentar cerrar la aplicación? + + + Diálogo interactivo + + + Aceptar + + + Por favor ingrese un texto... + + + Click para incrementar + + + RepeatButton + + + Dialog demo + + + Mostrar en esta ventana + + + Mostrar en la ventana principal + + + SideMenu + + + Grid + + + Layout básico + + + Columnas espaciadas + + + Layout Híbrido + + + Columnas con offset + + + Layout Responsivo + + + Border + + + Poptip + + + Recommendation + + + Project + + + RangeSlider + + + RelativePanel + + + On + + + Off + + + ButtonGroup + + + Card + + + TextDialog with timer + + + Magnifier + + + ImageBlock + + + RunningBlock + + + HoneycombPanel + + + Add an item + + + Remove an item + + + Sprite + + + Abrir sprite + + + Notification + + + Enviar notificación + + + Permance abierto + + + FloatingBlock + + + SplitButton + + + Herramientas + + + HatchBrushGenerator + + + Morphing Animation + + + Divider + + + top-start;top;top-end;right-start;right;right-end;bottom-end;bottom;bottom-start;left-end;left;left-start + + + TransitioningContentControl + + + Drawer + + + Documentación + + + Effects + + + Sitio Web + + + Vsix + + + Documentación en Inglés + + + Documentación en Chino + + + Demo + + + PinBox + + + FlowDocumentScrollViewer + + + Abrir glowWindow + + + FlowDocument + + + FlowDocumentPageViewer + + + FlowDocumentReader + + + Abrir ventana común nativa + + + Abrir ventana de navegación + + + Frame + + + Ejemplos + + + Iniciar Captura de Pantalla + + + Captura de Pantalla + + + TextDialog(In control) + + + Looks up a localized string similar to "{0}". + + + PropertyGrid + + + ImageSelector + + + Geometry + + + CheckComboBox + + + FlexPanel + + + Abrir ventana TouchDragMove + + + UniformSpacingPanel + + + Misc + + + Interactuando + + + Datos de entrada + + + Data de visualización + + + Navegación + + + Layout + + + Feedback + + + Empty + + + ElementGroup + + \ No newline at end of file diff --git a/src/Shared/HandyControlDemo_Shared/Resources/Img/Flag/es.png b/src/Shared/HandyControlDemo_Shared/Resources/Img/Flag/es.png new file mode 100644 index 0000000000000000000000000000000000000000..3761493dfda82b5c5d2cc41fff6c2fe58eb7c0f9 GIT binary patch literal 1804 zcmaJ?c~BE)91XW%Nd-j_71yAsK$6|W09gqT2uG@k+#*$Kjzuz%Y}hO$oE~5mA&Lr$ zfTE&U5kWv5Z*(lAV!g#;JxEchSgO>52Pkxdg8id(XLi41-h02}d*5tsh%m_7%E5|6 zB3bi;d11r|5U<@hbK*PqTK5ZLn2HBPdtP2x!!#14)3`6h)4&_r) z(Si`bAH@)WMRTW0AP53H*ffac$z-tH00s!L=pdU8fm9HJArNMOz~_fTM8l+Ua2PM} zb1Y)Tp~U035~kDDYBf#Gq@mactP=^%s7U{DDJRh6p1MH;F?ro?5a z0x&3w#Aq_kp%9sVDnYIsl~t%dw~1&NT_aM`AsT2XX#^+`{6ADKA4RM1Fyu?V|0%4B zNL3>AFhqqWV-n)v;+zbjl(0XBh;S5(K+(jJE{4RTII4HWawQR&hhVZ4L>h>pa$vY@ST=Sp%rW&obERYFvS3Uuok)gm zINX07_Q)3DAj5Rjy2N7C{D^{ZJVsc1@Y>}H;>KwBJZ^;M*W*zu5~fGmXIFP3e3*tH))h-a;O~TW*>Uwbf{kgx_g++}T-HZTYuJ!dc5Wc5v9U$Yxt*zs9H= z^ws`e!*7y?qA#61AFc~My5_;;NMDB>I9)2PJvSjKb4CkeUvX&R#Pamw^ON=!C;H|^ zD&Kk)R5VpzYR&@7WSjChLCN(J*W`)Dx5$N!COhV7Fk@}|!h$I6MY@S%R;3j`Jme6^ z+V|8NHzRY_dJ*M$$vk@*V0m*|iQcHqmut6mN%>>6ueK}GdqTyXwRV98uyfRkdvp5> z9W!q^n(0Lex@O^{rdTD}iG2AqlzXLXW5$7WO}X9%Fsppx{lm+fH-tk~cbVMHW>u7! z9O?$k;xqZiz{9*caOVC+Mu$^!ercE5yY>O|=P=Y_@$-pOJuNfRkg`1&iXGkz)@M(* z>3Bruq2^O+R_ErvZExx*S+6_WyjoozJTT;TZI)H>Rf~i^J5MMXUkrQ*VS1CaZ)W09?NcdZ=ZJwe(l_s{F|AD zb8-mW<|(?WWLebuK8Kg+E;7F<>+3lg%~LW;nBx*|Wc#9O z@>-vG#nBHp6VIs+sI}8txBPi~d25P~bh)&@Jmkpiw(;2yd`_0Odq*XG{LaXnG!QFE XJJ^Mj4gV&7fRI + + + diff --git a/src/Shared/HandyControl_Shared/Properties/Langs/Lang.es.resx b/src/Shared/HandyControl_Shared/Properties/Langs/Lang.es.resx new file mode 100644 index 00000000..74ee1ab5 --- /dev/null +++ b/src/Shared/HandyControl_Shared/Properties/Langs/Lang.es.resx @@ -0,0 +1,240 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Confirmar + + + Cancelar + + + Imagen PNG + + + Ruta de imagen incorrecta + + + Tamaño de imagen incorrecto + + + Tamaño desconocido + + + Muy grande + + + Desconocido + + + Intervalo de 30 segundos + + + Intervalo de 1 minuto + + + Intervalo de 5 minutos + + + Intervalo de 10 minutos + + + Intervalo de 30 minutos + + + Intervalo de 1 hora + + + Intervalo de 2 horas + + + Borrar + + + Cerrar + + + Cerrar todo + + + Cerrar las demás + + + AM + + + PM + + + Prompt + + + El campo es requerido + + + Fuera de rango + + + Error de formato + + + Sí + + + No + + + Ampliar + + + Reducir + + + Página anterior + + + Página siguiente + + + Vista de una página + + + Vista de dos páginas + + + Vista de ajuste de página + + + Buscar + + + Looks up a localized string similar to "{0}". + + + Ir + + + Misceláneas + + + Todo + + + Nada para mostrar + + \ No newline at end of file From 9c53799bd244c3cb9689359b3c2bc9a64dd5c426 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Mon, 23 Aug 2021 22:50:07 +0800 Subject: [PATCH 2/2] Update NonClientAreaContent.xaml --- .../Main/NonClientAreaContent.xaml | 78 +++++++++---------- 1 file changed, 36 insertions(+), 42 deletions(-) diff --git a/src/Shared/HandyControlDemo_Shared/UserControl/Main/NonClientAreaContent.xaml b/src/Shared/HandyControlDemo_Shared/UserControl/Main/NonClientAreaContent.xaml index ee8aa619..cf06a127 100644 --- a/src/Shared/HandyControlDemo_Shared/UserControl/Main/NonClientAreaContent.xaml +++ b/src/Shared/HandyControlDemo_Shared/UserControl/Main/NonClientAreaContent.xaml @@ -114,51 +114,45 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + +