From 4ef99d327e76415a10518f6e05f152742f1f4bec Mon Sep 17 00:00:00 2001 From: not-nullptr Date: Mon, 15 Jul 2024 16:58:37 +0100 Subject: [PATCH 1/2] feat: proper link colours, new suspension page --- _locales/en/messages.json | 4 +++- layouts/home/style.css | 25 ++++++++++++++++++++++--- layouts/profile/script.js | 32 +++++++++++++++++++++++++++----- layouts/settings/index.html | 6 ++++++ layouts/settings/script.js | 7 +++++++ scripts/config.js | 8 +++++++- scripts/helpers.js | 4 ++-- scripts/tweetviewer.js | 4 ++-- 8 files changed, 76 insertions(+), 14 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index e6a34579..3251d3bf 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -87,7 +87,6 @@ "photos_and_videos2": { "message": "Photos & videos" }, "tweets_and_replies": { "message": "Tweets & replies" }, "you_may_also_like": { "message": "You may also like", "description": "Max 26 characters, you can use word 'People' if no space" }, - "user_was_suspended": { "message": "User was suspended." }, "user_was_not_found": { "message": "User was not found." }, "timeline_not_authorized": { "message": "You are not authorized to view this user's timeline." }, "create_btn": { "message": "[create]" }, @@ -185,6 +184,7 @@ "timeline_type": { "message": "Timeline type" }, "show_topic_tweets": { "message": "Show topic tweets (algo only)" }, "show_colors_in_timeline": { "message": "Show custom link colors of users in home timeline" }, + "always_show_link_color": { "message": "Always show custom link colors instead of on hover" }, "enable_twemoji": { "message": "Enable Twemoji" }, "hearts_instead_stars": { "message": "Show hearts (likes) instead of stars (favorites)" }, "dark_mode": { "message": "Dark mode" }, @@ -406,6 +406,8 @@ "why_you_cant_see_block_user": { "message": "You can't follow or see @$SCREEN_NAME$'s Tweets.", "placeholders": { "screen_name": { "content": "CoolPerson2000" } } }, "nonexistent_user": { "message": "This account doesn't exist" }, "nonexistent_user_desc": { "message": "Try searching for another." }, + "suspended_user": { "message": "Account suspended" }, + "suspended_user_desc": { "message": "The profile you are trying to view has been suspended. To return to your home timeline, click here." }, "you_blocked_user": { "message": "You blocked @$SCREEN_NAME$", "placeholders": { "screen_name": { "content": "CoolPerson2000" } } }, "do_you_want_see_blocked_user": { "message": "Are you sure you want to view these Tweets? Viewing Tweets won't unblock @$SCREEN_NAME$.", "placeholders": { "screen_name": { "content": "CoolPerson2000" } } }, "I_want_see_blocked_user": { "message": "Yes, view profile" }, diff --git a/layouts/home/style.css b/layouts/home/style.css index 2689d150..1059aa67 100644 --- a/layouts/home/style.css +++ b/layouts/home/style.css @@ -1,3 +1,7 @@ +:root { + --default-link-color: var(--link-color); +} + #loading-box { background-color: var(--background-color); height: 100%; @@ -150,8 +154,19 @@ body { padding: 10px; } -.tweet:not(.colour) .tweet-header *:not(.nice-button), .tweet:not(.colour) .tweet-time { +.tweet:not(.colour) .tweet-header-name:not(:hover), .tweet:not(.colour) .tweet-header-handle, .tweet:not(.colour) .tweet-time:not(:hover) { --link-color: var(--almost-black) !important; + color: var(--link-color) !important; +} + +.tweet *::selection { + background-color: var(--link-color) !important; + color: var(--background-color) !important; +} + +.tweet *::-moz-selection { + background-color: var(--link-color) !important; + color: var(--background-color) !important; } .tweet-header-name-quote, .tweet-header-info-quote *, .tweet-time-quote { @@ -400,8 +415,8 @@ body { color: var(--light-gray) } -a:hover, -.tweet-header-info:hover, +a:not(.tweet-header-info):not(.tweet-body-quote):hover, +.tweet-header-info *:hover, .tweet-body-text a:hover, .center-text:hover, #wtf-refresh:hover, @@ -411,6 +426,10 @@ a:hover, text-decoration: underline } +.tweet-body-text-quote *:not(a) { + text-decoration: none; +} + .tweet-avatar, .tweet-avatar-quote { border-radius: 5px diff --git a/layouts/profile/script.js b/layouts/profile/script.js index 86808eb5..c6cf5d9b 100644 --- a/layouts/profile/script.js +++ b/layouts/profile/script.js @@ -271,20 +271,42 @@ function updateUserData() { document.getElementById('loading-box').hidden = true; document.getElementById('profile-name').innerText = `@${user_handle}`; document.getElementById('timeline').innerHTML = html`

${LOC.nonexistent_user.message}

${LOC.nonexistent_user_desc.message.replaceAll("$SCREEN_NAME$",pageUser.screen_name)}

`; - document.getElementById('profile-avatar').src = 'moz-extension://9605be5b-b11d-4459-879e-2b65fd1d7bca/images/default_profile_images/default_profile_0_400x400.png'; + document.getElementById('trends').hidden = true; + document.getElementById('profile-nav-center-cell').style.display = 'none'; // ??? + document.getElementById('profile-banner-sticky').style.backgroundColor = 'var(--background-color)'; + document.getElementById('wtf').hidden = true; + document.getElementById('profile-nav').style.boxShadow = 'none'; + document.getElementById('profile-avatar').src = chrome.runtime.getURL(`images/default_profile_images/default_profile_0_normal.png`); return; } - document.getElementById('loading-box').hidden = false; if(String(e).includes('User has been suspended.')) { - return document.getElementById('loading-box-error').innerHTML = html`${LOC.user_was_suspended.message}
${LOC.go_homepage.message}`; + document.getElementById('loading-box').hidden = true; + document.getElementById('profile-name').innerText = `@${user_handle}`; + document.getElementById('timeline').innerHTML = html`

${LOC.suspended_user.message}

${LOC.suspended_user_desc.message.replaceAll("$SCREEN_NAME$",pageUser.screen_name)}

`; + document.getElementById('trends').hidden = true; + document.getElementById('profile-nav-center-cell').style.display = 'none'; // ??? + document.getElementById('profile-banner-sticky').style.backgroundColor = 'var(--background-color)'; + document.getElementById('wtf').hidden = true; + document.getElementById('profile-nav').style.boxShadow = 'none'; + document.getElementById('profile-avatar').src = chrome.runtime.getURL(`images/default_profile_images/default_profile_0_normal.png`); + return; } + document.getElementById('loading-box').hidden = false; return document.getElementById('loading-box-error').innerHTML = html`${String(e)}.
${LOC.go_homepage.message}`; }); if(oldUser.reason) { let e = oldUser.reason; if(String(e).includes('User has been suspended.')) { - document.getElementById('loading-box').hidden = false; - return document.getElementById('loading-box-error').innerHTML = html`${LOC.user_was_suspended.message}
${LOC.go_homepage.message}`; + document.getElementById('loading-box').hidden = true; + document.getElementById('profile-name').innerText = `@${user_handle}`; + document.getElementById('timeline').innerHTML = html`

${LOC.suspended_user.message}

${LOC.suspended_user_desc.message.replaceAll("$SCREEN_NAME$",pageUser.screen_name)}

