Scope translations

master
Bob Mottram 2019-09-07 12:19:44 +01:00
parent 4e9f6b93b9
commit 0a48919ac6
4 changed files with 12 additions and 9 deletions

View File

@ -131,5 +131,6 @@
"No results": "Keine Ergebnisse", "No results": "Keine Ergebnisse",
"Skills search": "Fähigkeiten suchen", "Skills search": "Fähigkeiten suchen",
"Shared Items Search": "Suche nach freigegebenen Elementen", "Shared Items Search": "Suche nach freigegebenen Elementen",
"Contact": "Kontakt" "Contact": "Kontakt",
"Shared Item": "Freigegebenes"
} }

View File

@ -131,5 +131,6 @@
"No results": "No results", "No results": "No results",
"Skills search": "Skills search", "Skills search": "Skills search",
"Shared Items Search": "Shared Items Search", "Shared Items Search": "Shared Items Search",
"Contact": "Contact" "Contact": "Contact",
"Shared Item": "Shared Item"
} }

View File

@ -131,5 +131,6 @@
"No results": "Aucun résultat", "No results": "Aucun résultat",
"Skills search": "Recherche de compétences", "Skills search": "Recherche de compétences",
"Shared Items Search": "Recherche d'articles partagés", "Shared Items Search": "Recherche d'articles partagés",
"Contact": "Contact" "Contact": "Contact",
"Shared Item": "Article"
} }

View File

@ -730,30 +730,30 @@ def htmlNewPost(translate: {},baseDir: str, \
pathBase=path.replace('/newreport','').replace('/newpost','').replace('/newshare','').replace('/newunlisted','').replace('/newfollowers','').replace('/newdm','') pathBase=path.replace('/newreport','').replace('/newpost','').replace('/newshare','').replace('/newunlisted','').replace('/newfollowers','').replace('/newdm','')
scopeIcon='scope_public.png' scopeIcon='scope_public.png'
scopeDescription='Public' scopeDescription=translate['Public']
placeholderSubject=translate['Subject or Content Warning (optional)']+'...' placeholderSubject=translate['Subject or Content Warning (optional)']+'...'
placeholderMessage=translate['Write something']+'...' placeholderMessage=translate['Write something']+'...'
extraFields='' extraFields=''
endpoint='newpost' endpoint='newpost'
if path.endswith('/newunlisted'): if path.endswith('/newunlisted'):
scopeIcon='scope_unlisted.png' scopeIcon='scope_unlisted.png'
scopeDescription='Unlisted' scopeDescription=translate['Unlisted']
endpoint='newunlisted' endpoint='newunlisted'
if path.endswith('/newfollowers'): if path.endswith('/newfollowers'):
scopeIcon='scope_followers.png' scopeIcon='scope_followers.png'
scopeDescription='Followers' scopeDescription=translate['Followers']
endpoint='newfollowers' endpoint='newfollowers'
if path.endswith('/newdm'): if path.endswith('/newdm'):
scopeIcon='scope_dm.png' scopeIcon='scope_dm.png'
scopeDescription='DM' scopeDescription=translate['DM']
endpoint='newdm' endpoint='newdm'
if path.endswith('/newreport'): if path.endswith('/newreport'):
scopeIcon='scope_report.png' scopeIcon='scope_report.png'
scopeDescription='Report' scopeDescription=translate['Report']
endpoint='newreport' endpoint='newreport'
if path.endswith('/newshare'): if path.endswith('/newshare'):
scopeIcon='scope_share.png' scopeIcon='scope_share.png'
scopeDescription='Shared Item' scopeDescription=translate['Shared Item']
placeholderSubject=translate['Name of the shared item']+'...' placeholderSubject=translate['Name of the shared item']+'...'
placeholderMessage=translate['Description of the item being shared']+'...' placeholderMessage=translate['Description of the item being shared']+'...'
endpoint='newshare' endpoint='newshare'