From c407997a3cdcf924065ee429a7901cb199880259 Mon Sep 17 00:00:00 2001 From: NaBian <836904362@qq.com> Date: Tue, 23 Jun 2020 23:41:29 +0800 Subject: [PATCH] add pt-br language --- .../HandyControlDemo_Net_40.csproj | 8 + .../HandyControl_Net_40.csproj | 3 + .../HandyControlDemo_Net_GE45.csproj | 8 + .../HandyControl_Net_GE45.csproj | 3 + .../HandyControlDemo_Shared/MainWindow.xaml | 2 +- .../Properties/Langs/Lang.pt-BR.resx | 759 ++++++++++++++++++ .../Resources/Img/Flag/pt-BR.png | Bin 0 -> 498 bytes .../UserControl/Main/NoUserContent.xaml | 3 + .../Properties/Langs/Lang.pt-BR.resx | 240 ++++++ 9 files changed, 1025 insertions(+), 1 deletion(-) create mode 100644 src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.pt-BR.resx create mode 100644 src/Shared/HandyControlDemo_Shared/Resources/Img/Flag/pt-BR.png create mode 100644 src/Shared/HandyControl_Shared/Properties/Langs/Lang.pt-BR.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 0d0f8565..c17c05bc 100644 --- a/src/Net_40/HandyControlDemo_Net_40/HandyControlDemo_Net_40.csproj +++ b/src/Net_40/HandyControlDemo_Net_40/HandyControlDemo_Net_40.csproj @@ -178,6 +178,9 @@ Resources\Img\Flag\ko-KR.png + + Resources\Img\Flag\pt-BR.png + Resources\Img\Flag\ru.png @@ -504,6 +507,9 @@ Properties\Langs\Lang.ko-KR.resx + + Properties\Langs\Lang.pt-BR.resx + Properties\Langs\Lang.ru.resx @@ -542,12 +548,14 @@ rd /s /q Langs\en rd /s /q Langs\fa rd /s /q Langs\fr rd /s /q Langs\ko-KR +rd /s /q Langs\pt-BR rd /s /q Langs\ru rd /s /q Langs\tr move en Langs move fa Langs move fr Langs move ko-KR Langs +move pt-BR Langs move ru Langs move tr 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 4c82a8b8..eb0867c3 100644 --- a/src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj +++ b/src/Net_40/HandyControl_Net_40/HandyControl_Net_40.csproj @@ -73,6 +73,9 @@ Properties\Langs\Lang.ko-KR.resx + + Properties\Langs\Lang.pt-BR.resx + Properties\Langs\Lang.ru.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 4c0b20e3..0a009190 100644 --- a/src/Net_GE45/HandyControlDemo_Net_GE45/HandyControlDemo_Net_GE45.csproj +++ b/src/Net_GE45/HandyControlDemo_Net_GE45/HandyControlDemo_Net_GE45.csproj @@ -178,6 +178,9 @@ Resources\Img\Flag\ko-KR.png + + Resources\Img\Flag\pt-BR.png + Resources\Img\Flag\ru.png @@ -504,6 +507,9 @@ Properties\Langs\Lang.ko-KR.resx + + Properties\Langs\Lang.pt-BR.resx + Properties\Langs\Lang.ru.resx @@ -542,12 +548,14 @@ rd /s /q Langs\en rd /s /q Langs\fa rd /s /q Langs\fr rd /s /q Langs\ko-KR +rd /s /q Langs\pt-BR rd /s /q Langs\ru rd /s /q Langs\tr move en Langs move fa Langs move fr Langs move ko-KR Langs +move pt-BR Langs move ru Langs move tr 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 fdd498c7..fa700bf3 100644 --- a/src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj +++ b/src/Net_GE45/HandyControl_Net_GE45/HandyControl_Net_GE45.csproj @@ -42,6 +42,9 @@ Properties\Langs\Lang.ko-KR.resx + + Properties\Langs\Lang.pt-BR.resx + Properties\Langs\Lang.ru.resx diff --git a/src/Shared/HandyControlDemo_Shared/MainWindow.xaml b/src/Shared/HandyControlDemo_Shared/MainWindow.xaml index a5e73aa4..252120c3 100644 --- a/src/Shared/HandyControlDemo_Shared/MainWindow.xaml +++ b/src/Shared/HandyControlDemo_Shared/MainWindow.xaml @@ -9,7 +9,7 @@ ShowTitle="False" Style="{StaticResource WindowGlow}" Background="{DynamicResource SecondaryRegionBrush}" - ActiveGlowColor="#f06632" + ActiveGlowColor="{DynamicResource PrimaryColor}" ResizeMode="CanResizeWithGrip" WindowStartupLocation="CenterScreen" d:DesignHeight="800" diff --git a/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.pt-BR.resx b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.pt-BR.resx new file mode 100644 index 00000000..c732de69 --- /dev/null +++ b/src/Shared/HandyControlDemo_Shared/Properties/Langs/Lang.pt-BR.resx @@ -0,0 +1,759 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + Controls + + + Styles + + + Growl + + + It's a nice day today~~~ + + + File saved successfully! + + + Disk space is running out! + + + Connection failed. please check your network! + + + The program has crashed~~~ + + + A new version has been detected!Do you want to update? + + + Loading + + + ImageBrowser + + + ColorPicker + + + Carousel + + + CompareSlider + + + TimeBar + + + Expander + + + Pagination + + + Click to open image browser + + + ProgressBar + + + AnimationPath + + + Button + + + ToggleButton + + + TabControl + + + CheckBox + + + TextBlock + + + Default + + + Primary + + + Success + + + Info + + + Warning + + + Danger + + + Custom button + + + Title + + + StepBar + + + Prev + + + Next + + + Register + + + Fill in the basic information + + + Upload file + + + Complete + + + Clock + + + Calendar + + + DatePicker + + + TimePicker + + + TextBox + + + This is the content + + + This is the title + + + This item must be filled in + + + Please enter content + + + The title is on the left + + + Text + + + Subtitle + + + PasswordBox + + + CirclePanel + + + ComboBox + + + NumericUpDown + + + DataGrid + + + Index + + + Name + + + Type + + + Remark + + + Selected + + + ListBox + + + TreeView + + + ScrollViewer + + + Window + + + Menu + + + Right click here + + + RadioButton + + + open message window + + + open common window + + + open custom Non-client Area window + + + open mouse follow window + + + open custom content window + + + Ignore + + + Error + + + Ask + + + Fatal + + + Clear + + + Whether to restart to change the language? + + + About + + + Repository + + + Email + + + Chatroom + + + Blog + + + Brush + + + PreviewSlider + + + Contributors + + + Slider + + + It's not a phone number + + + please enter email + + + Step + + + CalendarWithClock + + + DateTimePicker + + + GroupBox + + + ListView + + + RichTextBox + + + ToolBar + + + Common + + + ShowRowNumber + + + SearchBar + + + Tag + + + GifImage + + + OutlineText + + + QQ Group + + + FlipClock + + + open blur window + + + Rate + + + Shield + + + WaterfallPanel + + + Groups + + + CoverView + + + CoverFlow + + + Please input a keyword + + + open no Non-client Area dragable window + + + Drag here + + + MessageBox + + + ProgressButton + + + Upload;Uploading + + + open custom message window + + + Transfer + + + ChatBubble + + + Push to talk + + + Sec + + + Label + + + GotoTop + + + NotifyIcon + + + Badge + + + Gravatar + + + Coming Soon + + + Comment + + + Reply + + + Dialog + + + TextDialog + + + Please wait... + + + Growl demo + + + New window + + + Visibility + + + Blink + + + Exit + + + Open Panel + + + The tray icon is open and will hide the window instead of closing the program + + + Prompt + + + Try to close app? + + + Interactive Dialog + + + Ok + + + Please input... + + + Click to count + + + RepeatButton + + + Dialog demo + + + Show in the current window + + + Show in the main window + + + SideMenu + + + Grid + + + Basic layout + + + Column spacing + + + Hybrid layout + + + Column offset + + + Responsive layout + + + Border + + + Poptip + + + Recommendation + + + Project + + + RangeSlider + + + RelativePanel + + + On + + + Off + + + ButtonGroup + + + Card + + + TextDialog with timer + + + Magnifier + + + ImageBlock + + + RunningBlock + + + HoneycombPanel + + + Add an item + + + Remove an item + + + Sprite + + + Open sprite + + + Notification + + + Send notification + + + Stays open + + + FloatingBlock + + + SplitButton + + + Tools + + + 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 + + + Documentation + + + Effects + + + Website + + + Vsix + + + English document + + + Chinese document + + + Demo + + + PinBox + + + FlowDocumentScrollViewer + + + Open glowWindow + + + FlowDocument + + + FlowDocumentPageViewer + + + FlowDocumentReader + + + Open native common window + + + Open navigation window + + + Frame + + + Practical demos + + + Start screenshot + + + Screenshot + + + TextDialog(In control) + + + Looks up a localized string similar to "{0}". + + + PropertyGrid + + + ImageSelector + + \ No newline at end of file diff --git a/src/Shared/HandyControlDemo_Shared/Resources/Img/Flag/pt-BR.png b/src/Shared/HandyControlDemo_Shared/Resources/Img/Flag/pt-BR.png new file mode 100644 index 0000000000000000000000000000000000000000..fe43c4e29050a4774fb9b43cfb2bf3cdc223080b GIT binary patch literal 498 zcmV}hwnaK&P{z0|3kf{cumfX8B*m4@Tfm3_xz zucLikX6z#X000VfQchF(|NsC0|No#1pU6_5X#fBLC`m*?R4C7FQt6t5APnS?Xd|F_ zAl9|_`#<9bty}oI`4<>wl3`eNV#TN2^XZb7ohnu)y>T7bt~SY0$&&YV(`u@=sS}Rm z-VGL}*J}bhBr<;hQ+IF~l|(gOAdz7odL9r_Dj_kzN9GN1KRpj(@qQ5~g}n0q$0dMB zuOI7~YM$2xm7MgkO$5|M%K=s|1PS=_?3KJ~;B8@cfFXJS2&kweqMuiq0)S*p1enHh zOZ_O-UbxJDq$hOT>=Hv{(BS|?#C2mBju~i0&=(YMfI$DC`+Ze*`~mOBgF(r~a!9t= zZ0`AlZvrJ>x*yz^lX@bP;vQnsUrugjaeEJ940p@_`HRhNtHD~(`ETZV;5<5*42s$vP4y7mdV>K%Vb&o0@zL#&8S + diff --git a/src/Shared/HandyControl_Shared/Properties/Langs/Lang.pt-BR.resx b/src/Shared/HandyControl_Shared/Properties/Langs/Lang.pt-BR.resx new file mode 100644 index 00000000..9e82b831 --- /dev/null +++ b/src/Shared/HandyControl_Shared/Properties/Langs/Lang.pt-BR.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 + + + Imagem PNG + + + Caminho de imagem errado + + + Tamanho de imagem errado + + + Tamanho desconhecido + + + Muito grande + + + Desconhecido + + + 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 + + + Limpar + + + Fechar + + + Fechar tudo + + + Fechar outras + + + Manhã + + + Tarde + + + Perguntar + + + não pode estar vazio + + + fora do intervalo + + + erro de formato + + + Não é possível registrar o comando composto nele mesmo + + + Não é possível registrar o mesmo comando duas vezes + + + Sim + + + Não + + + Mais Zoom + + + Menos Zoom + + + Página anterior + + + Próxima página + + + Modo de página + + + Modo de duas páginas + + + Modo de rolagem + + + Econtrar + + + Procura uma sequência localizada semelhante a "{0}". + + + Pule + + + Geral + + \ No newline at end of file