Keyboard navigation in shell browsers: skip to the main timeline

merge-requests/30/head
Bob Mottram 2021-02-01 12:47:34 +00:00
parent 6bb8847952
commit b6ad1895c6
16 changed files with 42 additions and 19 deletions

View File

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

View File

@ -363,5 +363,6 @@
"Other accounts": "Altres comptes",
"Pin this post to your profile.": "Fixa aquesta publicació al teu perfil.",
"Administered by": "Administrat per",
"Version": "Versió"
"Version": "Versió",
"Skip to timeline": "Ves a la cronologia"
}

View File

@ -363,5 +363,6 @@
"Other accounts": "Cyfrifon eraill",
"Pin this post to your profile.": "Piniwch y post hwn i'ch proffil.",
"Administered by": "Gweinyddir gan",
"Version": "Fersiwn"
"Version": "Fersiwn",
"Skip to timeline": "Neidio i'r llinell amser"
}

View File

@ -363,5 +363,6 @@
"Other accounts": "Andere Konten",
"Pin this post to your profile.": "Pin diesen Beitrag zu Ihrem Profil.",
"Administered by": "Verwaltet von",
"Version": "Ausführung"
"Version": "Ausführung",
"Skip to timeline": "Zur Zeitleiste springen"
}

View File

@ -363,5 +363,6 @@
"Other accounts": "Other accounts",
"Pin this post to your profile.": "Pin this post to your profile.",
"Administered by": "Administered by",
"Version": "Version"
"Version": "Version",
"Skip to timeline": "Skip to timeline"
}

View File

@ -363,5 +363,6 @@
"Other accounts": "Otras cuentas",
"Pin this post to your profile.": "Fija esta publicación a tu perfil.",
"Administered by": "Administrado por",
"Version": "Versión"
"Version": "Versión",
"Skip to timeline": "Saltar a la línea de tiempo"
}

View File

@ -363,5 +363,6 @@
"Other accounts": "Autres comptes",
"Pin this post to your profile.": "Épinglez ce message à votre profil.",
"Administered by": "Administré par",
"Version": "Version"
"Version": "Version",
"Skip to timeline": "Passer à la chronologie"
}

View File

@ -363,5 +363,6 @@
"Other accounts": "Cuntais eile",
"Pin this post to your profile.": "Bioráin an post seo le do phróifíl.",
"Administered by": "Riartha ag",
"Version": "Leagan"
"Version": "Leagan",
"Skip to timeline": "Scipeáil chuig an amlíne"
}

View File

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

View File

@ -363,5 +363,6 @@
"Other accounts": "Altri account",
"Pin this post to your profile.": "Metti questo post sul tuo profilo.",
"Administered by": "Amministrato da",
"Version": "Versione"
"Version": "Versione",
"Skip to timeline": "Passa alla sequenza temporale"
}

View File

@ -363,5 +363,6 @@
"Other accounts": "その他のアカウント",
"Pin this post to your profile.": "この投稿をプロフィールに固定します。",
"Administered by": "管理者",
"Version": "バージョン"
"Version": "バージョン",
"Skip to timeline": "タイムラインにスキップ"
}

View File

@ -359,5 +359,6 @@
"Other accounts": "Other accounts",
"Pin this post to your profile.": "Pin this post to your profile.",
"Administered by": "Administered by",
"Version": "Version"
"Version": "Version",
"Skip to timeline": "Skip to timeline"
}

View File

@ -363,5 +363,6 @@
"Other accounts": "Outras contas",
"Pin this post to your profile.": "Fixar esta postagem em seu perfil.",
"Administered by": "Administrado por",
"Version": "Versão"
"Version": "Versão",
"Skip to timeline": "Pular para a linha do tempo"
}

View File

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

View File

@ -363,5 +363,6 @@
"Other accounts": "其他账户",
"Pin this post to your profile.": "将此帖子固定到您的个人资料。",
"Administered by": "由...管理",
"Version": "版"
"Version": "版",
"Skip to timeline": "跳到时间线"
}

View File

@ -363,12 +363,18 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
'<button class="button"><span>' + \
translate['Post'] + '</span></button></a>'
# This creates a link to the profile page when viewed
# in lynx, but should be invisible in a graphical web browser
# This creates a link to skip to the timeline and change to
# profile view when accessed within lynx, but should be
# invisible in a graphical web browser
tlStr += \
'<div class="transparent"><label class="transparent">' + \
'<div class="transparent">' + \
'<label class="transparent">' + \
'<a class="skip-main" href="#timeline">' + \
translate['Skip to timeline'] + '</a></label>' + \
'<label class="transparent">' + \
'<a href="/users/' + nickname + '">' + \
translate['Switch to profile view'] + '</a></label></div>\n'
translate['Switch to profile view'] + '</a></label>' + \
'</div>\n'
# banner and row of buttons
tlStr += \
@ -418,6 +424,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
leftColumnStr + ' </td>\n'
# center column containing posts
tlStr += ' <td valign="top" class="col-center">\n'
tlStr += ' <main id="timeline" tabindex="-1">\n'
if not fullWidthTimelineButtonHeader:
tlStr += \
@ -618,6 +625,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
showPublishAsIcon,
rssIconAtTop, publishButtonAtTop,
authorized, True, theme)
tlStr += ' </main>\n'
tlStr += ' <td valign="top" class="col-right">' + \
rightColumnStr + ' </td>\n'
tlStr += ' </tr>\n'