opt: better short alias for the identical tip
This commit is contained in:
parent
7a05910807
commit
8044b0926b
@ -179,7 +179,7 @@ class FileModel {
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
const SizedBox(height: 12),
|
||||
Text(translate("This file is identical with the peer's one"),
|
||||
Text(translate("identical_file_tip"),
|
||||
style: const TextStyle(fontWeight: FontWeight.w500))
|
||||
],
|
||||
),
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "此文件与对方的一致")
|
||||
("identical_file_tip", "此文件与对方的一致")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", "Tom brugernavn"),
|
||||
("Empty Password", "Tom adgangskode"),
|
||||
("Me", "Mig"),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", "Leerer Benutzername"),
|
||||
("Empty Password", "Leeres Passwort"),
|
||||
("Me", "Ich"),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", "Κενό όνομα χρήστη"),
|
||||
("Empty Password", "Κενός κωδικός πρόσβασης"),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -52,5 +52,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("empty_favorite_tip", "No favorite peers yet?\nLet's find someone to connect with and add it to your favorites!"),
|
||||
("empty_lan_tip", "Oh no, it looks like we haven't discovered any peers yet."),
|
||||
("empty_address_book_tip", "Oh dear, it appears that there are currently no peers listed in your address book."),
|
||||
("identical_file_tip", "This file is identical with the peer's one.")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", "Nombre de usuario vacío"),
|
||||
("Empty Password", "Contraseña vacía"),
|
||||
("Me", "Yo"),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", "Nome Utente Vuoto"),
|
||||
("Empty Password", "Password Vuota"),
|
||||
("Me", "Io"),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", "Gebruikersnaam Leeg"),
|
||||
("Empty Password", "Wachtwoord Leeg"),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -477,6 +477,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("Empty Username", ""),
|
||||
("Empty Password", ""),
|
||||
("Me", ""),
|
||||
("This file is identical with the peer's one", "")
|
||||
("identical_file_tip", "")
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
|
@ -780,7 +780,7 @@ handler.confirmDeleteFiles = function(id, i, name) {
|
||||
|
||||
handler.overrideFileConfirm = function(id, file_num, to, is_upload, is_identical) {
|
||||
var jt = file_transfer.job_table;
|
||||
var identical_msg = is_identical ? translate("This file is identical with the peer's one"): "";
|
||||
var identical_msg = is_identical ? translate("identical_file_tip"): "";
|
||||
msgbox("custom-skip", "Confirm Write Strategy", "<div .form> \
|
||||
<div>" + translate('Overwrite') + " " + translate('files') + ".</div> \
|
||||
<div>" + translate('This file exists, skip or overwrite this file?') + "</div> \
|
||||
|
Loading…
x
Reference in New Issue
Block a user