[loc] set up Windows Store listing translations (part 1)
* MSG_900+ will be used for Windows Store translation, so add them and makes sure these get filtered out from embedded.loc. * Also make sure we don't get a "Translated by:" in the English version when compiled with VS2022. * Also add Store screenshots and update listing.csv so that we can autogenerate and upload a complete translation update to the store.
							
								
								
									
										8
									
								
								res/appstore/listing/.editorconfig
									
										
									
									
									
										Normal file
									
								
							
							
						
						|  | @ -0,0 +1,8 @@ | |||
| # indicate this is the root of the project | ||||
| root = true | ||||
| 
 | ||||
| [*] | ||||
| charset = utf-8-bom | ||||
| insert_final_newline = true | ||||
| indent_style = space | ||||
| trim_trailing_whitespace = true | ||||
| Before Width: | Height: | Size: 30 KiB | 
| Before Width: | Height: | Size: 48 KiB | 
| Before Width: | Height: | Size: 51 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/ar-sa/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 36 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/bg-bg/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 40 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/cs-cz/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 38 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/da-dk/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 36 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/de-de/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 39 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/el-gr/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 44 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/en-us/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 39 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/en-us/Screenshot2.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 77 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/en-us/Screenshot3.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 59 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/en-us/Screenshot4.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 51 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/es-es/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 40 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/fa-ir/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 38 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/fi-fi/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 36 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/fr-fr/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 39 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/he-il/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 33 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/hr-hr/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 39 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/hu-hu/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 40 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/id-id/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 35 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/it-it/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 38 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/ja-jp/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 32 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/ko-kr/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 34 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/lt-lt/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 39 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/lv-lv/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 38 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/ms-my/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 35 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/nb-no/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 35 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/nl-nl/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 40 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/pl-pl/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 40 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/pt-br/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 40 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/pt-pt/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 40 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/ro-ro/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 38 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/ru-ru/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 39 KiB | 
							
								
								
									
										31
									
								
								res/appstore/listing/runme.ps1
									
										
									
									
									
										Normal file
									
								
							
							
						
						|  | @ -0,0 +1,31 @@ | |||
| # PowerShell script to parse listing.csv and retrieve our screenshots | ||||
| try { | ||||
|   [Console]::OutputEncoding = [System.Text.Encoding]::UTF8 | ||||
| } catch {} | ||||
| 
 | ||||
| # NB: All languages IDs from the .csv are lowercase version of the one | ||||
| # from rufus.loc, except for 'sr-RS' that becomes 'sr-latn-rs'.  | ||||
| 
 | ||||
| function GetCellByName([object]$csv, [string]$row_name, [string]$column_name) | ||||
| { | ||||
|   foreach ($row in $csv | Where-Object {$_.Field -eq $row_name}) { | ||||
|     foreach ($column in $row.PSObject.properties) { | ||||
|       if ($column.name -eq $column_name) { | ||||
|         return $column.value | ||||
|       } | ||||
|     } | ||||
|   } | ||||
|   return [string]::Empty | ||||
| }  | ||||
| 
 | ||||
| $csv = Import-Csv -Path .\listing.csv | ||||
| $langs = $csv | Select-Object -First 1 | Select * -ExcludeProperty 'Field','ID','Type (Type)','default' | ForEach-Object { $_.PSObject.Properties } | Select-Object -ExpandProperty Name | ||||
| 
 | ||||
| foreach ($lang in $langs) { | ||||
|   $null = New-Item $lang -ItemType Directory -Force | ||||
|   $url = GetCellByName $csv 'DesktopScreenshot1' $lang | ||||
|   # Annoying but heck if I'm gonna bother with Microsoft's Auth in PowerShell... | ||||
|   Start-Process -NoNewWindow -FilePath "C:\Program Files\Mozilla Firefox\firefox.exe" -ArgumentList "-new-tab $url" | ||||
|   Write-Host $lang; | ||||
|   $null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown'); | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/sk-sk/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 41 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/sl-si/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 39 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/sr-latn-rs/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 40 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/sv-se/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 38 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/th-th/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 42 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/tr-tr/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 38 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/uk-ua/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 41 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/vi-vn/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 39 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/zh-cn/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 38 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/appstore/listing/zh-tw/Screenshot1.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 32 KiB |