diff --git a/DS4Windows/DS4Control/ScpUtil.cs b/DS4Windows/DS4Control/ScpUtil.cs index e29f369..d8b1f37 100644 --- a/DS4Windows/DS4Control/ScpUtil.cs +++ b/DS4Windows/DS4Control/ScpUtil.cs @@ -441,6 +441,12 @@ namespace DS4Windows get { return m_Config.formLocationY; } } + public static string UseLang + { + set { m_Config.useLang = value; } + get { return m_Config.useLang; } + } + public static bool DownloadLang { set { m_Config.downloadLang = value; } @@ -1366,6 +1372,7 @@ namespace DS4Windows { new Dictionary(), new Dictionary(), new Dictionary(), new Dictionary(), new Dictionary() }; + public string useLang = ""; public bool downloadLang = true; public bool useWhiteIcon; public bool flashWhenLate = true; @@ -2879,6 +2886,8 @@ namespace DS4Windows catch { missingSetting = true; } try { Item = m_Xdoc.SelectSingleNode("/Profile/CloseMinimizes"); Boolean.TryParse(Item.InnerText, out closeMini); } catch { missingSetting = true; } + try { Item = m_Xdoc.SelectSingleNode("/Profile/UseLang"); useLang = Item.InnerText; } + catch { missingSetting = true; } try { Item = m_Xdoc.SelectSingleNode("/Profile/DownloadLang"); Boolean.TryParse(Item.InnerText, out downloadLang); } catch { missingSetting = true; } try { Item = m_Xdoc.SelectSingleNode("/Profile/FlashWhenLate"); Boolean.TryParse(Item.InnerText, out flashWhenLate); } @@ -2949,6 +2958,7 @@ namespace DS4Windows XmlNode xmlQuickCharge = m_Xdoc.CreateNode(XmlNodeType.Element, "QuickCharge", null); xmlQuickCharge.InnerText = quickCharge.ToString(); Node.AppendChild(xmlQuickCharge); XmlNode xmlFirstXinputPort = m_Xdoc.CreateNode(XmlNodeType.Element, "FirstXinputPort", null); xmlFirstXinputPort.InnerText = firstXinputPort.ToString(); Node.AppendChild(xmlFirstXinputPort); XmlNode xmlCloseMini = m_Xdoc.CreateNode(XmlNodeType.Element, "CloseMinimizes", null); xmlCloseMini.InnerText = closeMini.ToString(); Node.AppendChild(xmlCloseMini); + XmlNode xmlUseLang = m_Xdoc.CreateNode(XmlNodeType.Element, "UseLang", null); xmlUseLang.InnerText = useLang.ToString(); Node.AppendChild(xmlUseLang); XmlNode xmlDownloadLang = m_Xdoc.CreateNode(XmlNodeType.Element, "DownloadLang", null); xmlDownloadLang.InnerText = downloadLang.ToString(); Node.AppendChild(xmlDownloadLang); XmlNode xmlFlashWhenLate = m_Xdoc.CreateNode(XmlNodeType.Element, "FlashWhenLate", null); xmlFlashWhenLate.InnerText = flashWhenLate.ToString(); Node.AppendChild(xmlFlashWhenLate); XmlNode xmlFlashWhenLateAt = m_Xdoc.CreateNode(XmlNodeType.Element, "FlashWhenLateAt", null); xmlFlashWhenLateAt.InnerText = flashWhenLateAt.ToString(); Node.AppendChild(xmlFlashWhenLateAt); diff --git a/DS4Windows/DS4Forms/DS4Form.Designer.cs b/DS4Windows/DS4Forms/DS4Form.Designer.cs index 413fabd..ad45738 100644 --- a/DS4Windows/DS4Forms/DS4Form.Designer.cs +++ b/DS4Windows/DS4Forms/DS4Form.Designer.cs @@ -146,6 +146,7 @@ this.lbUseXIPorts = new System.Windows.Forms.Label(); this.nUDXIPorts = new System.Windows.Forms.NumericUpDown(); this.lbLastXIPort = new System.Windows.Forms.Label(); + this.languagePackComboBox1 = new DS4Windows.DS4Forms.LanguagePackComboBox(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.linkProfiles = new System.Windows.Forms.LinkLabel(); this.lnkControllers = new System.Windows.Forms.LinkLabel(); @@ -892,6 +893,7 @@ this.fLPSettings.Controls.Add(this.cBUpdate); this.fLPSettings.Controls.Add(this.pNUpdate); this.fLPSettings.Controls.Add(this.pnlXIPorts); + this.fLPSettings.Controls.Add(this.languagePackComboBox1); this.fLPSettings.Controls.Add(this.flowLayoutPanel1); this.fLPSettings.Name = "fLPSettings"; // @@ -1136,6 +1138,14 @@ resources.ApplyResources(this.lbLastXIPort, "lbLastXIPort"); this.lbLastXIPort.Name = "lbLastXIPort"; // + // languagePackComboBox1 + // + resources.ApplyResources(this.languagePackComboBox1, "languagePackComboBox1"); + this.languagePackComboBox1.LanguageAssemblyName = "DS4Windows.resources.dll"; + this.languagePackComboBox1.Name = "languagePackComboBox1"; + this.languagePackComboBox1.ProbingPath = "Lang"; + this.languagePackComboBox1.SelectedValueChanged += new System.EventHandler(this.languagePackComboBox1_SelectedValueChanged); + // // flowLayoutPanel1 // resources.ApplyResources(this.flowLayoutPanel1, "flowLayoutPanel1"); @@ -1430,6 +1440,7 @@ private System.Windows.Forms.Panel panel3; private System.Windows.Forms.Button exportLogTxtBtn; private System.Windows.Forms.Button btnClear; + private DS4Forms.LanguagePackComboBox languagePackComboBox1; //private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2; } } diff --git a/DS4Windows/DS4Forms/DS4Form.cs b/DS4Windows/DS4Forms/DS4Form.cs index 3ce1eb1..c9fdb8e 100644 --- a/DS4Windows/DS4Forms/DS4Form.cs +++ b/DS4Windows/DS4Forms/DS4Form.cs @@ -88,6 +88,9 @@ namespace DS4Windows public DS4Form(string[] args) { + Global.Load(); + this.setCulture(UseLang); + InitializeComponent(); ThemeUtil.SetTheme(lvDebug); @@ -181,7 +184,6 @@ namespace DS4Windows Log.TrayIconLog += ShowNotification; Directory.CreateDirectory(appdatapath); - Global.Load(); if (!Save()) //if can't write to file { if (MessageBox.Show("Cannot write at current location\nCopy Settings to appdata?", "DS4Windows", @@ -428,6 +430,16 @@ namespace DS4Windows } } + private void setCulture(string culture) + { + try + { + Thread.CurrentThread.CurrentUICulture = CultureInfo.GetCultureInfo(culture); + CultureInfo.DefaultThreadCurrentUICulture = CultureInfo.GetCultureInfo(culture); + } + catch { /* Skip setting culture that we cannot set */ } + } + private void populateHoverTextDict() { hoverTextDict.Clear(); @@ -2487,6 +2499,17 @@ namespace DS4Windows } } + private void languagePackComboBox1_SelectedValueChanged(object sender, EventArgs e) + { + string newValue = ((DS4Forms.LanguagePackComboBox)sender).SelectedValue.ToString(); + if (newValue != UseLang) + { + UseLang = newValue; + Save(); + MessageBox.Show(Properties.Resources.LanguagePackApplyRestartRequired, Text, MessageBoxButtons.OK, MessageBoxIcon.Information); + } + } + private void cBFlashWhenLate_CheckedChanged(object sender, EventArgs e) { FlashWhenLate = cBFlashWhenLate.Checked; diff --git a/DS4Windows/DS4Forms/DS4Form.cs.resx b/DS4Windows/DS4Forms/DS4Form.cs.resx index 75ce899..393b2fa 100644 --- a/DS4Windows/DS4Forms/DS4Form.cs.resx +++ b/DS4Windows/DS4Forms/DS4Form.cs.resx @@ -1,4 +1,4 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + + Right + + + + 112, 3 + + + 145, 21 + + + + 61 + + + cbCulture + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 0 + + + Left + + + True + + + 3, 6 + + + 100, 13 + + + 62 + + + Use language pack + + + MiddleLeft + + + label1 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 1 + + + True + + + 6, 13 + + + 260, 27 + + + LanguagePackComboBox + + + System.Windows.Forms.UserControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/DS4Windows/DS4Windows.csproj b/DS4Windows/DS4Windows.csproj index a4473b9..3cf1509 100644 --- a/DS4Windows/DS4Windows.csproj +++ b/DS4Windows/DS4Windows.csproj @@ -159,6 +159,12 @@ X360Device.cs + + UserControl + + + LanguagePackComboBox.cs + @@ -589,6 +595,9 @@ KBM360.cs + + LanguagePackComboBox.cs + Options.cs diff --git a/DS4Windows/Properties/Resources.Designer.cs b/DS4Windows/Properties/Resources.Designer.cs index f478e9c..2f233d7 100644 --- a/DS4Windows/Properties/Resources.Designer.cs +++ b/DS4Windows/Properties/Resources.Designer.cs @@ -19,7 +19,7 @@ namespace DS4Windows.Properties { // 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", "15.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { @@ -1090,6 +1090,15 @@ namespace DS4Windows.Properties { } } + /// + /// Looks up a localized string similar to Language pack change will take effect after DS4Windows application is restarted.. + /// + internal static string LanguagePackApplyRestartRequired { + get { + return ResourceManager.GetString("LanguagePackApplyRestartRequired", resourceCulture); + } + } + /// /// Looks up a localized string similar to Controller *number*'s latency now under 10ms. /// diff --git a/DS4Windows/Properties/Resources.cs.resx b/DS4Windows/Properties/Resources.cs.resx index 4eb7aee..1301483 100644 --- a/DS4Windows/Properties/Resources.cs.resx +++ b/DS4Windows/Properties/Resources.cs.resx @@ -126,6 +126,9 @@ Přidat programy + + Změna jazykového balíčku se projeví po restartu aplikace DS4Windows. + Test diff --git a/DS4Windows/Properties/Resources.resx b/DS4Windows/Properties/Resources.resx index a187fbc..f04a78a 100644 --- a/DS4Windows/Properties/Resources.resx +++ b/DS4Windows/Properties/Resources.resx @@ -118,128 +118,20 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - ..\Resources\mouse.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\rainbow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\rainbowC.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\DS4 Controller.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\Pairmode.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\shell32_copy.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\shell32_new.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\delete.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\imageres_new.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\BT.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\none.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\USB.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\export.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\imageres_import.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\saveprofile.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\A.PNG;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\B.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + Name of this action already exists - - ..\Resources\BACK.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + Adding to list... - - ..\Resources\DOWN.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + Add Programs - - ..\Resources\LB.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\LEFT.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\LS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\LSD.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\LSL.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\LSR.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\LSU.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\LT.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\RB.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\RIGHT.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\RS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\RSD.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\RSL.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\RSR.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\RSU.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\RT.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\START.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\UP.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\X.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\Y.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\size.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\checked.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + A location must be picked to continue Always Rainbow Mode @@ -247,24 +139,63 @@ Assign to Controller *number* + + ..\Resources\B.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\BACK.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + Battery: *number*% Best used with right side as a mouse function + + Browse... + + + ..\Resources\BT.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Determines the poll rate used for the DS4 hardware when connected via Bluetooth + + + Cannot move files to new location, Please rename the DS4Tool folder to "DS4Windows" + Cannot write at current location. Copy Settings to appdata? + + Charge the battery + Charged Charging: *number*% + + Check Battery + + + This will disconnect all your connected controllers. Proceed? + + + Close DS4Windows? + + + Close DS4Windows via the notification icon + + + Color + Color by Battery % + + Confirm... + Connecting... @@ -277,6 +208,9 @@ Controller *Mac address* was removed or lost connection + + ..\Resources\shell32_copy.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + Copy complete, please relaunch DS4Windows and remove settings from Program Directory @@ -292,386 +226,50 @@ days + + ..\Resources\delete.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + Delete Profile? Dim by Battery % + + Turn off X360 input and only use the DS4's native input, hide ds4 must be off (Wired Only) + + + Disconnect BT + Disconnected + + ..\Resources\DOWN.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + Downloading *number*% Download Version *number* now? - - DS4Windows Update Available! - - - DS4Windows cannot edit settings here, This will now close - - - Edit - - - 5th Mouse Button Down - - - 5th Mouse Button Up - - - Flush HID - - - Found Controller: - - - 4th Mouse Button Down - - - 4th Mouse Button Up - - - Full - - - hour - - - hours - - - If removing DS4Windows, You can delete the settings following the profile folder link - - - Install Complete - - - Loading... - - - Make a New Profile - - - N/A - - - New - - - No macro was recorded - - - (none) - - - none - - - No Profile Loaded - - - Not valid - - - Opening Installer - - - Please Open ScpDriver.exe - - - Please Download the Updater now, and place it in the programs folder, then check for update again - - - Please import or make a profile - - - *Profile name* cannot be restored. - - - Profile Folder Moved to program folder - - - You must quit other applications like Steam, Uplay before activating the 'Hide DS4 Controller' option." - - - Save Recorded Macro? - - - Searching for controllers... - - - Select an action for *action* - - - Starting... - - - Start - - - Stopping DS4 Controllers - - - Stopping X360 Controllers - - - Stop - - - Swipe Touchpad to change profiles - - - Tap and hold to drag, slight delay with single taps - - - Touchpad Movement is now Off - - - Touchpad Movement is now On - - - type new name here - - - type profile name here - - - You can also use your controller to change controls - - - Using Exclusive Mode - - - Using Shared Mode - - - Please enter a valid name - - - Wait *number*ms - - - Will Keep - - - 2 finger touchpad swipe left or right - - - You are up to date - - - Adding to list... - - - Add Programs - - - Browse... - - - Color - Down - - Input Delay: *number*ms - - - Keep this window size after closing - - - Record - - - Step 1: Install the DS4 Driver - - - Up - - - Turn off X360 input and only use the DS4's native input, hide ds4 must be off (Wired Only) - - - Install Drivers here - - - Tilt Down - - - Tilt Left - - - Tilt Right - - - Tilt Up - - - Installing... - ..\Resources\DS4.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + DS4Windows Update Available! + ..\Resources\DS4W.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - Install Failed, Please Retry + + DS4Windows cannot edit settings here, This will now close - - Swipe Down - - - Swipe Left - - - Swipe Right - - - Swipe Up - - - Stop Heavy - - - Stop Light - - - Test Heavy - - - Test Light - - - EXPERIMENTAL: Auto-Disable BT when connecting to USB - - - Test - - - Cannot move files to new location, Please rename the DS4Tool folder to "DS4Windows" - - - Use higher ports if you get conflicts in other emulating X360 programs, such as SCP's tool - - - Name of this action already exists - - - Launch *program* - - - Load *profile* - - - Set Regular Trigger - - - Set Unload Trigger - - - Close DS4Windows via the notification icon - - - Right Click to set presets for a set of controls - - - Disconnect BT - - - New Profile - - - Fall Back to *button* - - - Click to change flash color. Black = default color - - - Flush HID Queue after each reading - - - Click to see readout of Sixaxis Gyro - - - GyroX, Left and Right Tilt - - - GyroY, Forward and Back Tilt - - - GyroZ, Up and Down Tilt - - - Hover over items to see description or more about - - - Use Sixaxis to help calculate touchpad movement - - - Also dim light by idle timeout if enabled when DS4 is fully charged - - - Macro - - - Programs - - - Scan Code - - - Shortcuts - - - Click for advanced Sixaxis reading - - - Re-enable by pressing PS+Touchpad - - - This disables the Touchpad as a mouse - - - Fall Back - - - A location must be picked to continue - - - Close DS4Windows? - - - , other location files will be deleted - - - ..\Resources\EE.wav;System.IO.MemoryStream, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Stopped DS4Windows - - - Controller *number*'s latency now under 10ms - - - Controller *number*'s latency over 10ms - - - Controller *number* is not using a profile - - - Check Battery - - - Controller *number* is using Profile “*Profile name*" - - - Charge the battery + + ..\Resources\DS4W - White.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\DS4 Config.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -739,58 +337,463 @@ ..\Resources\DS4-Config_Up.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\DS4 Controller.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\DS4 lightbar.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - Text Document (*.txt) + + ..\Resources\shell32_new.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - XML Files (*.xml) + + Edit - - Unassigned + + ..\Resources\EE.wav;System.IO.MemoryStream, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ..\Resources\export.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Fall Back + + + Fall Back to *button* + + + 5th Mouse Button Down + + + 5th Mouse Button Up + + + Click to change flash color. Black = default color + + + Flush HID + + + Flush HID Queue after each reading + + + Found Controller: + + + 4th Mouse Button Down + + + 4th Mouse Button Up + + + Full + + + Click to see readout of Sixaxis Gyro + + + Check to have gyro active while trigger is active. Uncheck to disable gyro while trigger is active. + + + GyroX, Left and Right Tilt + + + GyroY, Forward and Back Tilt + + + GyroZ, Up and Down Tilt + + + hour + + + hours + + + Hover over items to see description or more about + + + If removing DS4Windows, You can delete the settings following the profile folder link + + + ..\Resources\imageres_import.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Input Delay: *number*ms + + + Install Complete + + + Install Drivers here + + + Install Failed, Please Retry + + + Installing... + + + Use Sixaxis to help calculate touchpad movement + + + Keep this window size after closing + + + Language pack change will take effect after DS4Windows application is restarted. + + + Controller *number*'s latency now under 10ms + + + Controller *number*'s latency over 10ms + + + Launch *program* + + + ..\Resources\LB.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\LEFT.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\left touch.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + Also dim light by idle timeout if enabled when DS4 is fully charged + + + Loading... + + + Load *profile* + + + ..\Resources\LS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\LSD.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\LSL.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\LSR.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\LSU.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\LT.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Macro + + + Macro Recorded + + + Make a New Profile + + + ..\Resources\mouse.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Mutli-Action Button + + + N/A + + + New + + + ..\Resources\imageres_new.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + No macro was recorded + + + ..\Resources\none.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + (none) + + + none + + + No Profile Loaded + + + Controller *number* is not using a profile + + + Not valid + + + Opening Installer + + + Please Open ScpDriver.exe + + + , other location files will be deleted + + + ..\Resources\Pairmode.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Please Download the Updater now, and place it in the programs folder, then check for update again + + + Please import or make a profile + + + New Profile + + + *Profile name* cannot be restored. + + + Profile Folder Moved to program folder + + + Programs + + + EXPERIMENTAL: Auto-Disable BT when connecting to USB + + + You must quit other applications like Steam, Uplay before activating the 'Hide DS4 Controller' option." + + + ..\Resources\rainbow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\rainbowC.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\RB.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Record + + + ..\Resources\RIGHT.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Right Click to set presets for a set of controls + ..\Resources\right touch.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\RS.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\RSD.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\RSL.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\RSR.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\RSU.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\RT.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Tells Windows to start DS4Windows after login + + + ..\Resources\saveprofile.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Save Recorded Macro? + + + Scan Code + + + Searching for controllers... + + + Select an action for *action* + + + Select a macro + + + Set Regular Trigger + + + Set Unload Trigger + + + Shortcuts + + + Click for advanced Sixaxis reading + + + ..\Resources\size.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\START.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Starting... + + + Start + + + Step 1: Install the DS4 Driver + + + Stop Heavy + + + Stop Light + + + Stopped DS4Windows + + + Stopping DS4 Controllers + + + Stopping X360 Controllers + + + Stop + + + Swipe Down + + + Swipe Left + + + Swipe Right + + + Swipe Touchpad to change profiles + + + Swipe Up + + + Tap and hold to drag, slight delay with single taps + + + Test Heavy + + + Test Light + + + Test + + + Text Document (*.txt) + + + Tilt Down + + + Tilt Left + + + Tilt Right + + + Tilt Up + + + Touchpad Movement is now Off + + + Touchpad Movement is now On + + + Re-enable by pressing PS+Touchpad + + + 2 finger touchpad swipe left or right + + + type new name here + + + type profile name here + + + You need to run DS4Windows as the Administrator in order to activate this mode. + + + Unassigned + + + ..\Resources\UP.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Up + + + You are up to date + + + ..\Resources\USB.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + You can also use your controller to change controls + + + Using Exclusive Mode + + + Controller *number* is using Profile “*Profile name*" + + + Using Shared Mode + + + This disables the Touchpad as a mouse + + + Please enter a valid name + + + Wait *number*ms + + + Will Keep + + + ..\Resources\X.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + Use higher ports if you get conflicts in other emulating X360 programs, such as SCP's tool + + + XML Files (*.xml) + + + ..\Resources\Y.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\360 highlight.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\360 map.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\DS4W - White.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - Mutli-Action Button - - - Macro Recorded - - - Select a macro - - - Tells Windows to start DS4Windows after login - - - You need to run DS4Windows as the Administrator in order to activate this mode. - - - Determines the poll rate used for the DS4 hardware when connected via Bluetooth - - - Check to have gyro active while trigger is active. Uncheck to disable gyro while trigger is active. - - - This will disconnect all your connected controllers. Proceed? - - - Confirm... + + ..\Resources\checked.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a \ No newline at end of file diff --git a/DS4Windows/Properties/Resources.ru-RU.resx b/DS4Windows/Properties/Resources.ru-RU.resx index deacf82..ae54755 100644 --- a/DS4Windows/Properties/Resources.ru-RU.resx +++ b/DS4Windows/Properties/Resources.ru-RU.resx @@ -144,9 +144,15 @@ Обзор… + + Невозможно переместить файлы в новое место. Пожалуйста переименуйте папку с DS4Tool в "DS4Windows" + Невозможно записать в текущее местоположение. Скопировать настройки в AppData? + + Зарядите батарею + Заряжено @@ -231,6 +237,9 @@ Вернуть + + Вернуть на *button* + 5-я кнопка мыши Вниз @@ -291,6 +300,9 @@ Установите этот драйвер + + Установка не удалась. Пожалуйста повторите + Установка... @@ -300,6 +312,9 @@ Запоминать размер окна после закрытия + + Выбранный языковой пакет будет применен после перезапуска приложения DS4Windows. + Задержка *number*-го контроллера сейчас меньше 10 мс @@ -426,6 +441,9 @@ Ост. лёгкий + + Остановлена работа DS4Windows + Остановлена работа DS4Windows @@ -462,6 +480,12 @@ Тест. лёгкого + + Проверка + + + Текстовый документ (*.txt) + Накл. вниз @@ -492,6 +516,9 @@ введите сюда имя профиля + + Не назначено + Вверх @@ -525,31 +552,7 @@ Используйте иной порт, если у вас возникла проблема с другой программой эмулятора контроллера X360, такой как SCP's tool - - Остановлена работа DS4Windows - - - Текстовый документ (*.txt) - - - Невозможно переместить файлы в новое место. Пожалуйста переименуйте папку с DS4Tool в "DS4Windows" - - - Зарядите батарею - - - Вернуть на *button* - - - Установка не удалась. Пожалуйста повторите - - - Не назначено - XML-файлы (*.xml) - - Проверка - \ No newline at end of file