Browse Source

missing stuff of follow button and following config localization

master
Simon Grim 10 years ago
parent
commit
62af762e9a
  1. 22
      js/interface_localization.js
  2. 4
      js/twister_following.js

22
js/interface_localization.js

@ -314,6 +314,8 @@ if(preferredLanguage == "es"){ @@ -314,6 +314,8 @@ if(preferredLanguage == "es"){
"Favorite": "Favorito",
"File APIs not supported in this browser.": "Los archivos API no compatibles con este navegador",
"Follow": "Seguir",
"Following config": "Following config",
"Which way do you want to follow": "Which way do you want to follow",
"Followed by": "Seguido por",
"followed_by": "Seguido por %{username}",
"Followers": "Seguidores",
@ -556,6 +558,8 @@ if(preferredLanguage == "uk"){ @@ -556,6 +558,8 @@ if(preferredLanguage == "uk"){
"Favorite": "Улюблені",
"File APIs not supported in this browser.": "File APIs не підтримуєтся цим браузером.",
"Follow": "Підписатись",
"Following config": "Following config",
"Which way do you want to follow": "Which way do you want to follow",
"Followed by": "Підписаний на",
"followed_by": "%{username} підписан",
"Followers": "Читачі",
@ -796,6 +800,8 @@ if(preferredLanguage == "zh"){ @@ -796,6 +800,8 @@ if(preferredLanguage == "zh"){
"Favorite": "收藏",
"File APIs not supported in this browser.": "这个浏览器不支持文件APIs",
"Follow": "关注",
"Following config": "Following config",
"Which way do you want to follow": "Which way do you want to follow",
"Followed by": "被关注",
"followed_by": "被 %{username} 关注",
"Followers": "粉丝",
@ -1036,6 +1042,8 @@ if(preferredLanguage == "nl"){ @@ -1036,6 +1042,8 @@ if(preferredLanguage == "nl"){
"Favorite": "Favoriet",
"File APIs not supported in this browser.": "File APIs worden nie ondersteund in deze browser.",
"Follow": "Volgen",
"Following config": "Following config",
"Which way do you want to follow": "Which way do you want to follow",
"Followed by": "Gevolgd door",
"followed_by": "Gevolgd door %{username}",
"Followers": "Volgers",
@ -1277,6 +1285,8 @@ if(preferredLanguage == "it"){ @@ -1277,6 +1285,8 @@ if(preferredLanguage == "it"){
"Favorite": "Preferito",
"File APIs not supported in this browser.": "File APIs non supportati in questo browser.",
"Follow": "Segui",
"Following config": "Following config",
"Which way do you want to follow": "Which way do you want to follow",
"Followed by": "Seguito da",
"followed_by": "Seguiti da %{username}",
"Followers": "Lettori",
@ -1516,6 +1526,8 @@ if(preferredLanguage == "fr"){ @@ -1516,6 +1526,8 @@ if(preferredLanguage == "fr"){
"Favorite": "Favori",
"File APIs not supported in this browser.": "L'API de fichiers n'est pas pris en charge dans votre navigateur.",
"Follow": "Suivre",
"Following config": "Following config",
"Which way do you want to follow": "Which way do you want to follow",
"Followed by": "Suivi par",
"followed_by": "Suivi par %{username}",
"Followers": "Abonnés",
@ -2007,6 +2019,8 @@ if(preferredLanguage == "de"){ @@ -2007,6 +2019,8 @@ if(preferredLanguage == "de"){
"Favorite": "Favorisieren",
"File APIs not supported in this browser.": "File APIs werden von diesem Browser nicht unterstützt.",
"Follow": "Folgen",
"Following config": "Following config",
"Which way do you want to follow": "Which way do you want to follow",
"Followed by": "Gefolgt von",
"followed_by": "Gefolgt von %{username}",
"Followers": "Followers",
@ -2249,6 +2263,8 @@ if(preferredLanguage == "ja"){ @@ -2249,6 +2263,8 @@ if(preferredLanguage == "ja"){
"Favorite": "お気に入り",
"File APIs not supported in this browser.": "利用しているブラウザはファイルAPIをサポートしていません。",
"Follow": "フォロー",
"Following config": "Following config",
"Which way do you want to follow": "Which way do you want to follow",
"Followed by": "フォローされている",
"followed_by": "%{username}にフォローされている",
"Followers": "フォロワー",
@ -2488,6 +2504,8 @@ if(preferredLanguage == "pt-BR"){ @@ -2488,6 +2504,8 @@ if(preferredLanguage == "pt-BR"){
"Favorite": "Favorito",
"File APIs not supported in this browser.": "O gerenciamento de arquivos não é suportado neste navegador.",
"Follow": "Seguir",
"Following config": "Following config",
"Which way do you want to follow": "Which way do you want to follow",
"Followed by": "Seguido por",
"followed_by": "Seguido por %{username}",
"Followers": "Seguidores",
@ -2731,6 +2749,8 @@ if(preferredLanguage == "tr"){ @@ -2731,6 +2749,8 @@ if(preferredLanguage == "tr"){
"Favorite": "Favori",
"File APIs not supported in this browser.": "Tarayıcınızda dosya API'si desteklenmiyor.",
"Follow": "Takip et",
"Following config": "Following config",
"Which way do you want to follow": "Which way do you want to follow",
"Followed by": "Takip edenler",
"followed_by": "%{username} tarafından takip edilenler",
"Followers": "Takipçiler",
@ -2971,6 +2991,8 @@ if(preferredLanguage == "cs"){ @@ -2971,6 +2991,8 @@ if(preferredLanguage == "cs"){
"Favorite": "Přidat k oblíbeným",
"File APIs not supported in this browser.": "Upozornění: váš webový prohlížeč nepodporuje File API.",
"Follow": "Sledovat",
"Following config": "Following config",
"Which way do you want to follow": "Which way do you want to follow",
"Followed by": "tohoto uživatele sleduje",
"followed_by": "Uživatelé, které sleduje %{username}",
"Followers": "Sledující",

4
js/twister_following.js

@ -682,6 +682,10 @@ function newFollowingConfigModal(username) { @@ -682,6 +682,10 @@ function newFollowingConfigModal(username) {
function userClickFollow(e) {
e.stopPropagation();
e.preventDefault();
var followingInitiator = $(".followingInitiator");
if (followingInitiator)
followingInitiator.removeClass("followingInitiator");
$(e.target).addClass("followingInitiator");
var $this = $(this);

Loading…
Cancel
Save