Translations for roles

merge-requests/8/head
Bob Mottram 2020-11-24 17:35:33 +00:00
parent 6011031b51
commit 56fdc81fae
16 changed files with 81 additions and 17 deletions

View File

@ -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": "المفوض"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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": "डैलिगेटर"
}

View File

@ -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"
}

View File

@ -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": "委任者"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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": "делегат"
}

View File

@ -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": "委托人"
}

View File

@ -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,6 +812,9 @@ def htmlProfileRoles(translate: {}, nickname: str, domain: str,
'<div class="roles">\n<h2>' + project + \
'</h2>\n<div class="roles-inner">\n'
for role in rolesList:
if translate.get(role):
profileStr += '<h3>' + translate[role] + '</h3>\n'
else:
profileStr += '<h3>' + role + '</h3>\n'
profileStr += '</div></div>\n'
if len(profileStr) == 0: