From 19918ca934d0e0f2ade8296e687ef2e8b32784b6 Mon Sep 17 00:00:00 2001 From: Jaex Date: Tue, 11 Aug 2015 21:58:43 +0300 Subject: [PATCH] Turkish translation 100% --- ShareX.HelpersLib/Helpers/SSLBypassHelper.cs | 4 +- .../Properties/Resources.tr.resx | 10 +- .../UITypeEditors/EnumDescriptionConverter.cs | 1 - ShareX.MediaLib/Properties/AssemblyInfo.cs | 13 +- ShareX.MediaLib/VideoThumbnailer.cs | 1 - .../Properties/Resources.Designer.cs | 6 +- .../Properties/Resources.resx | 6 +- .../Properties/Resources.tr.resx | 117 ++++++++++++++++++ ShareX.UploadersLib/FileUploaders/Jira.cs | 12 +- ShareX.UploadersLib/Forms/JiraUpload.cs | 2 +- .../ImageUploaders/SomeImage.cs | 1 - ShareX.UploadersLib/TextUploaders/Gist.cs | 2 +- .../URLShorteners/PolrURLShortener.cs | 1 - ShareX/Forms/DropForm.cs | 2 +- ShareX/Forms/MainForm.tr.resx | 20 +-- ShareX/Forms/TaskSettingsForm.cs | 2 +- 16 files changed, 156 insertions(+), 44 deletions(-) diff --git a/ShareX.HelpersLib/Helpers/SSLBypassHelper.cs b/ShareX.HelpersLib/Helpers/SSLBypassHelper.cs index f690f2fe2..5d04dfc93 100644 --- a/ShareX.HelpersLib/Helpers/SSLBypassHelper.cs +++ b/ShareX.HelpersLib/Helpers/SSLBypassHelper.cs @@ -34,12 +34,12 @@ public class SSLBypassHelper : IDisposable { public SSLBypassHelper() { - ServicePointManager.ServerCertificateValidationCallback += this.ServerCertificateValidationCallback; + ServicePointManager.ServerCertificateValidationCallback += ServerCertificateValidationCallback; } public void Dispose() { - ServicePointManager.ServerCertificateValidationCallback -= this.ServerCertificateValidationCallback; + ServicePointManager.ServerCertificateValidationCallback -= ServerCertificateValidationCallback; } private bool ServerCertificateValidationCallback(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors) diff --git a/ShareX.HelpersLib/Properties/Resources.tr.resx b/ShareX.HelpersLib/Properties/Resources.tr.resx index e4913a0bb..aeaffff34 100644 --- a/ShareX.HelpersLib/Properties/Resources.tr.resx +++ b/ShareX.HelpersLib/Properties/Resources.tr.resx @@ -429,13 +429,13 @@ Dosya boyutu: {2:n0} / {3:n0} KB QR kod - Dikdörtgen bölge yakala (Dipnot) + Bölge yakala (Dipnot) - Dikdörtgen bölge yakala (Basit) + Bölge yakala (Basit) - Dikdörtgen bölge yakala + Bölge yakala Cetvel @@ -456,7 +456,7 @@ Dosya boyutu: {2:n0} / {3:n0} KB Adresten yükle - Dikdörtgen bölge yakala (Pencere) + Bölge yakala (Objeler) Özel dosya yükleyici @@ -598,7 +598,7 @@ Dosya boyutu: {2:n0} / {3:n0} KB Aç/Durdur otomatikleştirme aracını - Dikdörtgen bölge yakala (Saydam) + Bölge yakala (Saydam) Özel bölge yakala diff --git a/ShareX.HelpersLib/UITypeEditors/EnumDescriptionConverter.cs b/ShareX.HelpersLib/UITypeEditors/EnumDescriptionConverter.cs index 8f306d8ab..89ae8ff47 100644 --- a/ShareX.HelpersLib/UITypeEditors/EnumDescriptionConverter.cs +++ b/ShareX.HelpersLib/UITypeEditors/EnumDescriptionConverter.cs @@ -27,7 +27,6 @@ You should have received a copy of the GNU General Public License using System.ComponentModel; using System.Globalization; using System.Linq; -using System.Reflection; namespace ShareX.HelpersLib { diff --git a/ShareX.MediaLib/Properties/AssemblyInfo.cs b/ShareX.MediaLib/Properties/AssemblyInfo.cs index db51476b7..dbf6bd5f7 100644 --- a/ShareX.MediaLib/Properties/AssemblyInfo.cs +++ b/ShareX.MediaLib/Properties/AssemblyInfo.cs @@ -1,8 +1,7 @@ using System.Reflection; -using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -// General Information about an assembly is controlled through the following +// General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("ShareX MediaLib")] @@ -14,8 +13,8 @@ [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] @@ -25,12 +24,12 @@ // Version information for an assembly consists of the following four values: // // Major Version -// Minor Version +// Minor Version // Build Number // Revision // -// You can specify all the values or you can default the Build and Revision Numbers +// You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] \ No newline at end of file diff --git a/ShareX.MediaLib/VideoThumbnailer.cs b/ShareX.MediaLib/VideoThumbnailer.cs index 0f2bae1bb..387d4eba1 100644 --- a/ShareX.MediaLib/VideoThumbnailer.cs +++ b/ShareX.MediaLib/VideoThumbnailer.cs @@ -28,7 +28,6 @@ You should have received a copy of the GNU General Public License using System.Collections.Generic; using System.Diagnostics; using System.Drawing; -using System.Drawing.Imaging; using System.IO; namespace ShareX.MediaLib diff --git a/ShareX.ScreenCaptureLib/Properties/Resources.Designer.cs b/ShareX.ScreenCaptureLib/Properties/Resources.Designer.cs index 5ac074576..abf807260 100644 --- a/ShareX.ScreenCaptureLib/Properties/Resources.Designer.cs +++ b/ShareX.ScreenCaptureLib/Properties/Resources.Designer.cs @@ -283,7 +283,7 @@ internal static string RectangleRegion_WriteTips__Ctrl___Mouse_wheel__Change_mag } /// - /// Looks up a localized string similar to [Double Left click] [Enter] Capture regions. + /// Looks up a localized string similar to [Double left click] [Enter] Capture regions. /// internal static string RectangleRegion_WriteTips__Double_Left_click___Enter__Capture_regions { get { @@ -319,7 +319,7 @@ internal static string RectangleRegion_WriteTips__Hold_Ctrl__Resize___Move_faste } /// - /// Looks up a localized string similar to [Hold Left click] Start region selection. + /// Looks up a localized string similar to [Hold left click] Start region selection. /// internal static string RectangleRegion_WriteTips__Hold_Left_click__Start_region_selection { get { @@ -328,7 +328,7 @@ internal static string RectangleRegion_WriteTips__Hold_Left_click__Start_region_ } /// - /// Looks up a localized string similar to [Hold Left click on selection] Move region. + /// Looks up a localized string similar to [Hold left click on selection] Move region. /// internal static string RectangleRegion_WriteTips__Hold_Left_click_on_selection__Move_region { get { diff --git a/ShareX.ScreenCaptureLib/Properties/Resources.resx b/ShareX.ScreenCaptureLib/Properties/Resources.resx index 2c3324f95..c62489ad5 100644 --- a/ShareX.ScreenCaptureLib/Properties/Resources.resx +++ b/ShareX.ScreenCaptureLib/Properties/Resources.resx @@ -183,13 +183,13 @@ X: {4} Y: {5} [Esc] Cancel capture - [Hold Left click] Start region selection + [Hold left click] Start region selection [Right click] [Esc] Cancel capture - [Double Left click] [Enter] Capture regions + [Double left click] [Enter] Capture regions [Arrow keys] Resize selected region from {0} @@ -210,7 +210,7 @@ X: {4} Y: {5} [Hold Ctrl] Resize / Move faster - [Hold Left click on selection] Move region + [Hold left click on selection] Move region [Right click on selection] [Delete] Remove region diff --git a/ShareX.ScreenCaptureLib/Properties/Resources.tr.resx b/ShareX.ScreenCaptureLib/Properties/Resources.tr.resx index fe9fb3714..8a7d63a34 100644 --- a/ShareX.ScreenCaptureLib/Properties/Resources.tr.resx +++ b/ShareX.ScreenCaptureLib/Properties/Resources.tr.resx @@ -164,4 +164,121 @@ Mesafe: {6:0.00} px / Açı: {7:0.00}° Monitor {0} (X:{1} Y:{2} Genişlik:{3} Yükseklik:{4}) + + [~] Aktif monitörü yakala + + + [1, 2, 3 ... 0] Monitör yakala + + + [Yön tuşları] İmleci hareket ettir + + + [Yön tuşları] Seçili alanı {0} boyutlandır + + + sağ aşağıdan + + + sol üstten + + + sakla + + + göster + + + [C] Ekranı kaplıyan artı şeklinde çizgiyi {0} + + + [C + Yön tuşları] İmleci daha hızlı hareket ettir + + + [Ctrl + C] Bilgiyi kopyala + + + [Ctrl + C] Pozisyonu kopyala + + + [Ctrl + C] Pozisyon ve boyutu kopyala + + + [Ctrl + Fare tekerleği] Büyüteç piksel boyutunu değiştir + + + [Çift sol tıkla] [Enter] Seçili alanları yakala + + + [Esc] Yakalamayı iptal et + + + [F1] Bu bilgileri gizle + + + [Ctrl basılı tut] Daha hızlı boyutlandır/taşı + + + [Sol tık basılı tut] Alan seçimini başlat + + + [Sol tık basılı tut alan seçiliyken] Alanı taşı + + + [Shift basılı tut] Seçili alanı taşı boyutlandırmak yerine + + + [Shift basılı tut] Orantısal boyutlandırma + + + [I] Pozisyon ve boyut bilgisini {0} + + + [M] Büyüteç {0} + + + [Fare tekerleği] Büyüteç piksel sayısını değiştir + + + [Tuş takımı + veya -] Yuvarlatılmış dikdörtgen kenar yarıçapını değiştir + + + [Tuş takımı + veya -] Üçgen açısını değiştir + + + [Tuş takımı 1] Dikdörtgen şekli + + + [Tuş takımı 2] Yuvarlatılmış dikdörtgen şekli + + + [Tuş takımı 3] Elips şekli + + + [Tuş takımı 4] Üçgen şekli + + + [Tuş takımı 5] Elmas şekli + + + [Q] Çoklu alan modunu aktif et + + + [Q] Hızlı yakalama modunu aktif et + + + [Sağ tık] [Esc] Yakalamayı iptal et + + + [Sağ tık] Alan seçimini iptal et + + + [Sağ tık seçim üstünde] [Delete] Alanı sil + + + [Space] Tam ekran yakala + + + [Tab] Boyutlandırma noktasını {0} olarak değiştir + \ No newline at end of file diff --git a/ShareX.UploadersLib/FileUploaders/Jira.cs b/ShareX.UploadersLib/FileUploaders/Jira.cs index 3fd05635f..d607adbfa 100644 --- a/ShareX.UploadersLib/FileUploaders/Jira.cs +++ b/ShareX.UploadersLib/FileUploaders/Jira.cs @@ -209,7 +209,7 @@ public override UploadResult Upload(Stream stream, string fileName) }; } - Uri uri = this.Combine(_jiraBaseAddress, string.Format(PathIssueAttachments, up.IssueId)); + Uri uri = Combine(_jiraBaseAddress, string.Format(PathIssueAttachments, up.IssueId)); string query = OAuthManager.GenerateQuery(uri.ToString(), null, HttpMethod.POST, AuthInfo); NameValueCollection headers = new NameValueCollection(); @@ -226,7 +226,7 @@ public override UploadResult Upload(Stream stream, string fileName) var anonType = new[] { new { thumbnail = "" } }; var anonObject = JsonConvert.DeserializeAnonymousType(res.Response, anonType); res.ThumbnailURL = anonObject[0].thumbnail; - res.URL = this.Combine(_jiraBaseAddress, string.Format(PathBrowseIssue, up.IssueId)).ToString(); + res.URL = Combine(_jiraBaseAddress, string.Format(PathBrowseIssue, up.IssueId)).ToString(); } return res; @@ -261,10 +261,10 @@ private string GetSummary(string issueId) private void InitUris() { - _jiraRequestToken = this.Combine(_jiraBaseAddress, PathRequestToken); - _jiraAuthorize = this.Combine(_jiraBaseAddress, PathAuthorize); - _jiraAccessToken = this.Combine(_jiraBaseAddress, PathAccessToken); - _jiraPathSearch = this.Combine(_jiraBaseAddress, PathSearch); + _jiraRequestToken = Combine(_jiraBaseAddress, PathRequestToken); + _jiraAuthorize = Combine(_jiraBaseAddress, PathAuthorize); + _jiraAccessToken = Combine(_jiraBaseAddress, PathAccessToken); + _jiraPathSearch = Combine(_jiraBaseAddress, PathSearch); } private Uri Combine(string path1, string path2) diff --git a/ShareX.UploadersLib/Forms/JiraUpload.cs b/ShareX.UploadersLib/Forms/JiraUpload.cs index 7b8c65e46..648dc483f 100644 --- a/ShareX.UploadersLib/Forms/JiraUpload.cs +++ b/ShareX.UploadersLib/Forms/JiraUpload.cs @@ -92,7 +92,7 @@ private void ValidateIssueId(string issueId) private void UpdateSummaryAsync(Task task) { - this.Invoke((Action)(() => UpdateSummary(task.Result))); + Invoke((Action)(() => UpdateSummary(task.Result))); } private void UpdateSummary(string summary) diff --git a/ShareX.UploadersLib/ImageUploaders/SomeImage.cs b/ShareX.UploadersLib/ImageUploaders/SomeImage.cs index a6068bec5..23f003b53 100644 --- a/ShareX.UploadersLib/ImageUploaders/SomeImage.cs +++ b/ShareX.UploadersLib/ImageUploaders/SomeImage.cs @@ -26,7 +26,6 @@ You should have received a copy of the GNU General Public License using Newtonsoft.Json; using System.Collections.Generic; using System.IO; -using System.Text.RegularExpressions; namespace ShareX.UploadersLib.ImageUploaders { diff --git a/ShareX.UploadersLib/TextUploaders/Gist.cs b/ShareX.UploadersLib/TextUploaders/Gist.cs index 704c0d0bf..bb99ff842 100644 --- a/ShareX.UploadersLib/TextUploaders/Gist.cs +++ b/ShareX.UploadersLib/TextUploaders/Gist.cs @@ -100,7 +100,7 @@ public override UploadResult UploadText(string text, string fileName) { var gistUploadObject = new { - @public = this.publishPublic, + @public = publishPublic, files = new Dictionary { { fileName, new { content = text } } diff --git a/ShareX.UploadersLib/URLShorteners/PolrURLShortener.cs b/ShareX.UploadersLib/URLShorteners/PolrURLShortener.cs index f58246458..6d29fbdd4 100644 --- a/ShareX.UploadersLib/URLShorteners/PolrURLShortener.cs +++ b/ShareX.UploadersLib/URLShorteners/PolrURLShortener.cs @@ -23,7 +23,6 @@ You should have received a copy of the GNU General Public License #endregion License Information (GPL v3) -using Newtonsoft.Json; using ShareX.HelpersLib; using System.Collections.Generic; diff --git a/ShareX/Forms/DropForm.cs b/ShareX/Forms/DropForm.cs index 9bd4d48c5..e257eed6e 100644 --- a/ShareX/Forms/DropForm.cs +++ b/ShareX/Forms/DropForm.cs @@ -117,7 +117,7 @@ private void DropForm_MouseUp(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Right) { - this.Close(); + Close(); } } diff --git a/ShareX/Forms/MainForm.tr.resx b/ShareX/Forms/MainForm.tr.resx index 841b50fac..78fb37a60 100644 --- a/ShareX/Forms/MainForm.tr.resx +++ b/ShareX/Forms/MainForm.tr.resx @@ -176,25 +176,25 @@ 212, 22 - Dikdörtgen + Bölge 212, 22 - Dikdörtgen (Objeler) + Bölge (Objeler) 212, 22 - Dikdörtgen (Açıklama) + Bölge (Dipnot) 212, 22 - Dikdörtgen (Basit) + Bölge (Basit) 212, 22 @@ -818,25 +818,25 @@ 212, 22 - Dikdörtgen + Bölge 212, 22 - Dikdörtgen (Objeler) + Bölge (Objeler) 212, 22 - Dikdörtgen (Açıklama) + Bölge (Dipnot) 212, 22 - Dikdörtgen (Basit) + Bölge (Basit) 212, 22 @@ -1151,10 +1151,10 @@ Otomatikleştirmek... - Dikdörtgen (Saydam) + Bölge (Saydam) - Dikdörtgen (Saydam) + Bölge (Saydam) Kısayolları devre dışı bırak diff --git a/ShareX/Forms/TaskSettingsForm.cs b/ShareX/Forms/TaskSettingsForm.cs index 668ce2c56..383e43400 100644 --- a/ShareX/Forms/TaskSettingsForm.cs +++ b/ShareX/Forms/TaskSettingsForm.cs @@ -917,7 +917,7 @@ private void cboEncoder_SelectedIndexChanged(object sender, EventArgs e) private void btnEncoderConfig_Click(object sender, EventArgs e) { - using (VideoEncodersForm form = new VideoEncodersForm() { Icon = this.Icon }) + using (VideoEncodersForm form = new VideoEncodersForm() { Icon = Icon }) { form.ShowDialog(); UpdateVideoEncoders();