|
@@ -61,6 +61,7 @@ function checkLan() {
|
|
|
if(lan == 'en') {
|
|
|
$('.btn-makev').css('display', 'none');
|
|
|
$('.btn-makelong').css('display', 'none');
|
|
|
+ $('.title_new').attr('placeholder', 'Title')
|
|
|
} else {
|
|
|
$('.btn-makev').css('display', 'block');
|
|
|
$('.btn-makelong').css('display', 'block');
|
|
@@ -437,7 +438,10 @@ function load_data(tid, loaded_data, draft = false) {
|
|
|
if(!historyItem.image_urls[i]) {
|
|
|
imginput.value = "";
|
|
|
}
|
|
|
- imginput.setAttribute('placeholder', 'https://example.com/4VKBo9w.png');
|
|
|
+ imginput.setAttribute('placeholder', '輸入圖片網址或上傳圖片');
|
|
|
+ if(lan == 'en') {
|
|
|
+ imginput.setAttribute('placeholder', 'Type in image link or upload image');
|
|
|
+ }
|
|
|
img_box.appendChild(imginput);
|
|
|
|
|
|
// img upload input
|
|
@@ -624,6 +628,9 @@ function renderInputSec(i) {
|
|
|
txtinput.classList.add('txtsrc', `txtsrc${i}`);
|
|
|
txtinput.value = "";
|
|
|
txtinput.setAttribute('placeholder', `台詞`);
|
|
|
+ if(lan == 'en') {
|
|
|
+ txtinput.setAttribute('placeholder', `Line`);
|
|
|
+ }
|
|
|
input_sec.appendChild(txtinput);
|
|
|
|
|
|
// img url input
|
|
@@ -632,7 +639,10 @@ function renderInputSec(i) {
|
|
|
imginput.setAttribute('name', `m${i}`);
|
|
|
imginput.classList.add('imgsrc', `imgsrc${i}`);
|
|
|
imginput.value = "";
|
|
|
- imginput.setAttribute('placeholder', 'https://example.com/4VKBo9w.png');
|
|
|
+ imginput.setAttribute('placeholder', '輸入圖片網址或上傳圖片');
|
|
|
+ if(lan == 'en') {
|
|
|
+ imginput.setAttribute('placeholder', 'Type in image link or upload image');
|
|
|
+ }
|
|
|
img_box.appendChild(imginput);
|
|
|
|
|
|
// img upload input
|