`; + document.getElementById('trends').hidden = true; + document.getElementById('profile-nav-center-cell').style.display = 'none'; // ??? + document.getElementById('profile-banner-sticky').style.backgroundColor = 'var(--background-color)'; + document.getElementById('wtf').hidden = true; + document.getElementById('profile-nav').style.boxShadow = 'none'; + document.getElementById('profile-avatar').src = chrome.runtime.getURL(`images/default_profile_images/default_profile_0_normal.png`); + return; } } if(pageUserData.reason) { diff --git a/layouts/settings/index.html b/layouts/settings/index.html index 938da9c7..44d6adeb 100644 --- a/layouts/settings/index.html +++ b/layouts/settings/index.html @@ -255,9 +255,15 @@

__MSG_old_twitter_look__


+
+ +
+
+ +
diff --git a/layouts/settings/script.js b/layouts/settings/script.js index f86a988e..29f61af5 100644 --- a/layouts/settings/script.js +++ b/layouts/settings/script.js @@ -262,6 +262,7 @@ setTimeout(async () => { let linkColor = document.getElementById('link-color'); let heartsNotStars = document.getElementById('hearts-instead-stars'); let linkColorsInTL = document.getElementById('link-colors-in-tl'); + let alwaysShowLinkColor = document.getElementById('always-show-link-color'); let enableTwemoji = document.getElementById('enable-twemoji'); let enableHashflags = document.getElementById('enable-hashflags'); let timelineType = document.getElementById('tl-type'); @@ -522,6 +523,11 @@ setTimeout(async () => { linkColorsInTL: linkColorsInTL.checked }, () => { }); }); + alwaysShowLinkColor.addEventListener('change', () => { + chrome.storage.sync.set({ + alwaysShowLinkColor: alwaysShowLinkColor.checked + }, () => { }); + }); enableTwemoji.addEventListener('change', () => { chrome.storage.sync.set({ enableTwemoji: enableTwemoji.checked @@ -989,6 +995,7 @@ setTimeout(async () => { } heartsNotStars.checked = !!vars.heartsNotStars; linkColorsInTL.checked = !!vars.linkColorsInTL; + alwaysShowLinkColor.checked = !!vars.alwaysShowLinkColor; enableTwemoji.checked = !!vars.enableTwemoji; enableHashflags.checked = !!vars.enableHashflags; showExactValues.checked = !!vars.showExactValues; diff --git a/scripts/config.js b/scripts/config.js index 2a952629..c953f2a2 100644 --- a/scripts/config.js +++ b/scripts/config.js @@ -20,7 +20,7 @@ let vars; let varsResolve, varsPromise = new Promise(resolve => varsResolve = resolve); async function loadVars() { vars = await new Promise(resolve => { - chrome.storage.sync.get(['linkColor', 'font', 'heartsNotStars', 'linkColorsInTL', 'enableTwemoji', 'chronologicalTL', + chrome.storage.sync.get(['linkColor', 'font', 'heartsNotStars', 'linkColorsInTL', 'alwaysShowLinkColor', 'enableTwemoji', 'chronologicalTL', 'timelineType', 'showTopicTweets', 'darkMode', 'disableHotkeys', 'customCSS', 'customCSSVariables', 'savePreferredQuality', 'noBigFont', 'language', 'autoplayVideos', 'displaySensitiveContent', 'displaySensitiveContentMoved', 'volume', 'timeMode', 'showOriginalImages', 'pitchBlack', 'seeTweetViews', 'autotranslateProfiles', 'roundAvatars', 'twitterBlueCheckmarks', @@ -41,6 +41,12 @@ async function loadVars() { linkColorsInTL: true }, () => {}); } + if (typeof(data.alwaysShowLinkColor) !== 'boolean') { + data.alwaysShowLinkColor = false; + chrome.storage.sync.set({ + alwaysShowLinkColor: false + }, () => {}); + } if(typeof(data.enableTwemoji) !== 'boolean') { data.enableTwemoji = true; chrome.storage.sync.set({ diff --git a/scripts/helpers.js b/scripts/helpers.js index c8959664..8a8364d0 100644 --- a/scripts/helpers.js +++ b/scripts/helpers.js @@ -1778,12 +1778,12 @@ async function appendTweet(t, timelineContainer, options = {}) { if(linkColors[t.user.id_str]) { let sc = makeSeeableColor(linkColors[t.user.id_str]); tweet.style.setProperty('--link-color', sc); - tweet.classList.add('colour'); + if (vars.alwaysShowLinkColor) tweet.classList.add('colour'); } else { if(t.user.profile_link_color && t.user.profile_link_color !== '1DA1F2') { let sc = makeSeeableColor(t.user.profile_link_color); tweet.style.setProperty('--link-color', sc); - tweet.classList.add('colour'); + if (vars.alwaysShowLinkColor) tweet.classList.add('colour'); } } } diff --git a/scripts/tweetviewer.js b/scripts/tweetviewer.js index 26dadf2b..61629644 100644 --- a/scripts/tweetviewer.js +++ b/scripts/tweetviewer.js @@ -866,12 +866,12 @@ class TweetViewer { if(this.linkColors[t.user.id_str]) { let sc = makeSeeableColor(this.linkColors[t.user.id_str]); tweet.style.setProperty('--link-color', sc); - tweet.classList.add('colour'); + if (vars.alwaysShowLinkColor) tweet.classList.add('colour'); } else { if(t.user.profile_link_color && t.user.profile_link_color !== '1DA1F2') { let sc = makeSeeableColor(t.user.profile_link_color); tweet.style.setProperty('--link-color', sc); - tweet.classList.add('colour'); + if (vars.alwaysShowLinkColor) tweet.classList.add('colour'); } } } From 4b16746093cfebcb23e6feadea64fe10d2ae4ec6 Mon Sep 17 00:00:00 2001 From: not-nullptr Date: Mon, 15 Jul 2024 17:03:04 +0100 Subject: [PATCH 2/2] fix locales --- _locales/ar/messages.json | 1 - _locales/bg/messages.json | 1 - _locales/ca/messages.json | 1 - _locales/cs/messages.json | 1 - _locales/de/messages.json | 1 - _locales/el/messages.json | 3 --- _locales/es/messages.json | 1 - _locales/fi/messages.json | 1 - _locales/fr/messages.json | 1 - _locales/he/messages.json | 3 --- _locales/id/messages.json | 1 - _locales/is/messages.json | 1 - _locales/it/messages.json | 1 - _locales/ja/messages.json | 1 - _locales/ko/messages.json | 1 - _locales/lv/messages.json | 4 +--- _locales/nb/messages.json | 1 - _locales/ne/messages.json | 1 - _locales/nl/messages.json | 1 - _locales/pl/messages.json | 1 - _locales/pt_BR/messages.json | 3 --- _locales/ro/messages.json | 1 - _locales/ru/messages.json | 1 - _locales/sv/messages.json | 1 - _locales/th/messages.json | 1 - _locales/tl/messages.json | 1 - _locales/tr/messages.json | 3 --- _locales/uk/messages.json | 1 - _locales/vi/messages.json | 1 - _locales/zh_CN/messages.json | 1 - _locales/zh_TW/messages.json | 1 - 31 files changed, 1 insertion(+), 41 deletions(-) diff --git a/_locales/ar/messages.json b/_locales/ar/messages.json index cf1a403c..ecc34a67 100644 --- a/_locales/ar/messages.json +++ b/_locales/ar/messages.json @@ -80,7 +80,6 @@ "photos_and_videos2": { "message": "صور & مقاطع الفيديو" }, "tweets_and_replies": { "message": "تويتس & الردود" }, "you_may_also_like": { "message": "مقاطع فيديو شائعة", "description": "Max 19 characters, you can use word 'People' if no space" }, - "user_was_suspended": { "message": "المستخدم غير موجود." }, "user_was_not_found": { "message": "غير مصرح لك بمشاهدة الجدول الزمني لهذا المستخدم." }, "create_btn": { "message": "[خلق]" }, "create_list": { "message": "إنشاء القوائم" }, diff --git a/_locales/bg/messages.json b/_locales/bg/messages.json index a9d24300..e63cd23e 100644 --- a/_locales/bg/messages.json +++ b/_locales/bg/messages.json @@ -87,7 +87,6 @@ "photos_and_videos2": { "message": "Снимки & клипове" }, "tweets_and_replies": { "message": "Туитове & отговори" }, "you_may_also_like": { "message": "Може също да ви хареса", "description": "Максимум 26 символа, може да използвате 'Хора', ако няма място" }, - "user_was_suspended": { "message": "Потребителят беше премахнат от Туитър." }, "user_was_not_found": { "message": "Потребителят не е намерен." }, "timeline_not_authorized": { "message": "Вие нямате права да видите профила на този потребител." }, "create_btn": { "message": "[създай]" }, diff --git a/_locales/ca/messages.json b/_locales/ca/messages.json index e9d7f6e2..203820af 100644 --- a/_locales/ca/messages.json +++ b/_locales/ca/messages.json @@ -87,7 +87,6 @@ "photos_and_videos2": { "message": "Fotos i vídeos" }, "tweets_and_replies": { "message": "Tuits i respostes" }, "you_may_also_like": { "message": "També us pot agradar", "description": "Max 26 characters, you can use word 'People' if no space" }, - "user_was_suspended": { "message": "S'ha suspès l'usuari." }, "user_was_not_found": { "message": "No s'ha trobat l'usuari." }, "timeline_not_authorized": { "message": "No esteu autoritzats per veure la cronologia d'aquest usuari." }, "create_btn": { "message": "[crea]" }, diff --git a/_locales/cs/messages.json b/_locales/cs/messages.json index 3f5e889b..83a5aca8 100644 --- a/_locales/cs/messages.json +++ b/_locales/cs/messages.json @@ -87,7 +87,6 @@ "photos_and_videos2": { "message": "Fotky & videa" }, "tweets_and_replies": { "message": "Tweety & odpovědi" }, "you_may_also_like": { "message": "Taky by se Vám mohlo líbit", "description": "Max 26 characters, you can use word 'People' if no space" }, - "user_was_suspended": { "message": "Účet byl pozastaven." }, "user_was_not_found": { "message": "Tento účet neexistuje." }, "timeline_not_authorized": { "message": "Nemáte právo zobrazit časovou osu tohoto uživatele." }, "create_btn": { "message": "[vytvořit]" }, diff --git a/_locales/de/messages.json b/_locales/de/messages.json index 335ab7bb..eba0984e 100644 --- a/_locales/de/messages.json +++ b/_locales/de/messages.json @@ -87,7 +87,6 @@ "photos_and_videos2": {"message": "Fotos & Videos"}, "tweets_and_replies": {"message": "Tweets & Antworten"}, "you_may_also_like": {"message": "Könnte dir auch gefallen", "description": "Max. 26 Zeichen, verwende das Wort 'Personen', wenn kein Platz vorhanden ist."}, - "user_was_suspended": {"message": "Benutzer wurde suspendiert."}, "user_was_not_found": {"message": "Benutzer nicht gefunden."}, "timeline_not_authorized": {"message": "Du bist nicht berechtigt, die Timeline dieses Benutzers anzusehen."}, "create_btn": {"message": "[Erstellen]"}, diff --git a/_locales/el/messages.json b/_locales/el/messages.json index 3c886132..81d8b4d1 100644 --- a/_locales/el/messages.json +++ b/_locales/el/messages.json @@ -256,9 +256,6 @@ "message": "Μπορεί να σας αρέσει", "description": "Max 19 characters, you can use word 'People' if no space" }, - "user_was_suspended": { - "message": "Ο χρήστης αφαιρέθηκε από το twitter." - }, "user_was_not_found": { "message": "Ο χρήστης δεν βρέθηκε." }, diff --git a/_locales/es/messages.json b/_locales/es/messages.json index c9906e1b..b15a2dcb 100644 --- a/_locales/es/messages.json +++ b/_locales/es/messages.json @@ -87,7 +87,6 @@ "photos_and_videos2": { "message": "Fotos y vídeos" }, "tweets_and_replies": { "message": "Tweets y respuestas" }, "you_may_also_like": { "message": "También podría gustarte", "description": "Max 26 characters, you can use word 'People' if no space" }, - "user_was_suspended": { "message": "El usuario fue suspendido." }, "user_was_not_found": { "message": "El usuario no ha sido encontrado." }, "timeline_not_authorized": { "message": "No estás autorizado para ver la cronología de este usuario." }, "create_btn": { "message": "[crear]" }, diff --git a/_locales/fi/messages.json b/_locales/fi/messages.json index 12a19953..6bd6db2c 100644 --- a/_locales/fi/messages.json +++ b/_locales/fi/messages.json @@ -87,7 +87,6 @@ "photos_and_videos2": { "message": "Kuvat & videot" }, "tweets_and_replies": { "message": "Twiittejä & vastauksia" }, "you_may_also_like": { "message": "Sinä saatat myös pitää...", "description": "Max 26 characters, you can use word 'People' if no space" }, - "user_was_suspended": { "message": "Käyttäjä on estetty." }, "user_was_not_found": { "message": "Käyttäjää ei löytynyt." }, "timeline_not_authorized": { "message": "Sinä et ole sallittu katsomaan tämän käyttäjän aikajanaa." }, "create_btn": { "message": "[luo]" }, diff --git a/_locales/fr/messages.json b/_locales/fr/messages.json index fa400b7a..ada94377 100644 --- a/_locales/fr/messages.json +++ b/_locales/fr/messages.json @@ -81,7 +81,6 @@ "photos_and_videos2": { "message": "Photos & vidéos" }, "tweets_and_replies": { "message": "Tweets & réponses" }, "you_may_also_like": { "message": "Vous aimerez sûrement aussi", "description": "Max 19 characters, you can use word 'People' if no space" }, - "user_was_suspended": { "message": "Ce compte a été suspendu." }, "user_was_not_found": { "message": "Ce compte n'existe pas." }, "timeline_not_authorized": { "message": "Vous n'êtes pas autorisé.e à voir la chronologie de ce compte." }, "create_btn": { "message": "[créer]" }, diff --git a/_locales/he/messages.json b/_locales/he/messages.json index f03c0576..9a8d19cd 100644 --- a/_locales/he/messages.json +++ b/_locales/he/messages.json @@ -245,9 +245,6 @@ "description": "Max 19 characters, you can use word 'People' if no space", "message": "אולי תאהב/י גם " }, - "user_was_suspended": { - "message": "משתמש הושעה" - }, "user_was_not_found": { "message": "משתמש לא נמצא" }, diff --git a/_locales/id/messages.json b/_locales/id/messages.json index 3b613f73..9e9d41e3 100644 --- a/_locales/id/messages.json +++ b/_locales/id/messages.json @@ -87,7 +87,6 @@ "photos_and_videos2": { "message": "Gambar & video" }, "tweets_and_replies": { "message": "Tweet & balasan" }, "you_may_also_like": { "message": "Anda mungkin suka", "description": "Max 26 characters, you can use word 'People' if no space" }, - "user_was_suspended": { "message": "Pengguna telah ditangguhkan." }, "user_was_not_found": { "message": "Pengguna tidak ditemukan." }, "timeline_not_authorized": { "message": "Anda tidak diizinkan untuk melihat linimasa pengguna ini." }, "create_btn": { "message": "[buat]" }, diff --git a/_locales/is/messages.json b/_locales/is/messages.json index d39d8b5f..7f4f4fa0 100644 --- a/_locales/is/messages.json +++ b/_locales/is/messages.json @@ -87,7 +87,6 @@ "photos_and_videos2": { "message": "Myndir og myndbönd" }, "tweets_and_replies": { "message": "Tíst og svör" }, "you_may_also_like": { "message": "Þú gætir líka haft gaman af", "description": "Max 26 characters, you can use word 'People' if no space" }, - "user_was_suspended": { "message": "Notanda var lokað." }, "user_was_not_found": { "message": "Notandi fannst ekki." }, "timeline_not_authorized": { "message": "Þú hefur ekki heimild til að skoða tímalínu þessa notanda." }, "create_btn": { "message": "[búa til]" }, diff --git a/_locales/it/messages.json b/_locales/it/messages.json index 75537661..fda5325f 100644 --- a/_locales/it/messages.json +++ b/_locales/it/messages.json @@ -87,7 +87,6 @@ "photos_and_videos2": { "message": "Foto e video" }, "tweets_and_replies": { "message": "Tweet e risposte" }, "you_may_also_like": { "message": "Potrebbe piacerti", "description": "Max 26 characters, you can use word 'People' if no space" }, - "user_was_suspended": { "message": "L'utente è stato sospeso." }, "user_was_not_found": { "message": "L'utente non è stato trovato." }, "timeline_not_authorized": { "message": "Non sei autorizzato a vedere la timeline di questo utente." }, "create_btn": { "message": "[crea]" }, diff --git a/_locales/ja/messages.json b/_locales/ja/messages.json index 10b3b825..4d4b41b9 100644 --- a/_locales/ja/messages.json +++ b/_locales/ja/messages.json @@ -87,7 +87,6 @@ "photos_and_videos2": { "message": "写真と動画" }, "tweets_and_replies": { "message": "ツイートと返信" }, "you_may_also_like": { "message": "こちらもどうぞ", "description": "Max 26 characters, you can use word 'People' if no space" }, - "user_was_suspended": { "message": "アカウントは凍結されています" }, "user_was_not_found": { "message": "アカウントが見つかりませんでした" }, "timeline_not_authorized": { "message": "このユーザーのタイムラインを表示することは出来ません。" }, "create_btn": { "message": "[作成]" }, diff --git a/_locales/ko/messages.json b/_locales/ko/messages.json index 2d72ce90..c4cb9c7d 100644 --- a/_locales/ko/messages.json +++ b/_locales/ko/messages.json @@ -87,7 +87,6 @@ "photos_and_videos2": { "message": "사진 및 동영상" }, "tweets_and_replies": { "message": "트윗과 답글" }, "you_may_also_like": { "message": "당신과 비슷한 사용자", "description": "Max 26 characters, you can use word 'People' if no space" }, - "user_was_suspended": { "message": "계정이 일시 정지되었습니다" }, "user_was_not_found": { "message": "계정이 존재하지 않습니다" }, "timeline_not_authorized": { "message": "이 계정의 타임라인은 볼 수 없습니다" }, "create_btn": { "message": "[리스트 만들기]" }, diff --git a/_locales/lv/messages.json b/_locales/lv/messages.json index 3c63e55b..f1956511 100644 --- a/_locales/lv/messages.json +++ b/_locales/lv/messages.json @@ -262,9 +262,7 @@ "message": "Jums arī varētu patikt", "description": "Max 19 characters, you can use word 'People' if no space" }, - "user_was_suspended": { - "message": "Lietotājs tika apturēts." - }, + "user_was_not_found": { "message": "Lietotājs netika atrasts." }, diff --git a/_locales/nb/messages.json b/_locales/nb/messages.json index bef9c347..e10a490c 100644 --- a/_locales/nb/messages.json +++ b/_locales/nb/messages.json @@ -87,7 +87,6 @@ "photos_and_videos2": { "message": "Bilder og videoer" }, "tweets_and_replies": { "message": "Tweets og svar" }, "you_may_also_like": { "message": "Kanskje du også liker", "description": "Max 26 characters, you can use word 'People' if no space" }, - "user_was_suspended": { "message": "Brukeren var bannlyst." }, "user_was_not_found": { "message": "Brukeren var ikke funnet." }, "timeline_not_authorized": { "message": "Du har ikke tilgang til tidslinjen til denne brukeren." }, "create_btn": { "message": "[lag]" }, diff --git a/_locales/ne/messages.json b/_locales/ne/messages.json index a12f621a..32d678f3 100644 --- a/_locales/ne/messages.json +++ b/_locales/ne/messages.json @@ -80,7 +80,6 @@ "photos_and_videos2": { "message": "फोटो र विडिओहरू" }, "tweets_and_replies": { "message": "ट्वीटहरू र जवाफहरू" }, "you_may_also_like": { "message": "मान्छेहरू", "description": "Max 19 characters, you can use word 'People' if no space" }, - "user_was_suspended": { "message": "मान्छे निलम्बन गरिएको थियो।" }, "user_was_not_found": { "message": "मान्छे भेटिएन।" }, "timeline_not_authorized": { "message": "तपाईँले यो मान्छेको कलक्रम हेर्न मिल्दैन।" }, "create_btn": { "message": "[बनाउन]" }, diff --git a/_locales/nl/messages.json b/_locales/nl/messages.json index 065c52db..5159c118 100644 --- a/_locales/nl/messages.json +++ b/_locales/nl/messages.json @@ -81,7 +81,6 @@ "photos_and_videos2": { "message": "Foto's & video's" }, "tweets_and_replies": { "message": "Tweets & antwoorden" }, "you_may_also_like": { "message": "U zult misschien ook leuk vinden", "description": "Max 26 characters, you can use word 'People' if no space" }, - "user_was_suspended": { "message": "Gebruiker was opgeschorst." }, "user_was_not_found": { "message": "Gebruiker is niet gevonden." }, "timeline_not_authorized": { "message": "U heeft geen toegang tot deze gebruikers tijdlijn" }, "create_btn": { "message": "[creëren]" }, diff --git a/_locales/pl/messages.json b/_locales/pl/messages.json index 56c43508..a2f2fa58 100644 --- a/_locales/pl/messages.json +++ b/_locales/pl/messages.json @@ -87,7 +87,6 @@ "photos_and_videos2": { "message": "Multimedia" }, "tweets_and_replies": { "message": "Odpowiedzi" }, "you_may_also_like": { "message": "Może ci się spodobać", "description": "Max 26 characters, you can use word 'People' if no space" }, - "user_was_suspended": { "message": "Konto zawieszone." }, "user_was_not_found": { "message": "To konto nie istnieje." }, "timeline_not_authorized": { "message": "Nie jesteś autoryzowany by wyświetlić tweety tego użytkownika." }, "create_btn": { "message": "[stwórz]" }, diff --git a/_locales/pt_BR/messages.json b/_locales/pt_BR/messages.json index bf6493de..89f80f3e 100644 --- a/_locales/pt_BR/messages.json +++ b/_locales/pt_BR/messages.json @@ -278,9 +278,6 @@ "message": "Pessoas", "description": "Max 19 characters, you can use word 'People' if no space" }, - "user_was_suspended": { - "message": "Usuário foi suspenso." - }, "user_was_not_found": { "message": "Usuário não encontrado." }, diff --git a/_locales/ro/messages.json b/_locales/ro/messages.json index 5298a2ea..738a2d82 100644 --- a/_locales/ro/messages.json +++ b/_locales/ro/messages.json @@ -87,7 +87,6 @@ "photos_and_videos2": { "message": "Fotografii & videoclipuri" }, "tweets_and_replies": { "message": "Tweeturi și răspunsuri" }, "you_may_also_like": { "message": "S-ar putea să vă placă și", "description": "Max 19 characters, you can use word 'People' if no space" }, - "user_was_suspended": { "message": "Utilizatorul a fost suspendat." }, "user_was_not_found": { "message": "Utilizatorul nu a fost găsit." }, "timeline_not_authorized": { "message": "Nu sunteți autorizat să vizualizați timeline-ul acestui utilizator." }, "create_btn": { "message": "[creează]" }, diff --git a/_locales/ru/messages.json b/_locales/ru/messages.json index 8f47f83d..90b55e8a 100644 --- a/_locales/ru/messages.json +++ b/_locales/ru/messages.json @@ -89,7 +89,6 @@ "photos_and_videos2": { "message": "Фото & видео" }, "tweets_and_replies": { "message": "Твиты & ответы" }, "you_may_also_like": { "message": "Люди" }, - "user_was_suspended": { "message": "Пользователь был заблокирован Твиттером." }, "user_was_not_found": { "message": "Пользователь не найден." }, "timeline_not_authorized": { "message": "У вас нет доступа чтобы посмотреть ленту этого пользователя." }, "create_btn": { "message": "[создать]" }, diff --git a/_locales/sv/messages.json b/_locales/sv/messages.json index 9a9c6118..76bc3bc3 100644 --- a/_locales/sv/messages.json +++ b/_locales/sv/messages.json @@ -87,7 +87,6 @@ "photos_and_videos2": { "message": "Bilder & videor" }, "tweets_and_replies": { "message": "Tweets & svar" }, "you_may_also_like": { "message": "Du kanske gillar...", "description": "Max 26 characters, you can use word 'People' if no space" }, - "user_was_suspended": { "message": "Det här kontot har spärrats.
Twitter stänger regelbundet av konton som bryter mot dess regler." }, "user_was_not_found": { "message": "Kontot hittades inte." }, "timeline_not_authorized": { "message": "Du har inte behörighet att visa den här användarens tidslinje." }, "create_btn": { "message": "[skapa]" }, diff --git a/_locales/th/messages.json b/_locales/th/messages.json index ce94a055..a46fcac6 100644 --- a/_locales/th/messages.json +++ b/_locales/th/messages.json @@ -80,7 +80,6 @@ "photos_and_videos2": { "message": "ภาพเเละวิดีโอ" }, "tweets_and_replies": { "message": "ทวิตเเละการตอบกลับ" }, "you_may_also_like": { "message": "คุณอาจชื่นชอบ", "description": "Max 19 characters, you can use word 'People' if no space" }, - "user_was_suspended": { "message": "ผู้ใช้ถูกระงับการใช้งาน" }, "user_was_not_found": { "message": "ไม่เจอผู้ใช้" }, "timeline_not_authorized": { "message": "คุณไม่มีสิทธิในการดูไทม์ไลน์ของผู้ใช้นี้" }, "create_btn": { "message": "[สร้าง]" }, diff --git a/_locales/tl/messages.json b/_locales/tl/messages.json index 19046dbd..8c9b8a83 100644 --- a/_locales/tl/messages.json +++ b/_locales/tl/messages.json @@ -81,7 +81,6 @@ "photos_and_videos2": { "message": "Mga Larawan & Bideo" }, "tweets_and_replies": { "message": "Tweets at sagot" }, "you_may_also_like": { "message": "Mga Tao", "description": "Max 19 characters, you can use word 'People' if no space" }, - "user_was_suspended": { "message": "Nasuspinde ang User." }, "user_was_not_found": { "message": "Hindi nahanap ang User." }, "timeline_not_authorized": { "message": "Wala kang pahintulot na tingnan ang timeline ng user na ito." }, "create_btn": { "message": "[gumawa]" }, diff --git a/_locales/tr/messages.json b/_locales/tr/messages.json index e53ba0ca..ee15a257 100644 --- a/_locales/tr/messages.json +++ b/_locales/tr/messages.json @@ -262,9 +262,6 @@ "message": "Ayrıca beğenebilirsiniz", "description": "Max 19 characters, you can use word 'People' if no space" }, - "user_was_suspended": { - "message": "Kullanıcı askıya alındı." - }, "user_was_not_found": { "message": "Kullanıcı bulunamadı." }, diff --git a/_locales/uk/messages.json b/_locales/uk/messages.json index 99c0e487..13a00ce4 100644 --- a/_locales/uk/messages.json +++ b/_locales/uk/messages.json @@ -81,7 +81,6 @@ "photos_and_videos2": { "message": "Фото & відео" }, "tweets_and_replies": { "message": "Твіти & відповіді" }, "you_may_also_like": { "message": "Вам може сподобатись", "description": "Max 26 characters, you can use word 'People' if no space" }, - "user_was_suspended": { "message": "Користувач видалений." }, "user_was_not_found": { "message": "Користувач не знайдений." }, "timeline_not_authorized": { "message": "У вас немає доступу до стрічки цього користувача." }, "create_btn": { "message": "[створити]" }, diff --git a/_locales/vi/messages.json b/_locales/vi/messages.json index 2be25f5c..e14e5a9b 100644 --- a/_locales/vi/messages.json +++ b/_locales/vi/messages.json @@ -87,7 +87,6 @@ "photos_and_videos2": { "message": "Ảnh & video" }, "tweets_and_replies": { "message": "Tweets & các trả lời" }, "you_may_also_like": { "message": "Bạn có thể thích", "description": "Max 26 characters, you can use word 'People' if no space" }, - "user_was_suspended": { "message": "Người dùng đã bị đình chỉ." }, "user_was_not_found": { "message": "Không tìm thấy người dùng." }, "timeline_not_authorized": { "message": "Bạn không được phép xem dòng thời gian của người dùng này." }, "create_btn": { "message": "[tạo]" }, diff --git a/_locales/zh_CN/messages.json b/_locales/zh_CN/messages.json index 88d7a47c..d6b2de91 100644 --- a/_locales/zh_CN/messages.json +++ b/_locales/zh_CN/messages.json @@ -87,7 +87,6 @@ "photos_and_videos2": { "message": "照片和视频" }, "tweets_and_replies": { "message": "推文和回复" }, "you_may_also_like": { "message": "您可能还喜欢", "description": "最多26个字符,如果没有空间可以使用'人物'这个词" }, - "user_was_suspended": { "message": "用户已被暂停。" }, "user_was_not_found": { "message": "未找到用户。" }, "timeline_not_authorized": { "message": "您无权查看此用户的时间线。" }, "create_btn": { "message": "[创建]" }, diff --git a/_locales/zh_TW/messages.json b/_locales/zh_TW/messages.json index 48bd2be3..415e66c4 100644 --- a/_locales/zh_TW/messages.json +++ b/_locales/zh_TW/messages.json @@ -87,7 +87,6 @@ "photos_and_videos2": { "message": "相片和影片" }, "tweets_and_replies": { "message": "推文和回覆" }, "you_may_also_like": { "message": "你可能會喜歡", "description": "Max 26 characters, you can use word 'People' if no space" }, - "user_was_suspended": { "message": "此帳戶已被停用" }, "user_was_not_found": { "message": "此帳戶不存在" }, "timeline_not_authorized": { "message": "你沒有權限查看此使用者的推文。" }, "create_btn": { "message": "[建立]" },