wip #332
This commit is contained in:
		
							parent
							
								
									f8505562ac
								
							
						
					
					
						commit
						49296aac38
					
				
					 3 changed files with 5 additions and 1 deletions
				
			
		|  | @ -19,6 +19,8 @@ common: | ||||||
|     surprise: "Wow" |     surprise: "Wow" | ||||||
|     congrats: "Congrats!" |     congrats: "Congrats!" | ||||||
| 
 | 
 | ||||||
|  |   update-available: "Misskeyの新しいバージョンがあります({newer}。現在{current}を利用中)。\nページを再度読み込みすると更新が適用されます。" | ||||||
|  | 
 | ||||||
|   tags: |   tags: | ||||||
|     mk-messaging-form: |     mk-messaging-form: | ||||||
|       placeholder: "Enter message here" |       placeholder: "Enter message here" | ||||||
|  |  | ||||||
|  | @ -19,6 +19,8 @@ common: | ||||||
|     surprise: "わお" |     surprise: "わお" | ||||||
|     congrats: "おめでとう" |     congrats: "おめでとう" | ||||||
| 
 | 
 | ||||||
|  |   update-available: "Misskeyの新しいバージョンがあります({newer}。現在{current}を利用中)。\nページを再度読み込みすると更新が適用されます。" | ||||||
|  | 
 | ||||||
|   tags: |   tags: | ||||||
|     mk-messaging-form: |     mk-messaging-form: | ||||||
|       placeholder: "ここにメッセージを入力" |       placeholder: "ここにメッセージを入力" | ||||||
|  |  | ||||||
|  | @ -7,7 +7,7 @@ export default function() { | ||||||
| 		res.json().then(meta => { | 		res.json().then(meta => { | ||||||
| 			if (meta.version != VERSION) { | 			if (meta.version != VERSION) { | ||||||
| 				localStorage.setItem('should-refresh', 'true'); | 				localStorage.setItem('should-refresh', 'true'); | ||||||
| 				alert(`Misskeyの新しいバージョンがあります(${meta.version}。現在${VERSION}を利用中)。\nページを再度読み込みすると更新が適用されます。`); | 				alert('%i18n:common:update-available%'.replace('{newer}', meta.version).replace('{current}', VERSION)); | ||||||
| 			} | 			} | ||||||
| 		}); | 		}); | ||||||
| 	}); | 	}); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue