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

4
js/twister_following.js

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

Loading…
Cancel
Save