localization of the hardcoded "click to drag" string in jWindowCrop

This commit is contained in:
Hannes Mannerheim 2015-06-18 14:57:23 +02:00
parent ddf7347f5d
commit 1e00226c7b
23 changed files with 76 additions and 40 deletions

View File

@ -4323,18 +4323,30 @@ position:absolute; z-index:100; bottom:0px; left:0px;
display:block; float:left;
color:#FFF; font-size:11px;
margin:7px 0px 0px 5px;
text-shadow: none;
} .jwc_zoom_in, .jwc_zoom_out {
position:relative;
font-family:"FontAwesome";
display:block; background-color:#FFF;
cursor:pointer;
border-radius:100px;
width:18px; height:18px;
float:right; margin:4px 4px 0px 0px;
text-decoration:none; text-align:center;
font-size:16px; font-weight:bold; color:#000;
font-size:11px; font-weight:bold; color:#000;
} .jwc_zoom_in::after,.jwc_zoom_out::after {
display: block;
height: 18px;
left: 0;
line-height: 20px;
position: absolute;
text-align: center;
top: 0;
width: 18px;
} .jwc_zoom_in::after {
content:"+";
content:"\f067";
} .jwc_zoom_out::after {
content:"-";
content:"\f068";
}
/* end jWindowCrop defaults */

View File

@ -2902,6 +2902,9 @@ function coverPhotoAndAvatarSelectAndCrop(e, coverOrAvatar) {
$('#' + cropId).parent().css('margin-left','-' + (targetWidth/2) + 'px')
$('#' + cropId).parent().siblings('.profile-header-inner').children('div,input,a').css('display','none');
// replace the hardcoded "click to drag" string
$('#' + cropId).siblings('.jwc_controls').children('span').html(window.sL.clickToDrag);
window.jwc = $('#' + cropId).getjWindowCrop();
$('.save-profile-button').hide();

View File

@ -119,5 +119,6 @@
"showTerms": "Read our Terms of Use",
"ellipsisMore": "More",
"blockUser": "Block {username}",
"goToOriginalNotice": "Go to original notice"
"goToOriginalNotice": "Go to original notice",
"clickToDrag":"Click to drag"
}

View File

@ -119,5 +119,6 @@
"showTerms": "Read our Terms of Use",
"ellipsisMore": "More",
"blockUser": "Block {username}",
"goToOriginalNotice": "Go to original notice"
}
"goToOriginalNotice": "Go to original notice",
"clickToDrag":"Click to drag"
}

View File

@ -119,5 +119,6 @@
"showTerms": "Llegeix les Condicions d'Ús",
"ellipsisMore": "Més",
"blockUser": "Bloca {username}",
"goToOriginalNotice": "Go to original notice"
}
"goToOriginalNotice": "Go to original notice",
"clickToDrag":"Click to drag"
}

View File

@ -119,5 +119,6 @@
"showTerms": "{site-title} Nutzungsbedingungen",
"ellipsisMore": "More",
"blockUser": "Block {username}",
"goToOriginalNotice": "Go to original notice"
}
"goToOriginalNotice": "Go to original notice",
"clickToDrag":"Click to drag"
}

View File

@ -119,5 +119,6 @@
"showTerms": "Read our Terms of Use",
"ellipsisMore": "More",
"blockUser": "Block {username}",
"goToOriginalNotice": "Go to original notice"
}
"goToOriginalNotice": "Go to original notice",
"clickToDrag":"Click to drag"
}

View File

@ -119,5 +119,6 @@
"showTerms": "Legu la uzkondiĉojn",
"ellipsisMore": "Pli",
"blockUser": "Bloki {username}",
"goToOriginalNotice": "Iri al origina pepo"
}
"goToOriginalNotice": "Iri al origina pepo",
"clickToDrag":"Click to drag"
}

View File

@ -119,5 +119,6 @@
"showTerms": "Leer los términos de uso",
"ellipsisMore": "Más",
"blockUser": "Bloquear {username}",
"goToOriginalNotice": "Ir al queet original"
}
"goToOriginalNotice": "Ir al queet original",
"clickToDrag":"Click to drag"
}

View File

@ -119,5 +119,6 @@
"showTerms": "Leer los términos de uso",
"ellipsisMore": "Más",
"blockUser": "Bloquear {username}",
"goToOriginalNotice": "Go to original notice"
}
"goToOriginalNotice": "Go to original notice",
"clickToDrag":"Click to drag"
}

