forked from indymedia/epicyon
Extra translations
parent
0a48919ac6
commit
c9e92d95d5
|
@ -132,5 +132,9 @@
|
||||||
"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"
|
"Shared Item": "Freigegebenes",
|
||||||
|
"Mod": "Mod",
|
||||||
|
"Approve follow requests": "Follow-Anfragen genehmigen",
|
||||||
|
"Page down": "Bild runter",
|
||||||
|
"Page up": "Bild auf"
|
||||||
}
|
}
|
||||||
|
|
|
@ -132,5 +132,9 @@
|
||||||
"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"
|
"Shared Item": "Shared Item",
|
||||||
|
"Mod": "Mod",
|
||||||
|
"Approve follow requests": "Approve follow requests",
|
||||||
|
"Page down": "Page down",
|
||||||
|
"Page up": "Page up"
|
||||||
}
|
}
|
||||||
|
|
|
@ -132,5 +132,9 @@
|
||||||
"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"
|
"Shared Item": "Article",
|
||||||
|
"Mod": "Mod",
|
||||||
|
"Approve follow requests": "Approuver les demandes de suivi",
|
||||||
|
"Page down": "Bas de page",
|
||||||
|
"Page up": "Haut de page"
|
||||||
}
|
}
|
||||||
|
|
|
@ -162,7 +162,7 @@ def htmlSearchSharedItems(translate: {}, \
|
||||||
' <input type="hidden" name="actor" value="'+actor+'">' \
|
' <input type="hidden" name="actor" value="'+actor+'">' \
|
||||||
' <input type="hidden" name="searchtext" value="'+searchStrLower+'"><br>' \
|
' <input type="hidden" name="searchtext" value="'+searchStrLower+'"><br>' \
|
||||||
' <center><a href="'+actor+'" type="submit" name="submitSearch">' \
|
' <center><a href="'+actor+'" type="submit" name="submitSearch">' \
|
||||||
' <img class="pageicon" src="/icons/pageup.png" title="Page up" alt="Page up"/></a>' \
|
' <img class="pageicon" src="/icons/pageup.png" title="'+translate['Page up']+'" alt="'+translate['Page up']+'"/></a>' \
|
||||||
' </center>' \
|
' </center>' \
|
||||||
'</form>'
|
'</form>'
|
||||||
resultsExist=True
|
resultsExist=True
|
||||||
|
@ -176,7 +176,7 @@ def htmlSearchSharedItems(translate: {}, \
|
||||||
' <input type="hidden" name="actor" value="'+actor+'">' \
|
' <input type="hidden" name="actor" value="'+actor+'">' \
|
||||||
' <input type="hidden" name="searchtext" value="'+searchStrLower+'"><br>' \
|
' <input type="hidden" name="searchtext" value="'+searchStrLower+'"><br>' \
|
||||||
' <center><a href="'+actor+'" type="submit" name="submitSearch">' \
|
' <center><a href="'+actor+'" type="submit" name="submitSearch">' \
|
||||||
' <img class="pageicon" src="/icons/pagedown.png" title="Page down" alt="Page down"/></a>' \
|
' <img class="pageicon" src="/icons/pagedown.png" title="'+translate['Page down']+'" alt="'+translate['Page down']+'"/></a>' \
|
||||||
' </center>' \
|
' </center>' \
|
||||||
'</form>'
|
'</form>'
|
||||||
break
|
break
|
||||||
|
@ -253,7 +253,7 @@ def htmlHashtagSearch(translate: {}, \
|
||||||
hashtagSearchForm+='<center><h1>#'+hashtag+'</h1></center>'
|
hashtagSearchForm+='<center><h1>#'+hashtag+'</h1></center>'
|
||||||
if startIndex!=len(lines)-1:
|
if startIndex!=len(lines)-1:
|
||||||
# previous page link
|
# previous page link
|
||||||
hashtagSearchForm+='<center><a href="/tags/'+hashtag+'?page='+str(pageNumber-1)+'"><img class="pageicon" src="/icons/pageup.png" title="Page up" alt="Page up"></a></center>'
|
hashtagSearchForm+='<center><a href="/tags/'+hashtag+'?page='+str(pageNumber-1)+'"><img class="pageicon" src="/icons/pageup.png" title="'+translate['Page up']+'" alt="'+translate['Page up']+'"></a></center>'
|
||||||
index=startIndex
|
index=startIndex
|
||||||
while index>=endIndex:
|
while index>=endIndex:
|
||||||
postId=lines[index].strip('\n')
|
postId=lines[index].strip('\n')
|
||||||
|
@ -285,7 +285,7 @@ def htmlHashtagSearch(translate: {}, \
|
||||||
|
|
||||||
if endIndex>0:
|
if endIndex>0:
|
||||||
# next page link
|
# next page link
|
||||||
hashtagSearchForm+='<center><a href="/tags/'+hashtag+'?page='+str(pageNumber+1)+'"><img class="pageicon" src="/icons/pagedown.png" title="Page down" alt="Page down"></a></center>'
|
hashtagSearchForm+='<center><a href="/tags/'+hashtag+'?page='+str(pageNumber+1)+'"><img class="pageicon" src="/icons/pagedown.png" title="'+translate['Page down']+'" alt="'+translate['Page down']+'"></a></center>'
|
||||||
hashtagSearchForm+=htmlFooter()
|
hashtagSearchForm+=htmlFooter()
|
||||||
return hashtagSearchForm
|
return hashtagSearchForm
|
||||||
|
|
||||||
|
@ -944,7 +944,7 @@ def htmlProfileFollowing(translate: {},baseDir: str,httpPrefix: str, \
|
||||||
if authorized and pageNumber>1:
|
if authorized and pageNumber>1:
|
||||||
# page up arrow
|
# page up arrow
|
||||||
profileStr+= \
|
profileStr+= \
|
||||||
'<center><a href="'+actor+'/'+feedName+'?page='+str(pageNumber-1)+'"><img class="pageicon" src="/icons/pageup.png" title="Page up" alt="Page up"></a></center>'
|
'<center><a href="'+actor+'/'+feedName+'?page='+str(pageNumber-1)+'"><img class="pageicon" src="/icons/pageup.png" title="'+translate['Page up']+'" alt="'+translate['Page up']+'"></a></center>'
|
||||||
|
|
||||||
for item in followingJson['orderedItems']:
|
for item in followingJson['orderedItems']:
|
||||||
profileStr+= \
|
profileStr+= \
|
||||||
|
@ -957,7 +957,7 @@ def htmlProfileFollowing(translate: {},baseDir: str,httpPrefix: str, \
|
||||||
if len(followingJson['orderedItems'])>=maxItemsPerPage:
|
if len(followingJson['orderedItems'])>=maxItemsPerPage:
|
||||||
# page down arrow
|
# page down arrow
|
||||||
profileStr+= \
|
profileStr+= \
|
||||||
'<center><a href="'+actor+'/'+feedName+'?page='+str(pageNumber+1)+'"><img class="pageicon" src="/icons/pagedown.png" title="Page down" alt="Page down"></a></center>'
|
'<center><a href="'+actor+'/'+feedName+'?page='+str(pageNumber+1)+'"><img class="pageicon" src="/icons/pagedown.png" title="'+translate['Page down']+'" alt="'+translate['Page down']+'"></a></center>'
|
||||||
return profileStr
|
return profileStr
|
||||||
|
|
||||||
def htmlProfileRoles(translate: {},nickname: str,domain: str,rolesJson: {}) -> str:
|
def htmlProfileRoles(translate: {},nickname: str,domain: str,rolesJson: {}) -> str:
|
||||||
|
@ -1823,12 +1823,12 @@ def htmlTimeline(translate: {},pageNumber: int, \
|
||||||
for line in f:
|
for line in f:
|
||||||
if len(line)>0:
|
if len(line)>0:
|
||||||
# show follow approvals icon
|
# show follow approvals icon
|
||||||
followApprovals='<a href="'+actor+'/followers"><img class="right" alt="Approve follow requests" title="Approve follow requests" src="/icons/person.png"/></a>'
|
followApprovals='<a href="'+actor+'/followers"><img class="right" alt="'+translate['Approve follow requests']+'" title="'+translate['Approve follow requests']+'" src="/icons/person.png"/></a>'
|
||||||
break
|
break
|
||||||
|
|
||||||
moderationButtonStr=''
|
moderationButtonStr=''
|
||||||
if moderator:
|
if moderator:
|
||||||
moderationButtonStr='<a href="'+actor+'/moderation"><button class="'+moderationButton+'"><span>Mod </span></button></a>'
|
moderationButtonStr='<a href="'+actor+'/moderation"><button class="'+moderationButton+'"><span>'+translate['Mod']+' </span></button></a>'
|
||||||
|
|
||||||
tlStr=htmlHeader(profileStyle)
|
tlStr=htmlHeader(profileStyle)
|
||||||
#if (boxName=='inbox' or boxName=='dm') and pageNumber==1:
|
#if (boxName=='inbox' or boxName=='dm') and pageNumber==1:
|
||||||
|
@ -1877,7 +1877,7 @@ def htmlTimeline(translate: {},pageNumber: int, \
|
||||||
|
|
||||||
# page up arrow
|
# page up arrow
|
||||||
if pageNumber>1:
|
if pageNumber>1:
|
||||||
tlStr+='<center><a href="'+actor+'/'+boxName+'?page='+str(pageNumber-1)+'"><img class="pageicon" src="/icons/pageup.png" title="Page up" alt="Page up"></a></center>'
|
tlStr+='<center><a href="'+actor+'/'+boxName+'?page='+str(pageNumber-1)+'"><img class="pageicon" src="/icons/pageup.png" title="'+translate['Page up']+'" alt="'+translate['Page up']+'"></a></center>'
|
||||||
|
|
||||||
# show the posts
|
# show the posts
|
||||||
itemCtr=0
|
itemCtr=0
|
||||||
|
@ -1897,7 +1897,7 @@ def htmlTimeline(translate: {},pageNumber: int, \
|
||||||
|
|
||||||
# page down arrow
|
# page down arrow
|
||||||
if itemCtr>=itemsPerPage:
|
if itemCtr>=itemsPerPage:
|
||||||
tlStr+='<center><a href="'+actor+'/'+boxName+'?page='+str(pageNumber+1)+'"><img class="pageicon" src="/icons/pagedown.png" title="Page down" alt="Page down"></a></center>'
|
tlStr+='<center><a href="'+actor+'/'+boxName+'?page='+str(pageNumber+1)+'"><img class="pageicon" src="/icons/pagedown.png" title="'+translate['Page down']+'" alt="'+translate['Page down']+'"></a></center>'
|
||||||
tlStr+=htmlFooter()
|
tlStr+=htmlFooter()
|
||||||
return tlStr
|
return tlStr
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue