Localize "only one file attached" popup
This commit is contained in:
		
							parent
							
								
									24de518922
								
							
						
					
					
						commit
						a98392ff27
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -83,7 +83,7 @@ export default Vue.extend({
 | 
			
		|||
				}
 | 
			
		||||
			} else {
 | 
			
		||||
				if (items[0].kind == 'file') {
 | 
			
		||||
					alert('メッセージに添付できるのはひとつのファイルのみです');
 | 
			
		||||
					alert('%i18n:only-one-file-attached%');
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		},
 | 
			
		||||
| 
						 | 
				
			
			@ -105,7 +105,7 @@ export default Vue.extend({
 | 
			
		|||
				return;
 | 
			
		||||
			} else if (e.dataTransfer.files.length > 1) {
 | 
			
		||||
				e.preventDefault();
 | 
			
		||||
				alert('メッセージに添付できるのはひとつのファイルのみです');
 | 
			
		||||
				alert('%i18n:only-one-file-attached%');
 | 
			
		||||
				return;
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue