mirror of https://gitlab.com/bashrc2/epicyon
First time user prompt
parent
774219c7ce
commit
745035f647
|
@ -336,5 +336,6 @@
|
|||
"editor": "محرر",
|
||||
"delegator": "المفوض",
|
||||
"Debian": "Debian",
|
||||
"Select the edit icon to add RSS feeds": "حدد رمز التحرير لإضافة موجز ويب لـ RSS"
|
||||
"Select the edit icon to add RSS feeds": "حدد رمز التحرير لإضافة موجز ويب لـ RSS",
|
||||
"Select the edit icon to add web links": "حدد رمز التحرير لإضافة روابط الويب"
|
||||
}
|
||||
|
|
|
@ -336,5 +336,6 @@
|
|||
"editor": "editor",
|
||||
"delegator": "delegador",
|
||||
"Debian": "Debian",
|
||||
"Select the edit icon to add RSS feeds": "Seleccioneu la icona d'edició per afegir canals RSS"
|
||||
"Select the edit icon to add RSS feeds": "Seleccioneu la icona d'edició per afegir canals RSS",
|
||||
"Select the edit icon to add web links": "Seleccioneu la icona d'edició per afegir enllaços web"
|
||||
}
|
||||
|
|
|
@ -336,5 +336,6 @@
|
|||
"editor": "golygydd",
|
||||
"delegator": "dirprwy",
|
||||
"Debian": "Debian",
|
||||
"Select the edit icon to add RSS feeds": "Dewiswch yr eicon golygu i ychwanegu porthwyr RSS"
|
||||
"Select the edit icon to add RSS feeds": "Dewiswch yr eicon golygu i ychwanegu porthwyr RSS",
|
||||
"Select the edit icon to add web links": "Dewiswch yr eicon golygu i ychwanegu dolenni gwe"
|
||||
}
|
||||
|
|
|
@ -336,5 +336,6 @@
|
|||
"editor": "Editor",
|
||||
"delegator": "Delegator",
|
||||
"Debian": "Debian",
|
||||
"Select the edit icon to add RSS feeds": "Wählen Sie das Bearbeitungssymbol, um RSS-Feeds hinzuzufügen"
|
||||
"Select the edit icon to add RSS feeds": "Wählen Sie das Bearbeitungssymbol, um RSS-Feeds hinzuzufügen",
|
||||
"Select the edit icon to add web links": "Wählen Sie das Bearbeitungssymbol, um Weblinks hinzuzufügen"
|
||||
}
|
||||
|
|
|
@ -336,5 +336,6 @@
|
|||
"editor": "editor",
|
||||
"delegator": "delegator",
|
||||
"Debian": "Debian",
|
||||
"Select the edit icon to add RSS feeds": "Select the edit icon to add RSS feeds"
|
||||
"Select the edit icon to add RSS feeds": "Select the edit icon to add RSS feeds",
|
||||
"Select the edit icon to add web links": "Select the edit icon to add web links"
|
||||
}
|
||||
|
|
|
@ -336,5 +336,6 @@
|
|||
"editor": "editor",
|
||||
"delegator": "delegador",
|
||||
"Debian": "Debian",
|
||||
"Select the edit icon to add RSS feeds": "Seleccione el icono de edición para agregar fuentes RSS"
|
||||
"Select the edit icon to add RSS feeds": "Seleccione el icono de edición para agregar fuentes RSS",
|
||||
"Select the edit icon to add web links": "Seleccione el icono de edición para agregar enlaces web"
|
||||
}
|
||||
|
|
|
@ -336,5 +336,6 @@
|
|||
"editor": "éditeur",
|
||||
"delegator": "délégant",
|
||||
"Debian": "Debian",
|
||||
"Select the edit icon to add RSS feeds": "Sélectionnez l'icône d'édition pour ajouter des flux RSS"
|
||||
"Select the edit icon to add RSS feeds": "Sélectionnez l'icône d'édition pour ajouter des flux RSS",
|
||||
"Select the edit icon to add web links": "Sélectionnez l'icône de modification pour ajouter des liens Web"
|
||||
}
|
||||
|
|
|
@ -336,5 +336,6 @@
|
|||
"editor": "eagarthóir",
|
||||
"delegator": "toscaire",
|
||||
"Debian": "Debian",
|
||||
"Select the edit icon to add RSS feeds": "Roghnaigh an deilbhín eagar chun fothaí RSS a chur leis"
|
||||
"Select the edit icon to add RSS feeds": "Roghnaigh an deilbhín eagar chun fothaí RSS a chur leis",
|
||||
"Select the edit icon to add web links": "Roghnaigh an deilbhín eagar chun naisc ghréasáin a chur leis"
|
||||
}
|
||||
|
|
|
@ -336,5 +336,6 @@
|
|||
"editor": "संपादक",
|
||||
"delegator": "डैलिगेटर",
|
||||
"Debian": "Debian",
|
||||
"Select the edit icon to add RSS feeds": "RSS फ़ीड जोड़ने के लिए संपादन आइकन का चयन करें"
|
||||
"Select the edit icon to add RSS feeds": "RSS फ़ीड जोड़ने के लिए संपादन आइकन का चयन करें",
|
||||
"Select the edit icon to add web links": "वेब लिंक जोड़ने के लिए संपादन आइकन का चयन करें"
|
||||
}
|
||||
|
|
|
@ -336,5 +336,6 @@
|
|||
"editor": "editore",
|
||||
"delegator": "delegatore",
|
||||
"Debian": "Debian",
|
||||
"Select the edit icon to add RSS feeds": "Seleziona l'icona di modifica per aggiungere feed RSS"
|
||||
"Select the edit icon to add RSS feeds": "Seleziona l'icona di modifica per aggiungere feed RSS",
|
||||
"Select the edit icon to add web links": "Seleziona l'icona di modifica per aggiungere link web"
|
||||
}
|
||||
|
|
|
@ -336,5 +336,6 @@
|
|||
"editor": "編集者",
|
||||
"delegator": "委任者",
|
||||
"Debian": "Debian",
|
||||
"Select the edit icon to add RSS feeds": "編集アイコンを選択してRSSフィードを追加します"
|
||||
"Select the edit icon to add RSS feeds": "編集アイコンを選択してRSSフィードを追加します",
|
||||
"Select the edit icon to add web links": "編集アイコンを選択してWebリンクを追加します"
|
||||
}
|
||||
|
|
|
@ -332,5 +332,6 @@
|
|||
"editor": "editor",
|
||||
"delegator": "delegator",
|
||||
"Debian": "Debian",
|
||||
"Select the edit icon to add RSS feeds": "Select the edit icon to add RSS feeds"
|
||||
"Select the edit icon to add RSS feeds": "Select the edit icon to add RSS feeds",
|
||||
"Select the edit icon to add web links": "Select the edit icon to add web links"
|
||||
}
|
||||
|
|
|
@ -336,5 +336,6 @@
|
|||
"editor": "editor",
|
||||
"delegator": "delegador",
|
||||
"Debian": "Debian",
|
||||
"Select the edit icon to add RSS feeds": "Selecione o ícone de edição para adicionar feeds RSS"
|
||||
"Select the edit icon to add RSS feeds": "Selecione o ícone de edição para adicionar feeds RSS",
|
||||
"Select the edit icon to add web links": "Selecione o ícone de edição para adicionar links da web"
|
||||
}
|
||||
|
|
|
@ -336,5 +336,6 @@
|
|||
"editor": "редактор",
|
||||
"delegator": "делегат",
|
||||
"Debian": "Debian",
|
||||
"Select the edit icon to add RSS feeds": "Щелкните значок редактирования, чтобы добавить RSS-каналы"
|
||||
"Select the edit icon to add RSS feeds": "Щелкните значок редактирования, чтобы добавить RSS-каналы",
|
||||
"Select the edit icon to add web links": "Щелкните значок редактирования, чтобы добавить веб-ссылки"
|
||||
}
|
||||
|
|
|
@ -336,5 +336,6 @@
|
|||
"editor": "编辑",
|
||||
"delegator": "委托人",
|
||||
"Debian": "Debian",
|
||||
"Select the edit icon to add RSS feeds": "选择编辑图标以添加RSS feed"
|
||||
"Select the edit icon to add RSS feeds": "选择编辑图标以添加RSS feed",
|
||||
"Select the edit icon to add web links": "选择编辑图标以添加Web链接"
|
||||
}
|
||||
|
|
|
@ -21,6 +21,13 @@ from webapp_utils import htmlFooter
|
|||
from webapp_utils import getBannerFile
|
||||
|
||||
|
||||
def linksExist(baseDir: str) -> bool:
|
||||
"""Returns true if links have been created
|
||||
"""
|
||||
linksFilename = baseDir + '/accounts/links.txt'
|
||||
return os.path.isfile(linksFilename)
|
||||
|
||||
|
||||
def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
|
||||
httpPrefix: str, translate: {},
|
||||
iconsPath: str, editor: bool,
|
||||
|
@ -232,12 +239,19 @@ def htmlLinksMobile(cssCache: {}, baseDir: str,
|
|||
headerButtonsFrontScreen(translate, nickname,
|
||||
'links', authorized,
|
||||
iconsAsButtons, iconsPath) + '</center>'
|
||||
htmlStr += \
|
||||
getLeftColumnContent(baseDir, nickname, domainFull,
|
||||
httpPrefix, translate,
|
||||
iconsPath, editor,
|
||||
False, timelinePath,
|
||||
rssIconAtTop, False, False)
|
||||
if linksExist(baseDir):
|
||||
htmlStr += \
|
||||
getLeftColumnContent(baseDir, nickname, domainFull,
|
||||
httpPrefix, translate,
|
||||
iconsPath, editor,
|
||||
False, timelinePath,
|
||||
rssIconAtTop, False, False)
|
||||
else:
|
||||
if editor:
|
||||
htmlStr += '<br><br><br>\n'
|
||||
htmlStr += '<center>\n '
|
||||
htmlStr += translate['Select the edit icon to add web links']
|
||||
htmlStr += '\n</center>\n'
|
||||
|
||||
# end of col-left-mobile
|
||||
htmlStr += '</div>\n'
|
||||
|
|
Loading…
Reference in New Issue