View File

@ -119,5 +119,6 @@
"showTerms": "Read our Terms of Use",
"ellipsisMore": "More",
"blockUser": "Block {username}",
"goToOriginalNotice": "Go to original notice"
}
"goToOriginalNotice": "Go to original notice",
"clickToDrag":"Click to drag"
}

View File

@ -119,5 +119,6 @@
"showTerms": "Read our Terms of Use",
"ellipsisMore": "More",
"blockUser": "Block {username}",
"goToOriginalNotice": "Go to original notice"
"goToOriginalNotice": "Go to original notice",
"clickToDrag":"Click to drag"
}

View File

@ -119,5 +119,6 @@
"showTerms": "Read our Terms of Use",
"ellipsisMore": "More",
"blockUser": "Block {username}",
"goToOriginalNotice": "Go to original notice"
"goToOriginalNotice": "Go to original notice",
"clickToDrag":"Click to drag"
}

View File

@ -119,5 +119,6 @@
"showTerms": "Consulter les conditions d'utilisation",
"ellipsisMore": "Plus",
"blockUser": "Bloquer {username}",
"goToOriginalNotice": "Aller vers l'avis d'origine"
}
"goToOriginalNotice": "Aller vers l'avis d'origine",
"clickToDrag":"Click to drag"
}

View File

@ -119,5 +119,6 @@
"showTerms": "Ler os nosos términos de uso",
"ellipsisMore": "Máis",
"blockUser": "Bloquear a {username}",
"goToOriginalNotice": "Go to original notice"
}
"goToOriginalNotice": "Go to original notice",
"clickToDrag":"Click to drag"
}

View File

@ -119,5 +119,6 @@
"showTerms": "קרא את התנאים שלנו",
"ellipsisMore": "עוד",
"blockUser": "חסום את {username}",
"goToOriginalNotice": "עבור להודעה מקורית"
}
"goToOriginalNotice": "עבור להודעה מקורית",
"clickToDrag":"Click to drag"
}

View File

@ -119,5 +119,6 @@
"showTerms": "Lektez nia uzo-kondicioni",
"ellipsisMore": "Plu multo",
"blockUser": "Blokusar {username}",
"goToOriginalNotice": "Irar al originala mesajo"
}
"goToOriginalNotice": "Irar al originala mesajo",
"clickToDrag":"Click to drag"
}

View File

@ -119,5 +119,6 @@
"showTerms": "Read our Terms of Use",
"ellipsisMore": "More",
"blockUser": "Block {username}",
"goToOriginalNotice": "Go to original notice"
}
"goToOriginalNotice": "Go to original notice",
"clickToDrag":"Click to drag"
}

View File

@ -119,5 +119,6 @@
"showTerms": "Vilkår for bruk",
"ellipsisMore": "Mer",
"blockUser": "Blokker {username}",
"goToOriginalNotice": "Gå til den opprinnelige queeten"
}
"goToOriginalNotice": "Gå til den opprinnelige queeten",
"clickToDrag":"Click to drag"
}

View File

@ -119,5 +119,6 @@
"showTerms": "Read our Terms of Use",
"ellipsisMore": "More",
"blockUser": "Block {username}",
"goToOriginalNotice": "Go to original notice"
}
"goToOriginalNotice": "Go to original notice",
"clickToDrag":"Click to drag"
}

View File

@ -119,5 +119,6 @@
"showTerms": "Läs våra användarvillkor",
"ellipsisMore": "Mer",
"blockUser": "Blockera {username}",
"goToOriginalNotice": "Gå till den ursprungliga queeten"
}
"goToOriginalNotice": "Gå till den ursprungliga queeten",
"clickToDrag":"Klicka för att dra"
}

View File

@ -119,5 +119,6 @@
"showTerms": "Read our Terms of Use",
"ellipsisMore": "More",
"blockUser": "Block {username}",
"goToOriginalNotice": "Go to original notice"
"goToOriginalNotice": "Go to original notice",
"clickToDrag":"Click to drag"
}

View File

@ -119,5 +119,6 @@
"showTerms": "Read our Terms of Use",
"ellipsisMore": "More",
"blockUser": "Block {username}",
"goToOriginalNotice": "Go to original notice"
"goToOriginalNotice": "Go to original notice",
"clickToDrag":"Click to drag"
}