Localize "only one file attached" popup
This commit is contained in:
		
							parent
							
								
									24de518922
								
							
						
					
					
						commit
						a98392ff27
					
				
					 2 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
					@ -261,6 +261,7 @@ common/views/components/messaging-room.form.vue:
 | 
				
			||||||
  send: "送信"
 | 
					  send: "送信"
 | 
				
			||||||
  attach-from-local: "PCからファイルを添付する"
 | 
					  attach-from-local: "PCからファイルを添付する"
 | 
				
			||||||
  attach-from-drive: "ドライブからファイルを添付する"
 | 
					  attach-from-drive: "ドライブからファイルを添付する"
 | 
				
			||||||
 | 
					  only-one-file-attached: "メッセージに添付できるのはひとつのファイルのみです"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
common/views/components/messaging-room.message.vue:
 | 
					common/views/components/messaging-room.message.vue:
 | 
				
			||||||
  is-read: "既読"
 | 
					  is-read: "既読"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -83,7 +83,7 @@ export default Vue.extend({
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			} else {
 | 
								} else {
 | 
				
			||||||
				if (items[0].kind == 'file') {
 | 
									if (items[0].kind == 'file') {
 | 
				
			||||||
					alert('メッセージに添付できるのはひとつのファイルのみです');
 | 
										alert('%i18n:only-one-file-attached%');
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
| 
						 | 
					@ -105,7 +105,7 @@ export default Vue.extend({
 | 
				
			||||||
				return;
 | 
									return;
 | 
				
			||||||
			} else if (e.dataTransfer.files.length > 1) {
 | 
								} else if (e.dataTransfer.files.length > 1) {
 | 
				
			||||||
				e.preventDefault();
 | 
									e.preventDefault();
 | 
				
			||||||
				alert('メッセージに添付できるのはひとつのファイルのみです');
 | 
									alert('%i18n:only-one-file-attached%');
 | 
				
			||||||
				return;
 | 
									return;
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue