diff --git a/translations/ar.json b/translations/ar.json index b94660914..ac34087ef 100644 --- a/translations/ar.json +++ b/translations/ar.json @@ -330,5 +330,9 @@ "RSS feed for your blog": "تغذية RSS لمدونتك", "Create a new shared item": "إنشاء عنصر مشترك جديد", "Rc3": "Rc3", - "Hashtag origins": "أصول الهاشتاق" + "Hashtag origins": "أصول الهاشتاق", + "admin": "مشرف", + "moderator": "الوسيط", + "editor": "محرر", + "delegator": "المفوض" } diff --git a/translations/ca.json b/translations/ca.json index 79570c6ed..34a8141bf 100644 --- a/translations/ca.json +++ b/translations/ca.json @@ -330,5 +330,9 @@ "RSS feed for your blog": "Feed RSS del vostre bloc", "Create a new shared item": "Creeu un element compartit nou", "Rc3": "Rc3", - "Hashtag origins": "Orígens de hashtag" + "Hashtag origins": "Orígens de hashtag", + "admin": "administrador", + "moderator": "moderador", + "editor": "editor", + "delegator": "delegador" } diff --git a/translations/cy.json b/translations/cy.json index 257465985..d0e7272a3 100644 --- a/translations/cy.json +++ b/translations/cy.json @@ -330,5 +330,9 @@ "RSS feed for your blog": "Porthiant RSS ar gyfer eich blog", "Create a new shared item": "Creu eitem newydd a rennir", "Rc3": "Rc3", - "Hashtag origins": "Gwreiddiau Hashtag" + "Hashtag origins": "Gwreiddiau Hashtag", + "admin": "admin", + "moderator": "cymedrolwr", + "editor": "golygydd", + "delegator": "dirprwy" } diff --git a/translations/de.json b/translations/de.json index be34734d7..92b38bcba 100644 --- a/translations/de.json +++ b/translations/de.json @@ -330,5 +330,9 @@ "RSS feed for your blog": "RSS-Feed für Ihr Blog", "Create a new shared item": "Erstellen Sie ein neues freigegebenes Element", "Rc3": "Rc3", - "Hashtag origins": "Hashtag-Ursprünge" + "Hashtag origins": "Hashtag-Ursprünge", + "admin": "Administrator", + "moderator": "Moderator", + "editor": "Editor", + "delegator": "Delegator" } diff --git a/translations/en.json b/translations/en.json index 695b6dfc6..16bbf7a14 100644 --- a/translations/en.json +++ b/translations/en.json @@ -330,5 +330,9 @@ "RSS feed for your blog": "RSS feed for your blog", "Create a new shared item": "Create a new shared item", "Rc3": "Rc3", - "Hashtag origins": "Hashtag origins" + "Hashtag origins": "Hashtag origins", + "admin": "admin", + "moderator": "moderator", + "editor": "editor", + "delegator": "delegator" } diff --git a/translations/es.json b/translations/es.json index a6a6af083..707b600ba 100644 --- a/translations/es.json +++ b/translations/es.json @@ -330,5 +330,9 @@ "RSS feed for your blog": "Fuente RSS para tu blog", "Create a new shared item": "Crea un nuevo elemento compartido", "Rc3": "Rc3", - "Hashtag origins": "Orígenes del hashtag" + "Hashtag origins": "Orígenes del hashtag", + "admin": "administración", + "moderator": "moderador", + "editor": "editor", + "delegator": "delegador" } diff --git a/translations/fr.json b/translations/fr.json index 9891601b8..c566809bf 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -330,5 +330,9 @@ "RSS feed for your blog": "Flux RSS pour votre blog", "Create a new shared item": "Créer un nouvel élément partagé", "Rc3": "Rc3", - "Hashtag origins": "Origines des hashtags" + "Hashtag origins": "Origines des hashtags", + "admin": "admin", + "moderator": "modérateur", + "editor": "éditeur", + "delegator": "délégant" } diff --git a/translations/ga.json b/translations/ga.json index edda6258c..0d3d06c22 100644 --- a/translations/ga.json +++ b/translations/ga.json @@ -330,5 +330,9 @@ "RSS feed for your blog": "Fotha RSS do do bhlag", "Create a new shared item": "Cruthaigh mír nua roinnte", "Rc3": "Rc3", - "Hashtag origins": "Bunús Hashtag" + "Hashtag origins": "Bunús Hashtag", + "admin": "admin", + "moderator": "modhnóir", + "editor": "eagarthóir", + "delegator": "toscaire" } diff --git a/translations/hi.json b/translations/hi.json index a036404e2..a05b0c609 100644 --- a/translations/hi.json +++ b/translations/hi.json @@ -330,5 +330,9 @@ "RSS feed for your blog": "RSS आपके ब्लॉग के लिए फ़ीड करता है", "Create a new shared item": "एक नया साझा आइटम बनाएं", "Rc3": "Rc3", - "Hashtag origins": "हैशटैग की उत्पत्ति" + "Hashtag origins": "हैशटैग की उत्पत्ति", + "admin": "व्यवस्थापक", + "moderator": "मध्यस्थ", + "editor": "संपादक", + "delegator": "डैलिगेटर" } diff --git a/translations/it.json b/translations/it.json index 0e6d10dfb..5fabb6627 100644 --- a/translations/it.json +++ b/translations/it.json @@ -330,5 +330,9 @@ "RSS feed for your blog": "Feed RSS per il tuo blog", "Create a new shared item": "Crea un nuovo elemento condiviso", "Rc3": "Rc3", - "Hashtag origins": "Origini hashtag" + "Hashtag origins": "Origini hashtag", + "admin": "admin", + "moderator": "moderatore", + "editor": "editore", + "delegator": "delegatore" } diff --git a/translations/ja.json b/translations/ja.json index b7e8a027f..84f50b8ca 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -330,5 +330,9 @@ "RSS feed for your blog": "ブログのRSSフィード", "Create a new shared item": "新しい共有アイテムを作成する", "Rc3": "Rc3", - "Hashtag origins": "ハッシュタグの起源" + "Hashtag origins": "ハッシュタグの起源", + "admin": "管理者", + "moderator": "モデレータ", + "editor": "編集者", + "delegator": "委任者" } diff --git a/translations/oc.json b/translations/oc.json index 2a8664f09..5c49bb012 100644 --- a/translations/oc.json +++ b/translations/oc.json @@ -326,5 +326,9 @@ "RSS feed for your blog": "RSS feed for your blog", "Create a new shared item": "Create a new shared item", "Rc3": "Rc3", - "Hashtag origins": "Hashtag origins" + "Hashtag origins": "Hashtag origins", + "admin": "admin", + "moderator": "moderator", + "editor": "editor", + "delegator": "delegator" } diff --git a/translations/pt.json b/translations/pt.json index e0119ef91..e7f042bea 100644 --- a/translations/pt.json +++ b/translations/pt.json @@ -330,5 +330,9 @@ "RSS feed for your blog": "Feed RSS para o seu blog", "Create a new shared item": "Crie um novo item compartilhado", "Rc3": "Rc3", - "Hashtag origins": "Origens de hashtag" + "Hashtag origins": "Origens de hashtag", + "admin": "admin", + "moderator": "moderador", + "editor": "editor", + "delegator": "delegador" } diff --git a/translations/ru.json b/translations/ru.json index 7431690e6..ed8f9f2f0 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -330,5 +330,9 @@ "RSS feed for your blog": "RSS-канал для вашего блога", "Create a new shared item": "Создать новый общий элемент", "Rc3": "Rc3", - "Hashtag origins": "Происхождение хэштегов" + "Hashtag origins": "Происхождение хэштегов", + "admin": "админ", + "moderator": "Модератор", + "editor": "редактор", + "delegator": "делегат" } diff --git a/translations/zh.json b/translations/zh.json index 89fb68163..b528d1e9f 100644 --- a/translations/zh.json +++ b/translations/zh.json @@ -330,5 +330,9 @@ "RSS feed for your blog": "您博客的RSS供稿", "Create a new shared item": "创建一个新的共享项目", "Rc3": "Rc3", - "Hashtag origins": "标签起源" + "Hashtag origins": "标签起源", + "admin": "管理员", + "moderator": "主持人", + "editor": "编辑", + "delegator": "委托人" } diff --git a/webapp_profile.py b/webapp_profile.py index eae41fa8c..841fcd327 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -664,7 +664,8 @@ def htmlProfile(rssIconAtTop: bool, maxItemsPerPage) if selected == 'roles': profileStr += \ - htmlProfileRoles(translate, nickname, domainFull, extraJson) + htmlProfileRoles(translate, nickname, domainFull, + extraJson) if selected == 'skills': profileStr += \ htmlProfileSkills(translate, nickname, domainFull, extraJson) @@ -811,7 +812,10 @@ def htmlProfileRoles(translate: {}, nickname: str, domain: str, '
\n

' + project + \ '

\n
\n' for role in rolesList: - profileStr += '

' + role + '

\n' + if translate.get(role): + profileStr += '

' + translate[role] + '

\n' + else: + profileStr += '

' + role + '

\n' profileStr += '
\n' if len(profileStr) == 0: profileStr += \