Skip links to left and right columns

merge-requests/30/head
Bob Mottram 2021-02-01 13:31:49 +00:00
parent 1af0949f5a
commit ebfaa94c0f
16 changed files with 55 additions and 17 deletions

View File

@ -364,5 +364,7 @@
"Pin this post to your profile.": "تثبيت هذه الوظيفة في ملف التعريف الخاص بك.", "Pin this post to your profile.": "تثبيت هذه الوظيفة في ملف التعريف الخاص بك.",
"Administered by": "تدار من قبل", "Administered by": "تدار من قبل",
"Version": "الإصدار", "Version": "الإصدار",
"Skip to timeline": "تخطي إلى الجدول الزمني" "Skip to timeline": "تخطي إلى الجدول الزمني",
"Skip to Newswire": "انتقل إلى Newswire",
"Skip to Links": "تخطي إلى روابط الويب"
} }

View File

@ -364,5 +364,7 @@
"Pin this post to your profile.": "Fixa aquesta publicació al teu perfil.", "Pin this post to your profile.": "Fixa aquesta publicació al teu perfil.",
"Administered by": "Administrat per", "Administered by": "Administrat per",
"Version": "Versió", "Version": "Versió",
"Skip to timeline": "Ves a la cronologia" "Skip to timeline": "Ves a la cronologia",
"Skip to Newswire": "Vés a Newswire",
"Skip to Links": "Vés als enllaços web"
} }

View File

@ -364,5 +364,7 @@
"Pin this post to your profile.": "Piniwch y post hwn i'ch proffil.", "Pin this post to your profile.": "Piniwch y post hwn i'ch proffil.",
"Administered by": "Gweinyddir gan", "Administered by": "Gweinyddir gan",
"Version": "Fersiwn", "Version": "Fersiwn",
"Skip to timeline": "Neidio i'r llinell amser" "Skip to timeline": "Neidio i'r llinell amser",
"Skip to Newswire": "Neidio i Newswire",
"Skip to Links": "Neidio i Dolenni Gwe"
} }

View File

@ -364,5 +364,7 @@
"Pin this post to your profile.": "Pin diesen Beitrag zu Ihrem Profil.", "Pin this post to your profile.": "Pin diesen Beitrag zu Ihrem Profil.",
"Administered by": "Verwaltet von", "Administered by": "Verwaltet von",
"Version": "Ausführung", "Version": "Ausführung",
"Skip to timeline": "Zur Zeitleiste springen" "Skip to timeline": "Zur Zeitleiste springen",
"Skip to Newswire": "Springe zu Newswire",
"Skip to Links": "Springe zu Weblinks"
} }

View File

@ -364,5 +364,7 @@
"Pin this post to your profile.": "Pin this post to your profile.", "Pin this post to your profile.": "Pin this post to your profile.",
"Administered by": "Administered by", "Administered by": "Administered by",
"Version": "Version", "Version": "Version",
"Skip to timeline": "Skip to timeline" "Skip to timeline": "Skip to timeline",
"Skip to Newswire": "Skip to Newswire",
"Skip to Links": "Skip to Links"
} }

View File

@ -364,5 +364,7 @@
"Pin this post to your profile.": "Fija esta publicación a tu perfil.", "Pin this post to your profile.": "Fija esta publicación a tu perfil.",
"Administered by": "Administrado por", "Administered by": "Administrado por",
"Version": "Versión", "Version": "Versión",
"Skip to timeline": "Saltar a la línea de tiempo" "Skip to timeline": "Saltar a la línea de tiempo",
"Skip to Newswire": "Saltar a Newswire",
"Skip to Links": "Saltar a enlaces web"
} }

View File

@ -364,5 +364,7 @@
"Pin this post to your profile.": "Épinglez ce message à votre profil.", "Pin this post to your profile.": "Épinglez ce message à votre profil.",
"Administered by": "Administré par", "Administered by": "Administré par",
"Version": "Version", "Version": "Version",
"Skip to timeline": "Passer à la chronologie" "Skip to timeline": "Passer à la chronologie",
"Skip to Newswire": "Passer à Newswire",
"Skip to Links": "Passer aux liens Web"
} }

View File

@ -364,5 +364,7 @@
"Pin this post to your profile.": "Bioráin an post seo le do phróifíl.", "Pin this post to your profile.": "Bioráin an post seo le do phróifíl.",
"Administered by": "Riartha ag", "Administered by": "Riartha ag",
"Version": "Leagan", "Version": "Leagan",
"Skip to timeline": "Scipeáil chuig an amlíne" "Skip to timeline": "Scipeáil chuig an amlíne",
"Skip to Newswire": "Scipeáil chuig Newswire",
"Skip to Links": "Scipeáil chuig Naisc Ghréasáin"
} }

View File

@ -364,5 +364,7 @@
"Pin this post to your profile.": "इस पोस्ट को अपनी प्रोफाइल पर पिन करें।", "Pin this post to your profile.": "इस पोस्ट को अपनी प्रोफाइल पर पिन करें।",
"Administered by": "द्वारा प्रशासित", "Administered by": "द्वारा प्रशासित",
"Version": "संस्करण", "Version": "संस्करण",
"Skip to timeline": "टाइमलाइन पर जाएं" "Skip to timeline": "टाइमलाइन पर जाएं",
"Skip to Newswire": "Newswire पर जाएं",
"Skip to Links": "वेब लिंक पर जाएं"
} }

