mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-09-03 17:52:44 +00:00
changed conversation twists expand label to 'Show conversation'
This commit is contained in:
parent
694463cbc7
commit
0e18ee0912
@ -451,7 +451,13 @@ var postExpandFunction = function( e, postLi )
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
postLi.removeClass( openClass );
|
postLi.removeClass( openClass );
|
||||||
$postInteractionText.text( polyglot.t("Expand") );
|
|
||||||
|
var postData = postLi.find('.post-data.original');
|
||||||
|
|
||||||
|
if (typeof(postData.attr('data-replied-to-id')) === 'undefined')
|
||||||
|
$postInteractionText.text( polyglot.t("Expand") );
|
||||||
|
else
|
||||||
|
$postInteractionText.text( polyglot.t("Show conversation") );
|
||||||
|
|
||||||
if( $postsRelated ) $postsRelated.slideUp( "fast" );
|
if( $postsRelated ) $postsRelated.slideUp( "fast" );
|
||||||
$postExpandedContent.slideUp( "fast", function()
|
$postExpandedContent.slideUp( "fast", function()
|
||||||
@ -1222,6 +1228,7 @@ function initInterfaceCommon() {
|
|||||||
if(!$(event.target).hasClass("cancel")) return;
|
if(!$(event.target).hasClass("cancel")) return;
|
||||||
if($(".modal-content").attr("style") != undefined){$(".modal-content").removeAttr("style")};
|
if($(".modal-content").attr("style") != undefined){$(".modal-content").removeAttr("style")};
|
||||||
$('.modal-back').css('display', 'none');
|
$('.modal-back').css('display', 'none');
|
||||||
|
$('.mark-all-as-read').css('display', 'none');
|
||||||
});
|
});
|
||||||
$('.modal-back').on('click', function(){
|
$('.modal-back').on('click', function(){
|
||||||
if($('.modal-content .direct-messages-list')[0]) return;
|
if($('.modal-content .direct-messages-list')[0]) return;
|
||||||
|
@ -224,7 +224,9 @@ if(preferredLanguage == "en"){
|
|||||||
"Show with every user name": "Show with every user name",
|
"Show with every user name": "Show with every user name",
|
||||||
"Show at profile modal only": "Show at profile modal only",
|
"Show at profile modal only": "Show at profile modal only",
|
||||||
"Show if a user follows me": "Show if a user follows me",
|
"Show if a user follows me": "Show if a user follows me",
|
||||||
"follows you": "follows you"
|
"follows you": "follows you",
|
||||||
|
"Show conversation": "Show conversation",
|
||||||
|
"Mark all as read": "Mark all as read"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
if(preferredLanguage == "es"){
|
if(preferredLanguage == "es"){
|
||||||
@ -1669,7 +1671,7 @@ if(preferredLanguage == "tr"){
|
|||||||
"Cancel": "İptal",
|
"Cancel": "İptal",
|
||||||
"Change user": "Kullanıcı değiştir",
|
"Change user": "Kullanıcı değiştir",
|
||||||
"Checking...": "Denetleniyor...", // checking if username is available
|
"Checking...": "Denetleniyor...", // checking if username is available
|
||||||
"Collapse": "Daralt", // smaller view of a post
|
"Collapse": "Kapat", // smaller view of a post
|
||||||
"Configure block generation": "Blok üretim ayarları",
|
"Configure block generation": "Blok üretim ayarları",
|
||||||
"Connections:": "Bağlantılar: ", // to network
|
"Connections:": "Bağlantılar: ", // to network
|
||||||
"Connection lost.": "Bağlantı koptu.",
|
"Connection lost.": "Bağlantı koptu.",
|
||||||
@ -1689,7 +1691,7 @@ if(preferredLanguage == "tr"){
|
|||||||
"Error in 'createwalletuser' RPC.": "'createwalletuser' RPC'de (Uzak Yordam Çağrısında) hata.",
|
"Error in 'createwalletuser' RPC.": "'createwalletuser' RPC'de (Uzak Yordam Çağrısında) hata.",
|
||||||
"Error in 'importprivkey'": "'importprivkey' RPC'de (Uzak Yordam Çağrısında) hata: %{rpc}",
|
"Error in 'importprivkey'": "'importprivkey' RPC'de (Uzak Yordam Çağrısında) hata: %{rpc}",
|
||||||
"Error in 'sendnewusertransaction' RPC.": "'sendnewusertransaction' RPC'de (Uzak Yordam Çağrısında) hata.",
|
"Error in 'sendnewusertransaction' RPC.": "'sendnewusertransaction' RPC'de (Uzak Yordam Çağrısında) hata.",
|
||||||
"Expand": "Genişlet", // larger view of a post
|
"Expand": "Aç", // larger view of a post
|
||||||
"Favorite": "Favori",
|
"Favorite": "Favori",
|
||||||
"File APIs not supported in this browser.": "Tarayıcınızda dosya API'si desteklenmiyor.",
|
"File APIs not supported in this browser.": "Tarayıcınızda dosya API'si desteklenmiyor.",
|
||||||
"Follow": "Takip et",
|
"Follow": "Takip et",
|
||||||
@ -1848,7 +1850,10 @@ if(preferredLanguage == "tr"){
|
|||||||
"Show with every user name": "Tüm kullanıcı adlarının yanında göster",
|
"Show with every user name": "Tüm kullanıcı adlarının yanında göster",
|
||||||
"Show at profile modal only": "Sadece profilinde göster",
|
"Show at profile modal only": "Sadece profilinde göster",
|
||||||
"Show if a user follows me": "Bir kullanıcının beni takip edip etmediğini göster",
|
"Show if a user follows me": "Bir kullanıcının beni takip edip etmediğini göster",
|
||||||
"follows you": "seni takip ediyor"
|
"follows you": "seni takip ediyor",
|
||||||
|
"Show conversation": "Sohbeti göster",
|
||||||
|
"Mark all as read": "hepsini okundu olarak işaretle"
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -68,6 +68,8 @@ function postToElem( post, kind ) {
|
|||||||
if( "reply" in userpost ) {
|
if( "reply" in userpost ) {
|
||||||
postData.attr('data-replied-to-screen-name', userpost["reply"]["n"]);
|
postData.attr('data-replied-to-screen-name', userpost["reply"]["n"]);
|
||||||
postData.attr('data-replied-to-id', userpost["reply"]["k"]);
|
postData.attr('data-replied-to-id', userpost["reply"]["k"]);
|
||||||
|
|
||||||
|
postData.find('.post-expand').text(polyglot.t("Show conversation"));
|
||||||
}
|
}
|
||||||
|
|
||||||
var postInfoName = elem.find(".post-info-name");
|
var postInfoName = elem.find(".post-info-name");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user