mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-13 16:37:52 +00:00
fix misspelling of 'shorten' verb
This commit is contained in:
parent
aad737f10d
commit
2cfaae8568
@ -806,14 +806,14 @@ function openRequestShortURIForm() {
|
||||
if (!defaultScreenName) {
|
||||
alertPopup({
|
||||
//txtTitle: polyglot.t(''), add some title (not 'error', please) or just KISS
|
||||
txtMessage: 'You can\'t short links because you are not logged in.'
|
||||
txtMessage: 'You can\'t shorten links because you are not logged in.'
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (parseInt(twisterVersion) < 93500) {
|
||||
alertPopup({
|
||||
//txtTitle: polyglot.t(''), add some title (not 'error', please) or just KISS
|
||||
txtMessage: 'You can\'t short links because twister daemon is obsolete!\n'
|
||||
txtMessage: 'You can\'t shorten links because twister daemon is obsolete!\n'
|
||||
+ 'Version 0.9.35 or higher is required. Please keep your twister up to date.'
|
||||
});
|
||||
return;
|
||||
|
@ -325,7 +325,7 @@ function newRtMsg(postData, msg) {
|
||||
function newShortURI(uri, cbFunc, cbReq) {
|
||||
if (!uri || !defaultScreenName) return;
|
||||
if (parseInt(twisterVersion) < 93500) {
|
||||
console.warn('can\'t short URI "' + uri + '": daemon is obsolete, version 0.9.35 or higher is required');
|
||||
console.warn('can\'t shorten URI "' + uri + '": daemon is obsolete, version 0.9.35 or higher is required');
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user