View File

@ -364,5 +364,7 @@
"Pin this post to your profile.": "Metti questo post sul tuo profilo.", "Pin this post to your profile.": "Metti questo post sul tuo profilo.",
"Administered by": "Amministrato da", "Administered by": "Amministrato da",
"Version": "Versione", "Version": "Versione",
"Skip to timeline": "Passa alla sequenza temporale" "Skip to timeline": "Passa alla sequenza temporale",
"Skip to Newswire": "Passa a Newswire",
"Skip to Links": "Passa a collegamenti Web"
} }

View File

@ -364,5 +364,7 @@
"Pin this post to your profile.": "この投稿をプロフィールに固定します。", "Pin this post to your profile.": "この投稿をプロフィールに固定します。",
"Administered by": "管理者", "Administered by": "管理者",
"Version": "バージョン", "Version": "バージョン",
"Skip to timeline": "タイムラインにスキップ" "Skip to timeline": "タイムラインにスキップ",
"Skip to Newswire": "Newswireにスキップ",
"Skip to Links": "Webリンクにスキップ"
} }

View File

@ -360,5 +360,7 @@
"Pin this post to your profile.": "Pin this post to your profile.", "Pin this post to your profile.": "Pin this post to your profile.",
"Administered by": "Administered by", "Administered by": "Administered by",
"Version": "Version", "Version": "Version",
"Skip to timeline": "Skip to timeline" "Skip to timeline": "Skip to timeline",
"Skip to Newswire": "Skip to Newswire",
"Skip to Links": "Skip to Links"
} }

View File

@ -364,5 +364,7 @@
"Pin this post to your profile.": "Fixar esta postagem em seu perfil.", "Pin this post to your profile.": "Fixar esta postagem em seu perfil.",
"Administered by": "Administrado por", "Administered by": "Administrado por",
"Version": "Versão", "Version": "Versão",
"Skip to timeline": "Pular para a linha do tempo" "Skip to timeline": "Pular para a linha do tempo",
"Skip to Newswire": "Pular para Newswire",
"Skip to Links": "Pular para links da web"
} }

View File

@ -364,5 +364,7 @@
"Pin this post to your profile.": "Закрепите это сообщение в своем профиле.", "Pin this post to your profile.": "Закрепите это сообщение в своем профиле.",
"Administered by": "Под управлением", "Administered by": "Под управлением",
"Version": "Версия", "Version": "Версия",
"Skip to timeline": "Перейти к временной шкале" "Skip to timeline": "Перейти к временной шкале",
"Skip to Newswire": "Перейти к ленте новостей",
"Skip to Links": "Перейти к веб-ссылкам"
} }

View File

@ -364,5 +364,7 @@
"Pin this post to your profile.": "将此帖子固定到您的个人资料。", "Pin this post to your profile.": "将此帖子固定到您的个人资料。",
"Administered by": "由...管理", "Administered by": "由...管理",
"Version": "版", "Version": "版",
"Skip to timeline": "跳到时间线" "Skip to timeline": "跳到时间线",
"Skip to Newswire": "跳到新闻专线",
"Skip to Links": "跳到网页链接"
} }

View File

@ -372,6 +372,12 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
'<a class="skip-main" href="#timeline">' + \ '<a class="skip-main" href="#timeline">' + \
translate['Skip to timeline'] + '</a></label> | ' + \ translate['Skip to timeline'] + '</a></label> | ' + \
'<label class="transparent">' + \ '<label class="transparent">' + \
'<a class="skip-newswire" href="#newswire">' + \
translate['Skip to Newswire'] + '</a></label> | ' + \
'<label class="transparent">' + \
'<a class="skip-links" href="#links">' + \
translate['Skip to Links'] + '</a></label> | ' + \
'<label class="transparent">' + \
'<a href="/users/' + nickname + '">' + \ '<a href="/users/' + nickname + '">' + \
translate['Switch to profile view'] + '</a></label>' + \ translate['Switch to profile view'] + '</a></label>' + \
'</div>\n' '</div>\n'
@ -420,7 +426,8 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
httpPrefix, translate, httpPrefix, translate,
editor, False, None, rssIconAtTop, editor, False, None, rssIconAtTop,
True, False, theme) True, False, theme)
tlStr += ' <td valign="top" class="col-left">' + \ tlStr += ' <td valign="top" class="col-left" ' + \
'id="links" tabindex="-1">' + \
leftColumnStr + ' </td>\n' leftColumnStr + ' </td>\n'
# center column containing posts # center column containing posts
tlStr += ' <td valign="top" class="col-center">\n' tlStr += ' <td valign="top" class="col-center">\n'
@ -626,7 +633,8 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
rssIconAtTop, publishButtonAtTop, rssIconAtTop, publishButtonAtTop,
authorized, True, theme) authorized, True, theme)
tlStr += ' </main>\n' tlStr += ' </main>\n'
tlStr += ' <td valign="top" class="col-right">' + \ tlStr += ' <td valign="top" class="col-right" ' + \
'id="newswire" tabindex="-1">' + \
rightColumnStr + ' </td>\n' rightColumnStr + ' </td>\n'
tlStr += ' </tr>\n' tlStr += ' </tr>\n'