Skip to content

Commit

Permalink
[loc] remove Azerbaijani translation
Browse files Browse the repository at this point in the history
* Sorry Azerbaijani speaking people, but this was only added out of
  good will and, with no new translator volunteering, this out-of-date
  translation was holding us back.
  • Loading branch information
pbatard committed Jul 10, 2019
1 parent 3e1d0b3 commit 5b1ae09
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 430 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
*.pdb
*.plg
*.res
*.sig
*.sdf
*.suo
*.swp
Expand Down
10 changes: 5 additions & 5 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
o Version 3.6 (2019.07.??)
Add support for persistent partitions [EXPERIMENTAL]
(Note: The above won't work with Ubuntu until Ubuntu bug #1489855 is fixed)
Add a mode to use VHD when partitioning/formatting (Alt-V) [EXPERIMENTAL]
Add a mode to use VDS when partitioning/formatting (Alt-V) [EXPERIMENTAL]
Add full extraction support for efi.img (Solus)
Fix listing of blocking processes
Fix listing of potentially blocking processes
Fix NTFS not being selectable when using Grub4DOS
Fix download script not running when the username contains a space
Fix download script not being launched when the user name contains a space
Fix translated messages potentially being truncated (e.g. Thai)
Fix progress bar report for screen readers (Accessibility)
Fix progress bar report for screen readers (Accessibility issue)
Fix a regression where Windows format prompts would not be suppressed
Improve(?) Windows To Go support by following Microsoft recommended partition order
Improve(?) Windows To Go support by following Microsoft's recommended partition order
Disable ISO mode when Manjaro ISOHybrids are being used
Update embedded GRUB to version 2.04

Expand Down
20 changes: 12 additions & 8 deletions res/loc/pollock/Pollock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
[assembly: AssemblyProduct("Pollock")]
[assembly: AssemblyCopyright("Copyright © 2018 Pete Batard <[email protected]>")]
[assembly: AssemblyTrademark("GNU GPLv3")]
[assembly: AssemblyVersion("1.2.*")]
[assembly: AssemblyVersion("1.3.*")]

namespace pollock
{
Expand Down Expand Up @@ -1058,7 +1058,7 @@ static void Main(string[] args)
}
else
{
var local_loc = @"C:\rufus\res\loc\rufus.loc";
var local_loc = @"C:\Projects\rufus\res\loc\rufus.loc";
Console.Write($"Copying loc file from '{local_loc}'... ");
File.Copy(local_loc, "rufus.loc", true);
}
Expand Down Expand Up @@ -1092,9 +1092,15 @@ static void Main(string[] args)
for (int i = 1; i < split + 1; i++)
{
name = $"{list[i][0]} ({list[i][1]})";
Console.Write($"[{i.ToString("00")}] {name,-29} {$"(v{list[i][2]})",-7}");
name = $"{list[i + split][0]} ({list[i + split][1]})";
Console.WriteLine($" | [{(i + split).ToString("00")}] {name,-29} {$"(v{list[i + split][2]})",-7}");
Console.Write($"[{i.ToString("00")}] {name,-29} {$"(v{list[i][2]})",-7} | ");
if ((i + split) < list.Count)
{
name = $"{list[i + split][0]} ({list[i + split][1]})";
Console.WriteLine($"[{(i + split).ToString("00")}] {name,-29} {$"(v{list[i + split][2]})",-7}");
} else
{
Console.WriteLine();
}
}
Console.WriteLine();

Expand Down Expand Up @@ -1144,9 +1150,7 @@ static void Main(string[] args)
if (str == null)
goto Exit;
var sha = str.Substring(str.IndexOf("/pbatard/rufus/commit/") + 22, 40);
// TODO: Remove this once everyone has upgraded past 3.2
string loc_dir = ((list[index][2][0] == '2') || ((list[index][2][0] == '3') && (list[index][2][2] == '0'))) ? "localization" : "loc";
url = "https://github.com/pbatard/rufus/raw/" + sha + "/res/" + loc_dir + "/rufus.loc";
url = "https://github.com/pbatard/rufus/raw/" + sha + "/res/loc/rufus.loc";
if (!DownloadFile(url, old_loc_file))
goto Exit;
}
Expand Down
Loading

0 comments on commit 5b1ae09

Please sign in to comment.