1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00

[loc] set up Windows Store listing translations (part 2)

* Add PowerShell script to generate listing.csv
* Also update relevant messages along with French translation
This commit is contained in:
Pete Batard 2023-02-08 17:11:51 +00:00
parent fac433a0fe
commit 3281f6b97e
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
9 changed files with 818 additions and 248 deletions

View file

@ -0,0 +1,151 @@
# PowerShell script to parse rufus.loc and create a listing.csv
# Copyright © 2023 Pete Batard <pete@akeo.ie>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
try {
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
} catch {}
function InsertMsg([object]$translated_msgs, [string]$lang, [string]$msg_id, [string]$msg)
{
for ($i = 0; $i -lt $translated_msgs.MSG_ID.Count; $i++) {
if ($translated_msgs.MSG_ID[$i] -eq $msg_id) {
$translated_msgs.$lang[$i] = $msg
}
}
}
function GetMsg([object]$translated_msgs, [string]$lang, [string]$msg_id)
{
for ($i = 0; $i -lt $translated_msgs.MSG_ID.Count; $i++) {
if ($translated_msgs.MSG_ID[$i] -eq $msg_id) {
if ($msg_id -eq "MSG_901" -or $msg_id -eq "MSG_902" -or $msg_id -eq "MSG_903") {
if (-not $translated_msgs.$lang[$i]) {
return $translated_msgs."en-us"[$i]
}
}
return $translated_msgs.$lang[$i]
}
}
return ""
}
$csv = Import-Csv -Path .\listing_template.csv -Encoding UTF8
# Get the translated MSG_ID's we need
$translated_msg_ids = @()
$empty = @()
foreach($row in $csv) {
# There may be multiple MSG_ID's in the row
Select-String "MSG_\d+" -input $row -AllMatches | foreach {
foreach ($match in $_.matches) {
$translated_msg_ids += $match.Value
$empty += ""
}
}
}
$translated_msgs = New-Object PSObject
Add-Member -InputObject $translated_msgs -NotePropertyName MSG_ID -NotePropertyValue $translated_msg_ids
$lang = ""
$langs = @()
foreach ($line in Get-Content ..\loc\rufus.loc) {
# Get the language for the current section
if ($line -Like "l *") {
$lang = $line.split(" ",[System.StringSplitOptions]::RemoveEmptyEntries)[1].Trim('"').ToLower()
if ($lang -eq "sr-rs") {
$lang = "sr-latn-rs"
}
$langs += $lang
Add-Member -InputObject $translated_msgs -NotePropertyName $lang -NotePropertyValue $empty.PsObject.Copy()
}
# Add translated messages to our array
if ($line -Like "t MSG_*") {
$msg_id = $line.Substring(2, 7)
if ($translated_msg_ids.Contains($msg_id)) {
$msg = $line.Substring(10).Trim('"').Replace("\n","`n").Replace('\"','"')
# Insert URLs in the relevant messages
if ($msg.Contains("%s")) {
$url = switch ($msg_id) {
MSG_901 { "https://rufus.ie" }
MSG_902 { "https://github.com/pbatard/rufus" }
MSG_903 { "https://github.com/pbatard/rufus/blob/master/ChangeLog.txt" }
}
$msg = $msg.Replace("%s", $url)
}
InsertMsg $translated_msgs $lang $msg_id "$msg"
}
}
}
# Add the extra columns to our CSV
foreach ($lang in $langs) {
$csv = $csv | Select-Object *, @{ n = $lang; e = " " }
}
# Now insert the translated strings and whatnot
foreach($row in $csv) {
Select-String "MSG_\d+" -input $row -AllMatches | foreach {
foreach ($lang in $langs) {
$row.$lang = $row.default
foreach ($match in $_.matches) {
$msg = GetMsg $translated_msgs $lang $match.Value
$row.$lang = $row.$lang.Replace($match.Value, $msg)
}
}
# Override some defaults
if ($row.default -eq "MSG_904") {
$row.default = "https://www.gnu.org/licenses/gpl-3.0.html"
} elseif ($row.default -eq "MSG_905") {
$row.default = "Boot"
} else {
$row.default = ""
}
}
if ($row.default -like "<AUTOGENERATED>") {
# Insert current year into CopyrightTrademarkInformation
if ($row.Field -eq "CopyrightTrademarkInformation") {
$year = Get-Date -Format "yyyy"
$row.default = "© 2011-" + $year + " Pete Batard"
} elseif ($row.Field -eq "ReleaseNotes") {
$section = 0
$row.default = ""
foreach ($line in Get-Content ..\..\ChangeLog.txt) {
if ($line.StartsWith("o Version")) {
$section++
continue
}
if ($section -eq 1 -and $line) {
if ($row.default) {
$row.default += "`n"
}
$row.default += $line.Replace(" ", "")
}
}
} elseif ($row.Field.StartsWith("DesktopScreenshot")) {
$row.default = ""
foreach ($lang in $langs) {
$path = $lang + "\" + $row.Field.Replace("Desktop", "") + ".png"
if (Test-Path -Path ("listing\" + $path)) {
$row.$lang = $path
}
}
}
}
}
$csv | Export-Csv 'listing\listing.csv' -NoTypeInformation -Encoding UTF8

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,203 @@
Field,ID,Type (Type),default
Description,2,Text,"MSG_900
• MSG_901
• MSG_902
• MSG_903"
ReleaseNotes,3,Text,<AUTOGENERATED>
Title,4,Text,Rufus
ShortTitle,5,Text,
SortTitle,6,Text,
VoiceTitle,7,Text,
ShortDescription,8,Text,MSG_174
DevStudio,9,Text,Pete Batard
CopyrightTrademarkInformation,12,Text,<AUTOGENERATED>
AdditionalLicenseTerms,13,Text,MSG_904
DesktopScreenshot1,100,Relative path (or URL to file in Partner Center),<AUTOGENERATED>
DesktopScreenshot2,101,Relative path (or URL to file in Partner Center),<AUTOGENERATED>
DesktopScreenshot3,102,Relative path (or URL to file in Partner Center),<AUTOGENERATED>
DesktopScreenshot4,103,Relative path (or URL to file in Partner Center),<AUTOGENERATED>
DesktopScreenshot5,104,Relative path (or URL to file in Partner Center),
DesktopScreenshot6,105,Relative path (or URL to file in Partner Center),
DesktopScreenshot7,106,Relative path (or URL to file in Partner Center),
DesktopScreenshot8,107,Relative path (or URL to file in Partner Center),
DesktopScreenshot9,108,Relative path (or URL to file in Partner Center),
DesktopScreenshot10,109,Relative path (or URL to file in Partner Center),
DesktopScreenshotCaption1,150,Text,
DesktopScreenshotCaption2,151,Text,
DesktopScreenshotCaption3,152,Text,
DesktopScreenshotCaption4,153,Text,
DesktopScreenshotCaption5,154,Text,
DesktopScreenshotCaption6,155,Text,
DesktopScreenshotCaption7,156,Text,
DesktopScreenshotCaption8,157,Text,
DesktopScreenshotCaption9,158,Text,
DesktopScreenshotCaption10,159,Text,
MobileScreenshot1,200,Relative path (or URL to file in Partner Center),
MobileScreenshot2,201,Relative path (or URL to file in Partner Center),
MobileScreenshot3,202,Relative path (or URL to file in Partner Center),
MobileScreenshot4,203,Relative path (or URL to file in Partner Center),
MobileScreenshot5,204,Relative path (or URL to file in Partner Center),
MobileScreenshot6,205,Relative path (or URL to file in Partner Center),
MobileScreenshot7,206,Relative path (or URL to file in Partner Center),
MobileScreenshot8,207,Relative path (or URL to file in Partner Center),
MobileScreenshot9,208,Relative path (or URL to file in Partner Center),
MobileScreenshot10,209,Relative path (or URL to file in Partner Center),
MobileScreenshotCaption1,250,Text,
MobileScreenshotCaption2,251,Text,
MobileScreenshotCaption3,252,Text,
MobileScreenshotCaption4,253,Text,
MobileScreenshotCaption5,254,Text,
MobileScreenshotCaption6,255,Text,
MobileScreenshotCaption7,256,Text,
MobileScreenshotCaption8,257,Text,
MobileScreenshotCaption9,258,Text,
MobileScreenshotCaption10,259,Text,
XboxScreenshot1,300,Relative path (or URL to file in Partner Center),
XboxScreenshot2,301,Relative path (or URL to file in Partner Center),
XboxScreenshot3,302,Relative path (or URL to file in Partner Center),
XboxScreenshot4,303,Relative path (or URL to file in Partner Center),
XboxScreenshot5,304,Relative path (or URL to file in Partner Center),
XboxScreenshot6,305,Relative path (or URL to file in Partner Center),
XboxScreenshot7,306,Relative path (or URL to file in Partner Center),
XboxScreenshot8,307,Relative path (or URL to file in Partner Center),
XboxScreenshot9,308,Relative path (or URL to file in Partner Center),
XboxScreenshot10,309,Relative path (or URL to file in Partner Center),
XboxScreenshotCaption1,350,Text,
XboxScreenshotCaption2,351,Text,
XboxScreenshotCaption3,352,Text,
XboxScreenshotCaption4,353,Text,
XboxScreenshotCaption5,354,Text,
XboxScreenshotCaption6,355,Text,
XboxScreenshotCaption7,356,Text,
XboxScreenshotCaption8,357,Text,
XboxScreenshotCaption9,358,Text,
XboxScreenshotCaption10,359,Text,
HolographicScreenshot1,400,Relative path (or URL to file in Partner Center),
HolographicScreenshot2,401,Relative path (or URL to file in Partner Center),
HolographicScreenshot3,402,Relative path (or URL to file in Partner Center),
HolographicScreenshot4,403,Relative path (or URL to file in Partner Center),
HolographicScreenshot5,404,Relative path (or URL to file in Partner Center),
HolographicScreenshot6,405,Relative path (or URL to file in Partner Center),
HolographicScreenshot7,406,Relative path (or URL to file in Partner Center),
HolographicScreenshot8,407,Relative path (or URL to file in Partner Center),
HolographicScreenshot9,408,Relative path (or URL to file in Partner Center),
HolographicScreenshot10,409,Relative path (or URL to file in Partner Center),
HolographicScreenshotCaption1,450,Text,
HolographicScreenshotCaption2,451,Text,
HolographicScreenshotCaption3,452,Text,
HolographicScreenshotCaption4,453,Text,
HolographicScreenshotCaption5,454,Text,
HolographicScreenshotCaption6,455,Text,
HolographicScreenshotCaption7,456,Text,
HolographicScreenshotCaption8,457,Text,
HolographicScreenshotCaption9,458,Text,
HolographicScreenshotCaption10,459,Text,
StoreLogo720x1080,600,Relative path (or URL to file in Partner Center),
StoreLogo1080x1080,601,Relative path (or URL to file in Partner Center),
StoreLogo300x300,602,Relative path (or URL to file in Partner Center),
OverrideLogosForWin10,603,True/False,FALSE
StoreLogoOverride150x150,604,Relative path (or URL to file in Partner Center),
StoreLogoOverride71x71,605,Relative path (or URL to file in Partner Center),
PromoImage1920x1080,606,Relative path (or URL to file in Partner Center),
PromoImage2400x1200,607,Relative path (or URL to file in Partner Center),
XboxBrandedKeyArt584x800,608,Relative path (or URL to file in Partner Center),
XboxTitledHero1920x1080,609,Relative path (or URL to file in Partner Center),
XboxFeaturedPromo1080x1080,610,Relative path (or URL to file in Partner Center),
OptionalPromo358x358,611,Relative path (or URL to file in Partner Center),
OptionalPromo1000x800,612,Relative path (or URL to file in Partner Center),
OptionalPromo414x180,613,Relative path (or URL to file in Partner Center),
Feature1,700,Text,MSG_910
Feature2,701,Text,MSG_911
Feature3,702,Text,MSG_912
Feature4,703,Text,MSG_913
Feature5,704,Text,MSG_914
Feature6,705,Text,MSG_915
Feature7,706,Text,MSG_916
Feature8,707,Text,MSG_917
Feature9,708,Text,MSG_918
Feature10,709,Text,MSG_919
Feature11,710,Text,MSG_920
Feature12,711,Text,MSG_921
Feature13,712,Text,MSG_922
Feature14,713,Text,
Feature15,714,Text,
Feature16,715,Text,
Feature17,716,Text,
Feature18,717,Text,
Feature19,718,Text,
Feature20,719,Text,
MinimumHardwareReq1,800,Text,
MinimumHardwareReq2,801,Text,
MinimumHardwareReq3,802,Text,
MinimumHardwareReq4,803,Text,
MinimumHardwareReq5,804,Text,
MinimumHardwareReq6,805,Text,
MinimumHardwareReq7,806,Text,
MinimumHardwareReq8,807,Text,
MinimumHardwareReq9,808,Text,
MinimumHardwareReq10,809,Text,
MinimumHardwareReq11,810,Text,
RecommendedHardwareReq1,850,Text,
RecommendedHardwareReq2,851,Text,
RecommendedHardwareReq3,852,Text,
RecommendedHardwareReq4,853,Text,
RecommendedHardwareReq5,854,Text,
RecommendedHardwareReq6,855,Text,
RecommendedHardwareReq7,856,Text,
RecommendedHardwareReq8,857,Text,
RecommendedHardwareReq9,858,Text,
RecommendedHardwareReq10,859,Text,
RecommendedHardwareReq11,860,Text,
SearchTerm1,900,Text,MSG_905
SearchTerm2,901,Text,USB
SearchTerm3,902,Text,ISO
SearchTerm4,903,Text,Windows
SearchTerm5,904,Text,Linux
SearchTerm6,905,Text,UEFI
SearchTerm7,906,Text,Windows To Go
TrailerToPlayAtTopOfListing,999,Relative path (or URL to file in Partner Center),
Trailer1,1000,Relative path (or URL to file in Partner Center),
Trailer2,1001,Relative path (or URL to file in Partner Center),
Trailer3,1002,Relative path (or URL to file in Partner Center),
Trailer4,1003,Relative path (or URL to file in Partner Center),
Trailer5,1004,Relative path (or URL to file in Partner Center),
Trailer6,1005,Relative path (or URL to file in Partner Center),
Trailer7,1006,Relative path (or URL to file in Partner Center),
Trailer8,1007,Relative path (or URL to file in Partner Center),
Trailer9,1008,Relative path (or URL to file in Partner Center),
Trailer10,1009,Relative path (or URL to file in Partner Center),
Trailer11,1010,Relative path (or URL to file in Partner Center),
Trailer12,1011,Relative path (or URL to file in Partner Center),
Trailer13,1012,Relative path (or URL to file in Partner Center),
Trailer14,1013,Relative path (or URL to file in Partner Center),
Trailer15,1014,Relative path (or URL to file in Partner Center),
TrailerTitle1,1020,Text,
TrailerTitle2,1021,Text,
TrailerTitle3,1022,Text,
TrailerTitle4,1023,Text,
TrailerTitle5,1024,Text,
TrailerTitle6,1025,Text,
TrailerTitle7,1026,Text,
TrailerTitle8,1027,Text,
TrailerTitle9,1028,Text,
TrailerTitle10,1029,Text,
TrailerTitle11,1030,Text,
TrailerTitle12,1031,Text,
TrailerTitle13,1032,Text,
TrailerTitle14,1033,Text,
TrailerTitle15,1034,Text,
TrailerThumbnail1,1040,Relative path (or URL to file in Partner Center),
TrailerThumbnail2,1041,Relative path (or URL to file in Partner Center),
TrailerThumbnail3,1042,Relative path (or URL to file in Partner Center),
TrailerThumbnail4,1043,Relative path (or URL to file in Partner Center),
TrailerThumbnail5,1044,Relative path (or URL to file in Partner Center),
TrailerThumbnail6,1045,Relative path (or URL to file in Partner Center),
TrailerThumbnail7,1046,Relative path (or URL to file in Partner Center),
TrailerThumbnail8,1047,Relative path (or URL to file in Partner Center),
TrailerThumbnail9,1048,Relative path (or URL to file in Partner Center),
TrailerThumbnail10,1049,Relative path (or URL to file in Partner Center),
TrailerThumbnail11,1050,Relative path (or URL to file in Partner Center),
TrailerThumbnail12,1051,Relative path (or URL to file in Partner Center),
TrailerThumbnail13,1052,Relative path (or URL to file in Partner Center),
TrailerThumbnail14,1053,Relative path (or URL to file in Partner Center),
TrailerThumbnail15,1054,Relative path (or URL to file in Partner Center),
1 Field ID Type (Type) default
2 Description 2 Text MSG_900 • MSG_901 • MSG_902 • MSG_903
3 ReleaseNotes 3 Text <AUTOGENERATED>
4 Title 4 Text Rufus
5 ShortTitle 5 Text
6 SortTitle 6 Text
7 VoiceTitle 7 Text
8 ShortDescription 8 Text MSG_174
9 DevStudio 9 Text Pete Batard
10 CopyrightTrademarkInformation 12 Text <AUTOGENERATED>
11 AdditionalLicenseTerms 13 Text MSG_904
12 DesktopScreenshot1 100 Relative path (or URL to file in Partner Center) <AUTOGENERATED>
13 DesktopScreenshot2 101 Relative path (or URL to file in Partner Center) <AUTOGENERATED>
14 DesktopScreenshot3 102 Relative path (or URL to file in Partner Center) <AUTOGENERATED>
15 DesktopScreenshot4 103 Relative path (or URL to file in Partner Center) <AUTOGENERATED>
16 DesktopScreenshot5 104 Relative path (or URL to file in Partner Center)
17 DesktopScreenshot6 105 Relative path (or URL to file in Partner Center)
18 DesktopScreenshot7 106 Relative path (or URL to file in Partner Center)
19 DesktopScreenshot8 107 Relative path (or URL to file in Partner Center)
20 DesktopScreenshot9 108 Relative path (or URL to file in Partner Center)
21 DesktopScreenshot10 109 Relative path (or URL to file in Partner Center)
22 DesktopScreenshotCaption1 150 Text
23 DesktopScreenshotCaption2 151 Text
24 DesktopScreenshotCaption3 152 Text
25 DesktopScreenshotCaption4 153 Text
26 DesktopScreenshotCaption5 154 Text
27 DesktopScreenshotCaption6 155 Text
28 DesktopScreenshotCaption7 156 Text
29 DesktopScreenshotCaption8 157 Text
30 DesktopScreenshotCaption9 158 Text
31 DesktopScreenshotCaption10 159 Text
32 MobileScreenshot1 200 Relative path (or URL to file in Partner Center)
33 MobileScreenshot2 201 Relative path (or URL to file in Partner Center)
34 MobileScreenshot3 202 Relative path (or URL to file in Partner Center)
35 MobileScreenshot4 203 Relative path (or URL to file in Partner Center)
36 MobileScreenshot5 204 Relative path (or URL to file in Partner Center)
37 MobileScreenshot6 205 Relative path (or URL to file in Partner Center)
38 MobileScreenshot7 206 Relative path (or URL to file in Partner Center)
39 MobileScreenshot8 207 Relative path (or URL to file in Partner Center)
40 MobileScreenshot9 208 Relative path (or URL to file in Partner Center)
41 MobileScreenshot10 209 Relative path (or URL to file in Partner Center)
42 MobileScreenshotCaption1 250 Text
43 MobileScreenshotCaption2 251 Text
44 MobileScreenshotCaption3 252 Text
45 MobileScreenshotCaption4 253 Text
46 MobileScreenshotCaption5 254 Text
47 MobileScreenshotCaption6 255 Text
48 MobileScreenshotCaption7 256 Text
49 MobileScreenshotCaption8 257 Text
50 MobileScreenshotCaption9 258 Text
51 MobileScreenshotCaption10 259 Text
52 XboxScreenshot1 300 Relative path (or URL to file in Partner Center)
53 XboxScreenshot2 301 Relative path (or URL to file in Partner Center)
54 XboxScreenshot3 302 Relative path (or URL to file in Partner Center)
55 XboxScreenshot4 303 Relative path (or URL to file in Partner Center)
56 XboxScreenshot5 304 Relative path (or URL to file in Partner Center)
57 XboxScreenshot6 305 Relative path (or URL to file in Partner Center)
58 XboxScreenshot7 306 Relative path (or URL to file in Partner Center)
59 XboxScreenshot8 307 Relative path (or URL to file in Partner Center)
60 XboxScreenshot9 308 Relative path (or URL to file in Partner Center)
61 XboxScreenshot10 309 Relative path (or URL to file in Partner Center)
62 XboxScreenshotCaption1 350 Text
63 XboxScreenshotCaption2 351 Text
64 XboxScreenshotCaption3 352 Text
65 XboxScreenshotCaption4 353 Text
66 XboxScreenshotCaption5 354 Text
67 XboxScreenshotCaption6 355 Text
68 XboxScreenshotCaption7 356 Text
69 XboxScreenshotCaption8 357 Text
70 XboxScreenshotCaption9 358 Text
71 XboxScreenshotCaption10 359 Text
72 HolographicScreenshot1 400 Relative path (or URL to file in Partner Center)
73 HolographicScreenshot2 401 Relative path (or URL to file in Partner Center)
74 HolographicScreenshot3 402 Relative path (or URL to file in Partner Center)
75 HolographicScreenshot4 403 Relative path (or URL to file in Partner Center)
76 HolographicScreenshot5 404 Relative path (or URL to file in Partner Center)
77 HolographicScreenshot6 405 Relative path (or URL to file in Partner Center)
78 HolographicScreenshot7 406 Relative path (or URL to file in Partner Center)
79 HolographicScreenshot8 407 Relative path (or URL to file in Partner Center)
80 HolographicScreenshot9 408 Relative path (or URL to file in Partner Center)
81 HolographicScreenshot10 409 Relative path (or URL to file in Partner Center)
82 HolographicScreenshotCaption1 450 Text
83 HolographicScreenshotCaption2 451 Text
84 HolographicScreenshotCaption3 452 Text
85 HolographicScreenshotCaption4 453 Text
86 HolographicScreenshotCaption5 454 Text
87 HolographicScreenshotCaption6 455 Text
88 HolographicScreenshotCaption7 456 Text
89 HolographicScreenshotCaption8 457 Text
90 HolographicScreenshotCaption9 458 Text
91 HolographicScreenshotCaption10 459 Text
92 StoreLogo720x1080 600 Relative path (or URL to file in Partner Center)
93 StoreLogo1080x1080 601 Relative path (or URL to file in Partner Center)
94 StoreLogo300x300 602 Relative path (or URL to file in Partner Center)
95 OverrideLogosForWin10 603 True/False FALSE
96 StoreLogoOverride150x150 604 Relative path (or URL to file in Partner Center)
97 StoreLogoOverride71x71 605 Relative path (or URL to file in Partner Center)
98 PromoImage1920x1080 606 Relative path (or URL to file in Partner Center)
99 PromoImage2400x1200 607 Relative path (or URL to file in Partner Center)
100 XboxBrandedKeyArt584x800 608 Relative path (or URL to file in Partner Center)
101 XboxTitledHero1920x1080 609 Relative path (or URL to file in Partner Center)
102 XboxFeaturedPromo1080x1080 610 Relative path (or URL to file in Partner Center)
103 OptionalPromo358x358 611 Relative path (or URL to file in Partner Center)
104 OptionalPromo1000x800 612 Relative path (or URL to file in Partner Center)
105 OptionalPromo414x180 613 Relative path (or URL to file in Partner Center)
106 Feature1 700 Text MSG_910
107 Feature2 701 Text MSG_911
108 Feature3 702 Text MSG_912
109 Feature4 703 Text MSG_913
110 Feature5 704 Text MSG_914
111 Feature6 705 Text MSG_915
112 Feature7 706 Text MSG_916
113 Feature8 707 Text MSG_917
114 Feature9 708 Text MSG_918
115 Feature10 709 Text MSG_919
116 Feature11 710 Text MSG_920
117 Feature12 711 Text MSG_921
118 Feature13 712 Text MSG_922
119 Feature14 713 Text
120 Feature15 714 Text
121 Feature16 715 Text
122 Feature17 716 Text
123 Feature18 717 Text
124 Feature19 718 Text
125 Feature20 719 Text
126 MinimumHardwareReq1 800 Text
127 MinimumHardwareReq2 801 Text
128 MinimumHardwareReq3 802 Text
129 MinimumHardwareReq4 803 Text
130 MinimumHardwareReq5 804 Text
131 MinimumHardwareReq6 805 Text
132 MinimumHardwareReq7 806 Text
133 MinimumHardwareReq8 807 Text
134 MinimumHardwareReq9 808 Text
135 MinimumHardwareReq10 809 Text
136 MinimumHardwareReq11 810 Text
137 RecommendedHardwareReq1 850 Text
138 RecommendedHardwareReq2 851 Text
139 RecommendedHardwareReq3 852 Text
140 RecommendedHardwareReq4 853 Text
141 RecommendedHardwareReq5 854 Text
142 RecommendedHardwareReq6 855 Text
143 RecommendedHardwareReq7 856 Text
144 RecommendedHardwareReq8 857 Text
145 RecommendedHardwareReq9 858 Text
146 RecommendedHardwareReq10 859 Text
147 RecommendedHardwareReq11 860 Text
148 SearchTerm1 900 Text MSG_905
149 SearchTerm2 901 Text USB
150 SearchTerm3 902 Text ISO
151 SearchTerm4 903 Text Windows
152 SearchTerm5 904 Text Linux
153 SearchTerm6 905 Text UEFI
154 SearchTerm7 906 Text Windows To Go
155 TrailerToPlayAtTopOfListing 999 Relative path (or URL to file in Partner Center)
156 Trailer1 1000 Relative path (or URL to file in Partner Center)
157 Trailer2 1001 Relative path (or URL to file in Partner Center)
158 Trailer3 1002 Relative path (or URL to file in Partner Center)
159 Trailer4 1003 Relative path (or URL to file in Partner Center)
160 Trailer5 1004 Relative path (or URL to file in Partner Center)
161 Trailer6 1005 Relative path (or URL to file in Partner Center)
162 Trailer7 1006 Relative path (or URL to file in Partner Center)
163 Trailer8 1007 Relative path (or URL to file in Partner Center)
164 Trailer9 1008 Relative path (or URL to file in Partner Center)
165 Trailer10 1009 Relative path (or URL to file in Partner Center)
166 Trailer11 1010 Relative path (or URL to file in Partner Center)
167 Trailer12 1011 Relative path (or URL to file in Partner Center)
168 Trailer13 1012 Relative path (or URL to file in Partner Center)
169 Trailer14 1013 Relative path (or URL to file in Partner Center)
170 Trailer15 1014 Relative path (or URL to file in Partner Center)
171 TrailerTitle1 1020 Text
172 TrailerTitle2 1021 Text
173 TrailerTitle3 1022 Text
174 TrailerTitle4 1023 Text
175 TrailerTitle5 1024 Text
176 TrailerTitle6 1025 Text
177 TrailerTitle7 1026 Text
178 TrailerTitle8 1027 Text
179 TrailerTitle9 1028 Text
180 TrailerTitle10 1029 Text
181 TrailerTitle11 1030 Text
182 TrailerTitle12 1031 Text
183 TrailerTitle13 1032 Text
184 TrailerTitle14 1033 Text
185 TrailerTitle15 1034 Text
186 TrailerThumbnail1 1040 Relative path (or URL to file in Partner Center)
187 TrailerThumbnail2 1041 Relative path (or URL to file in Partner Center)
188 TrailerThumbnail3 1042 Relative path (or URL to file in Partner Center)
189 TrailerThumbnail4 1043 Relative path (or URL to file in Partner Center)
190 TrailerThumbnail5 1044 Relative path (or URL to file in Partner Center)
191 TrailerThumbnail6 1045 Relative path (or URL to file in Partner Center)
192 TrailerThumbnail7 1046 Relative path (or URL to file in Partner Center)
193 TrailerThumbnail8 1047 Relative path (or URL to file in Partner Center)
194 TrailerThumbnail9 1048 Relative path (or URL to file in Partner Center)
195 TrailerThumbnail10 1049 Relative path (or URL to file in Partner Center)
196 TrailerThumbnail11 1050 Relative path (or URL to file in Partner Center)
197 TrailerThumbnail12 1051 Relative path (or URL to file in Partner Center)
198 TrailerThumbnail13 1052 Relative path (or URL to file in Partner Center)
199 TrailerThumbnail14 1053 Relative path (or URL to file in Partner Center)
200 TrailerThumbnail15 1054 Relative path (or URL to file in Partner Center)

View file

@ -1,4 +1,19 @@
# PowerShell script to parse listing.csv and retrieve our screenshots
# Copyright © 2023 Pete Batard <pete@akeo.ie>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
try {
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
} catch {}

View file

@ -3,15 +3,19 @@ rufus.loc since its original version.
To edit a translation, please make sure to follow:
https://github.com/pbatard/rufus/wiki/Localization#Editing_an_existing_translation
Or simply download https://files.akeo.ie/pollock/pollock-1.4.exe and follow its directions.
Or simply download https://files.akeo.ie/pollock/pollock-1.5.exe and follow its directions.
o v3.22 (2023.??.??)
// MSG_144 is aimed the the ISO download feature
- *UPDATED* MSG_144 "Temporarily banned by Microsoft for requesting too many downloads (...)" -> "Download of Windows ISOs is unavailable due to Microsoft having altered their website to prevent it."
- *NEW* MSG_199 "This feature is not available for this version of Windows."
// MSG_199 will appear for the ISO download feature if running on Windows 7
- *NEW* MSG_199 "This feature is not available on this platform."
// MSG_294 can be tested by launching Rufus from the commandline with option -z61
- *UPDATED* MSG_294 "This version of Windows is no longer supported by Rufus." -> added "\nThe last version of Rufus compatible with this platform is v%d.%d."
- *NEW* MSG_323 "Unable to open or read '%s'"
// MSG_325 appears on the status bar when creating a customized Windows 10 or Windows 11 media
- *NEW* MSG_325 "Applying Windows customization: %s"
// The following messages appear after selecting a Windows 11 ISO and pressing START
- *NEW* MSG_326 "Windows User Experience"
- *NEW* MSG_327 "Customize Windows installation?"
- *NEW* MSG_328 "Remove requirement for Secure Boot and TPM 2.0"
@ -32,6 +36,8 @@ o v3.22 (2023.??.??)
// The gnu.org website has many translations of the GPL (such as https://www.gnu.org/licenses/gpl-3.0.zh-cn.html, https://www.gnu.org/licenses/gpl-3.0.fr.html)
// Please make sure you try to locate the relevant https://www.gnu.org/licenses/gpl-3.0.<LANG-ID>.html for your language and use it below.
- *NEW* MSG_904 "This application is licensed under the terms of the GNU Public License (GPL) version 3.\nSee https://www.gnu.org/licenses/gpl-3.0.en.html for details"
// Keyword for "boot" that can be used for search in the Windows Store
- *NEW* MSG_905 "Boot"
// This and subsequent messages will be listed in the 'Features' section of the Windows Store page
- *NEW* MSG_910 "Format USB, flash card and virtual drives to FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3"
- *NEW* MSG_911 "Create FreeDOS bootable USB drives"

View file

@ -1,9 +1,9 @@
msgid ""
msgstr ""
"Project-Id-Version: 3.14\n"
"Project-Id-Version: 3.22\n"
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
"POT-Creation-Date: 2023-02-03 13:52+0000\n"
"PO-Revision-Date: 2023-02-03 13:53+0000\n"
"POT-Creation-Date: 2023-02-08 17:07+0000\n"
"PO-Revision-Date: 2023-02-08 17:08+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: fr_FR\n"
@ -1200,8 +1200,8 @@ msgid "'Windows To Go' can only be installed on a GPT partitioned drive if it ha
msgstr "'Windows To Go' peut seulement être installé sur un disque partitionné au format GPT si il a l'attribut FIXE.Le disque sélectionné na pas été détecté comme FIXE."
#. • MSG_199
msgid "This feature is not available for this version of Windows."
msgstr "Cette fonctionalité n'est pas disponible avec cette version de Windows."
msgid "This feature is not available on this platform."
msgstr "Cette fonctionalité n'est pas disponible pour cette plateforme."
#. • MSG_201
msgid "Cancelling - Please wait..."
@ -1834,7 +1834,7 @@ msgstr "Empêcher Windows To Go d'accéder aux disques internes"
#. • MSG_333
msgid "Create a local account with username:"
msgstr "Créer un compte local avec le nom :"
msgstr "Créer un compte local sous le nom de :"
#. • MSG_334
msgid "Set regional options to the same values as this user's"
@ -1849,5 +1849,90 @@ msgid "Persistent log"
msgstr "Log persistent"
#. • MSG_900
#.
#. The following messages are for the Windows Store listing only and are not used by the application
msgid "Rufus is a utility that helps format and create bootable USB flash drives, such as USB keys/pendrives, memory sticks, etc."
msgstr "Rufus est un utilitaire permettant de formater et de créer des média USB amorçables, tels que clés USB, mémoire flash, etc."
#. • MSG_901
msgid "Official site: %s"
msgstr "Site official : %s"
#. • MSG_902
msgid "Source Code: %s"
msgstr "Code source: %s"
#. • MSG_903
msgid "ChangeLog: %s"
msgstr ""
#. • MSG_904
#.
#. The gnu.org website has many translations of the GPL (such as https://www.gnu.org/licenses/gpl-3.0.zh-cn.html, https://www.gnu.org/licenses/gpl-3.0.fr.html)
#. Please make sure you try to locate the relevant https://www.gnu.org/licenses/gpl-3.0.<LANG-ID>.html for your language and use it here.
msgid ""
"This application is licensed under the terms of the GNU Public License (GPL) version 3.\n"
"See https://www.gnu.org/licenses/gpl-3.0.en.html for details."
msgstr ""
"Cette application est fournie sous les termes de la Licence publique générale GNU (GPL) version 3.\n"
"Veuillez consulter https://www.gnu.org/licenses/gpl-3.0.fr.html pour plus de details."
#. • MSG_905
#.
#. Keyword for "boot" will be used for search in the Windows Store
msgid "Boot"
msgstr "Amorçable"
#. • MSG_910
#.
#. This and subsequent messages will be listed in the 'Features' section of the Windows Store page
msgid "Format USB, flash card and virtual drives to FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3"
msgstr "Formatez des périphériques USB, des cartes flash et des disques virtuels en FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3"
#. • MSG_911
msgid "Create FreeDOS bootable USB drives"
msgstr "Créez des disques amorçable FreeDOS"
#. • MSG_912
msgid "Create bootable drives from bootable ISOs (Windows, Linux, etc.)"
msgstr "Créez des disques amorçables à partir d'images ISOs (Windows, Linux, etc.)"
#. • MSG_913
msgid "Create bootable drives from bootable disk images, including compressed ones"
msgstr "Créez des disques amorçables à partir d'images disque, y compris à partir d'images compressées"
#. • MSG_914
msgid "Create BIOS or UEFI bootable drives, including UEFI bootable NTFS"
msgstr "Créez des disques amorçables BIOS ou UEFI, y compris des disques UEFI amorçables utilisant NTFS"
#. • MSG_915
msgid "Create 'Windows To Go' drives"
msgstr "Créez des disques 'Windows To Go'"
#. • MSG_916
msgid "Create Windows 11 installation drives for PCs that don't have TPM or Secure Boot"
msgstr "Créez des disques d'installation Windows 11 pour des PCs qui ne disposent pas de TPM ou Secure Boot"
#. • MSG_917
msgid "Create persistent Linux partitions"
msgstr "Créez des partitions persistentes pour Linux"
#. • MSG_918
msgid "Create VHD/DD images of the selected drive"
msgstr "Créez des images VHD/DD du périphérique sélectionné"
#. • MSG_919
msgid "Compute MD5, SHA-1, SHA-256 and SHA-512 checksums of the selected image"
msgstr "Calculez les sommes de contrôle MD5, SHA-1, SHA-256 et SHA-512 de l'image sélectionnée"
#. • MSG_920
msgid "Perform bad blocks checks, including detection of \"fake\" flash drives"
msgstr "Executez un test de mauvais secteurs avec detection des \"fake drives\""
#. • MSG_921
msgid "Download official Microsoft Windows retail ISOs"
msgstr "Téléchargez des images ISOs commerciales officielles de Microsoft Windows"
#. • MSG_922
msgid "Download UEFI Shell ISOs"
msgstr "Téléchargez des images ISOs du Shell UEFI"

View file

@ -3,7 +3,7 @@
#########################################################################
# List of all languages included in this file (with version)
# • v3.14 "en-US" "English (English)"
# • v3.22 "en-US" "English (English)"
# • v3.5 "ar-SA" "Arabic (العربية)"
# • v3.5 "bg-BG" "Bulgarian (Български)"
# • v3.14 "zh-CN" "Chinese Simplified (简体中文)"
@ -13,7 +13,7 @@
# • v3.14 "da-DK" "Danish (Dansk)"
# • v3.14 "nl-NL" "Dutch (Nederlands)"
# • v3.14 "fi-FI" "Finnish (Suomi)"
# • v3.14 "fr-FR" "French (Français)"
# • v3.22 "fr-FR" "French (Français)"
# • v3.14 "de-DE" "German (Deutsch)"
# • v3.5 "el-GR" "Greek (Ελληνικά)"
# • v3.14 "he-IL" "Hebrew (עברית)"
@ -44,7 +44,7 @@
#########################################################################
l "en-US" "English (English)" 0x0409, 0x0809, 0x0c09, 0x1009, 0x1409, 0x1809, 0x1c09, 0x2009, 0x2409, 0x2809, 0x2c09, 0x3009, 0x3409, 0x3809, 0x3c09, 0x4009, 0x4409, 0x4809
v 3.14
v 3.22
g IDD_DIALOG
t IDS_DRIVE_PROPERTIES_TXT "Drive Properties"
@ -415,7 +415,7 @@ t MSG_196 "IMPORTANT: THIS DRIVE USES A NONSTANDARD SECTOR SIZE!\n\n"
"Rufus can try to create a bootable drive, but there is NO WARRANTY that it will work."
t MSG_197 "Nonstandard sector size detected"
t MSG_198 "'Windows To Go' can only be installed on a GPT partitioned drive if it has the FIXED attribute set. The current drive was not detected as FIXED."
t MSG_199 "This feature is not available for this version of Windows."
t MSG_199 "This feature is not available on this platform."
t MSG_201 "Cancelling - Please wait..."
t MSG_202 "Scanning image..."
t MSG_203 "Failed to scan image"
@ -594,13 +594,15 @@ t MSG_334 "Set regional options to the same values as this user's"
t MSG_335 "Disable BitLocker automatic device encryption"
t MSG_336 "Persistent log"
# The following messages are for the Windows Store listing only and are not used by the application
t MSG_900 "Rufus is a utility that helps format and create bootable USB flash drives, such as USB keys/pendrives, memory sticks, etc."
t MSG_900 "Rufus is a utility that helps format and create bootable USB flash drives, such as USB keys/pendrives, memory sticks, etc."
t MSG_901 "Official site: %s"
t MSG_902 "Source Code: %s"
t MSG_903 "ChangeLog: %s"
# The gnu.org website has many translations of the GPL (such as https://www.gnu.org/licenses/gpl-3.0.zh-cn.html, https://www.gnu.org/licenses/gpl-3.0.fr.html)
# Please make sure you try to locate the relevant https://www.gnu.org/licenses/gpl-3.0.<LANG-ID>.html for your language and use it here.
t MSG_904 "This application is licensed under the terms of the GNU Public License (GPL) version 3.\nSee https://www.gnu.org/licenses/gpl-3.0.en.html for details"
t MSG_904 "This application is licensed under the terms of the GNU Public License (GPL) version 3.\nSee https://www.gnu.org/licenses/gpl-3.0.en.html for details."
# Keyword for "boot" will be used for search in the Windows Store
t MSG_905 "Boot"
# This and subsequent messages will be listed in the 'Features' section of the Windows Store page
t MSG_910 "Format USB, flash card and virtual drives to FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3"
t MSG_911 "Create FreeDOS bootable USB drives"
@ -610,7 +612,7 @@ t MSG_914 "Create BIOS or UEFI bootable drives, including UEFI bootable NTFS"
t MSG_915 "Create 'Windows To Go' drives"
t MSG_916 "Create Windows 11 installation drives for PCs that don't have TPM or Secure Boot"
t MSG_917 "Create persistent Linux partitions"
t MSG_918 "Create a VHD/DD image of a drive"
t MSG_918 "Create VHD/DD images of the selected drive"
t MSG_919 "Compute MD5, SHA-1, SHA-256 and SHA-512 checksums of the selected image"
t MSG_920 "Perform bad blocks checks, including detection of \"fake\" flash drives"
t MSG_921 "Download official Microsoft Windows retail ISOs"
@ -3967,7 +3969,7 @@ t MSG_900 "Rufus on ohjelma, joka auttaa alustamaan ja luomaan boottaavia USB-la
#########################################################################
l "fr-FR" "French (Français)" 0x040c, 0x080c, 0x0c0c, 0x100c, 0x140c, 0x180c, 0x1c0c, 0x200c, 0x240c, 0x280c, 0x2c0c, 0x300c, 0x340c, 0x380c, 0xe40c
v 3.14
v 3.22
b "en-US"
g IDD_ABOUTBOX
@ -4216,7 +4218,7 @@ t MSG_195 "La version par défaut du fichier %s sera utilisée"
t MSG_196 "IMPORTANT : CE PÉRIPHÉRIQUE UTILISE UNE TAILLE DE SECTEUR NON STANDARD !\n\nLa majorité des disques utilisent une taille de secteur de 512 octets, mais celui ci utilise une taille de %d octets. Dans la majorité des cas, cela veut dire que vous ne POUVEZ PAS démarrer un oridinateur depusi ce disque.\nRufus peut toujours essayer de créer un disque démarrable, mais il n'y a AUCUNE guarantie que cela marchera."
t MSG_197 "Taille de secteur non standard détectée"
t MSG_198 "'Windows To Go' peut seulement être installé sur un disque partitionné au format GPT si il a l'attribut FIXE.Le disque sélectionné na pas été détecté comme FIXE."
t MSG_199 "Cette fonctionalité n'est pas disponible avec cette version de Windows."
t MSG_199 "Cette fonctionalité n'est pas disponible pour cette plateforme."
t MSG_201 "Annulation - Veuillez patienter..."
t MSG_202 "Analyse de l'image..."
t MSG_203 "Echec d'analyse de l'image"
@ -4347,11 +4349,28 @@ t MSG_329 "Supprimer la nécessité d'avoir 4Go+ de RAM, Secure Boot et TPM 2.0"
t MSG_330 "Supprimer la nécessité d'utiliser un compte Microsoft en ligne"
t MSG_331 "Désactiver la collecte de données (Supprime les questions de confidentialité)"
t MSG_332 "Empêcher Windows To Go d'accéder aux disques internes"
t MSG_333 "Créer un compte local avec le nom :"
t MSG_333 "Créer un compte local sous le nom de :"
t MSG_334 "Définir les options régionales avec les mêmes valeurs que celles de cet utilisateur"
t MSG_335 "Désactiver l'encryption automatique BitLocker"
t MSG_336 "Log persistent"
t MSG_900 "Rufus est un utilitaire permettant de formater et de créer des média USB amorçables, tels que clés USB, mémoire flash, etc."
t MSG_901 "Site official : %s"
t MSG_902 "Code source: %s"
t MSG_904 "Cette application est fournie sous les termes de la Licence publique générale GNU (GPL) version 3.\nVeuillez consulter https://www.gnu.org/licenses/gpl-3.0.fr.html pour plus de details."
t MSG_905 "Amorçable"
t MSG_910 "Formatez des périphériques USB, des cartes flash et des disques virtuels en FAT/FAT32/NTFS/UDF/exFAT/ReFS/ext2/ext3"
t MSG_911 "Créez des disques amorçable FreeDOS"
t MSG_912 "Créez des disques amorçables à partir d'images ISOs (Windows, Linux, etc.)"
t MSG_913 "Créez des disques amorçables à partir d'images disque, y compris à partir d'images compressées"
t MSG_914 "Créez des disques amorçables BIOS ou UEFI, y compris des disques UEFI amorçables utilisant NTFS"
t MSG_915 "Créez des disques 'Windows To Go'"
t MSG_916 "Créez des disques d'installation Windows 11 pour des PCs qui ne disposent pas de TPM ou Secure Boot"
t MSG_917 "Créez des partitions persistentes pour Linux"
t MSG_918 "Créez des images VHD/DD du périphérique sélectionné"
t MSG_919 "Calculez les sommes de contrôle MD5, SHA-1, SHA-256 et SHA-512 de l'image sélectionnée"
t MSG_920 "Executez un test de mauvais secteurs avec detection des \"fake drives\""
t MSG_921 "Téléchargez des images ISOs commerciales officielles de Microsoft Windows"
t MSG_922 "Téléchargez des images ISOs du Shell UEFI"
#########################################################################
l "de-DE" "German (Deutsch)" 0x0407, 0x0807, 0x0c07, 0x1007, 0x1407

View file

@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_DIALOG DIALOGEX 12, 12, 232, 326
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_ACCEPTFILES
CAPTION "Rufus 3.22.1961"
CAPTION "Rufus 3.22.1962"
FONT 9, "Segoe UI Symbol", 400, 0, 0x0
BEGIN
LTEXT "Drive Properties",IDS_DRIVE_PROPERTIES_TXT,8,6,53,12,NOT WS_GROUP
@ -392,8 +392,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 3,22,1961,0
PRODUCTVERSION 3,22,1961,0
FILEVERSION 3,22,1962,0
PRODUCTVERSION 3,22,1962,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -411,13 +411,13 @@ BEGIN
VALUE "Comments", "https://rufus.ie"
VALUE "CompanyName", "Akeo Consulting"
VALUE "FileDescription", "Rufus"
VALUE "FileVersion", "3.22.1961"
VALUE "FileVersion", "3.22.1962"
VALUE "InternalName", "Rufus"
VALUE "LegalCopyright", "© 2011-2023 Pete Batard (GPL v3)"
VALUE "LegalTrademarks", "https://www.gnu.org/licenses/gpl-3.0.html"
VALUE "OriginalFilename", "rufus-3.22.exe"
VALUE "ProductName", "Rufus"
VALUE "ProductVersion", "3.22.1961"
VALUE "ProductVersion", "3.22.1962"
END
END
BLOCK "VarFileInfo"