merge from git.gnu.io
This commit is contained in:
commit
51740e4d49
|
@ -1996,13 +1996,13 @@ function detectRTL(s) {
|
|||
$streamItem.children('.stream-item').children('.queet').addClass('rtl');
|
||||
}
|
||||
else {
|
||||
// for ltr languages we move @, ! and # to inside
|
||||
$streamItem.find('.queet-text').find('.h-card.mention').prepend('@');
|
||||
$streamItem.find('.queet-text').find('.h-card.group').prepend('!');
|
||||
$streamItem.find('.queet-text').find('.vcard .fn.nickname:not(.group)').prepend('@'); // very old style
|
||||
$streamItem.find('.queet-text').find('.vcard .nickname.mention:not(.fn)').prepend('@'); // old style
|
||||
$streamItem.find('.queet-text').find('.vcard .nickname.group').prepend('!'); // old style
|
||||
$streamItem.find('.queet-text').find('a[rel="tag"]').prepend('#');
|
||||
// for ltr languages we move @, ! and # to inside (only because it looks better)
|
||||
prependCharIfItDoesntAlreadyExist($streamItem.find('.queet-text').find('.h-card.mention'),'@');
|
||||
prependCharIfItDoesntAlreadyExist($streamItem.find('.queet-text').find('.h-card.group'),'!');
|
||||
prependCharIfItDoesntAlreadyExist($streamItem.find('.queet-text').find('.vcard .fn.nickname:not(.group)'),'@'); // very old style
|
||||
prependCharIfItDoesntAlreadyExist($streamItem.find('.queet-text').find('.vcard .nickname.mention:not(.fn)'),'@'); // old style
|
||||
prependCharIfItDoesntAlreadyExist($streamItem.find('.queet-text').find('.vcard .nickname.group'),'!'); // old style
|
||||
prependCharIfItDoesntAlreadyExist($streamItem.find('.queet-text').find('a[rel="tag"]'),'#');
|
||||
}
|
||||
|
||||
// we remove @, ! and #, they are added as pseudo elements, or have been moved to the inside
|
||||
|
@ -2010,6 +2010,13 @@ function detectRTL(s) {
|
|||
}
|
||||
|
||||
|
||||
function prependCharIfItDoesntAlreadyExist(jQueryObject,char) {
|
||||
if(jQueryObject.text().substring(0,1) != char) {
|
||||
jQueryObject.prepend(char);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* ·
|
||||
·
|
||||
|
|
|
@ -197,5 +197,5 @@
|
|||
"mutedStreamDescription":"Këto llogari i keni fshehur prej rrjedhës suaj kohore. Do të merrni, prapëseprapë, njoftime nga këto llogari, veç në përzgjedhshi "Fshihi njoftimet prej përdorues me zë të hequr", te menuja me ikonën e ingranazhit te faqja e njoftimeve.",
|
||||
"profileAndSettings":"Profil dhe rregullime",
|
||||
"profileSettings":"Rregullime profili",
|
||||
"thisIsABookmark":"This is a bookmark created in the Classic interface"
|
||||
"thisIsABookmark":"Ky është një faqerojtës i krijuar nën ndërfaqen Klasike"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user