✌️
This commit is contained in:
		
							parent
							
								
									ce471edf2d
								
							
						
					
					
						commit
						27f98578c5
					
				
					 3 changed files with 13 additions and 3 deletions
				
			
		|  | @ -64,7 +64,7 @@ common: | ||||||
| 
 | 
 | ||||||
|     mk-error: |     mk-error: | ||||||
|       title: "Unable to connect to the server" |       title: "Unable to connect to the server" | ||||||
|       description: "インターネット回線に問題があるか、サーバーがダウンまたはメンテナンスしている可能性があります。しばらくしてから再度お試しください。" |       description: "There is a problem with Internet connection, or the server may be down or maintaining. Please {try again} later." | ||||||
|       thanks: "Thank you for using Misskey." |       thanks: "Thank you for using Misskey." | ||||||
| 
 | 
 | ||||||
|     mk-forkit: |     mk-forkit: | ||||||
|  |  | ||||||
|  | @ -64,7 +64,7 @@ common: | ||||||
| 
 | 
 | ||||||
|     mk-error: |     mk-error: | ||||||
|       title: "サーバーに接続できません" |       title: "サーバーに接続できません" | ||||||
|       description: "インターネット回線に問題があるか、サーバーがダウンまたはメンテナンスしている可能性があります。しばらくしてから再度お試しください。" |       description: "インターネット回線に問題があるか、サーバーがダウンまたはメンテナンスしている可能性があります。しばらくしてから{再度お試し}ください。" | ||||||
|       thanks: "いつもMisskeyをご利用いただきありがとうございます。" |       thanks: "いつもMisskeyをご利用いただきありがとうございます。" | ||||||
| 
 | 
 | ||||||
|     mk-forkit: |     mk-forkit: | ||||||
|  |  | ||||||
|  | @ -1,7 +1,13 @@ | ||||||
| <mk-error> | <mk-error> | ||||||
| 	<img src="data:image/jpeg;base64,%base64:/assets/error.jpg%" alt=""/> | 	<img src="data:image/jpeg;base64,%base64:/assets/error.jpg%" alt=""/> | ||||||
| 	<h1>%i18n:common.tags.mk-error.title%</h1> | 	<h1>%i18n:common.tags.mk-error.title%</h1> | ||||||
| 	<p class="text">%i18n:common.tags.mk-error.description%</p> | 	<p class="text">{ | ||||||
|  | 		'%i18n:common.tags.mk-error.description%'.substr(0, '%i18n:common.tags.mk-error.description%'.indexOf('{')) | ||||||
|  | 	}<a onclick={ reload }>{ | ||||||
|  | 		'%i18n:common.tags.mk-error.description%'.match(/\{(.+?)\}/)[1] | ||||||
|  | 	}</a>{ | ||||||
|  | 		'%i18n:common.tags.mk-error.description%'.substr('%i18n:common.tags.mk-error.description%'.indexOf('}') + 1) | ||||||
|  | 	}</p> | ||||||
| 	<p class="thanks">%i18n:common.tags.mk-error.thanks%</p> | 	<p class="thanks">%i18n:common.tags.mk-error.thanks%</p> | ||||||
| 	<style> | 	<style> | ||||||
| 		:scope | 		:scope | ||||||
|  | @ -53,5 +59,9 @@ | ||||||
| 			document.title = 'Oops!'; | 			document.title = 'Oops!'; | ||||||
| 			document.documentElement.style.background = '#f8f8f8'; | 			document.documentElement.style.background = '#f8f8f8'; | ||||||
| 		}); | 		}); | ||||||
|  | 
 | ||||||
|  | 		this.reload = () => { | ||||||
|  | 			location.reload(); | ||||||
|  | 		}; | ||||||
| 	</script> | 	</script> | ||||||
| </mk-error> | </mk-error> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue