mirror of
				https://github.com/schmidt1024/monero-flyer.git
				synced 2025-11-04 04:01:44 +00:00 
			
		
		
		
	add spanish translation
This commit is contained in:
		@@ -1,8 +1,10 @@
 | 
			
		||||
// script.js
 | 
			
		||||
 | 
			
		||||
let languages = ["en", "de", "fr", "es"]
 | 
			
		||||
let currentLanguage = localStorage.getItem("language")
 | 
			
		||||
if (!currentLanguage) {
 | 
			
		||||
  currentLanguage = window.navigator.language.includes("de") ? "de" : "en"
 | 
			
		||||
  currentLanguage = window.navigator.language.slice(0, 2)
 | 
			
		||||
  if (!languages.includes(currentLanguage)) currentLanguage = "en"
 | 
			
		||||
  localStorage.setItem("language", currentLanguage)
 | 
			
		||||
}
 | 
			
		||||
let currentMode = localStorage.getItem("mode")
 | 
			
		||||
 
 | 
			
		||||
@@ -17,7 +17,7 @@
 | 
			
		||||
            "website": "www.usexmr.com"
 | 
			
		||||
        },
 | 
			
		||||
        "page2": {
 | 
			
		||||
            "change_fiat_title": "CAMBIA $USD POR MONERO", #You have a typo in original version (SUSD) instead of $USD
 | 
			
		||||
            "change_fiat_title": "CAMBIA $USD POR MONERO",
 | 
			
		||||
            "steps": {
 | 
			
		||||
                "step1": "PASO 1: Descarga Cake Wallet o Monero.com wallet.",
 | 
			
		||||
                "step2": "PASO 2: Crea tu billetera y anota cuidadosamente la frase semilla proporcionada. ¡Guárdala de forma segura!",
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								i18n/es/flyer-dark-es.pdf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								i18n/es/flyer-dark-es.pdf
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								i18n/es/flyer-light-es.pdf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								i18n/es/flyer-light-es.pdf
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								i18n/es/preview-flyer-dark.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								i18n/es/preview-flyer-dark.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 2.4 MiB  | 
							
								
								
									
										
											BIN
										
									
								
								i18n/es/preview-flyer-dark.webp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								i18n/es/preview-flyer-dark.webp
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 40 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								i18n/es/preview-flyer-light.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								i18n/es/preview-flyer-light.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 2.5 MiB  | 
							
								
								
									
										
											BIN
										
									
								
								i18n/es/preview-flyer-light.webp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								i18n/es/preview-flyer-light.webp
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 40 KiB  | 
@@ -25,6 +25,7 @@
 | 
			
		||||
                <option value="en">English</option>
 | 
			
		||||
                <option value="de">Deutsch</option>
 | 
			
		||||
                <option value="fr">Français</option>
 | 
			
		||||
                <option value="es">Español</option>
 | 
			
		||||
            </select>
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user