Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/translations
akuma06 b0aa111511 API update completely functionnal for app usage (#987)
The api has been tested and works as intended.
Now users do not have to go on the website to get back their token, they
just have to register.
Torrents show the right stats and username on api request when search is
done
User model when converted to JSON gives us the apitoken and md5 hash of
email (for gravatar)
Verification on upload is done by token and username instead of token
only
Errors are now given in json format in the api
Global api response handler for less code redundancy and same response
pattern
Moved user auth check in cookie_helper to user.go
Fixed bug with CSRF prevention in /api
Added translation strings
2017-06-13 16:01:57 +10:00
..
ca-es.json Update Catalan translation (#981) 2017-06-12 09:13:30 +10:00
de-de.all.json typo 2017-06-07 16:14:50 +02:00
en-us.all.json API update completely functionnal for app usage (#987) 2017-06-13 16:01:57 +10:00
es-es.all.json HTML tag fixes #904 2017-06-06 22:46:05 +02:00
fr-fr.all.json Updated translation. (#985) 2017-06-13 08:27:45 +10:00
hu-hu.all.json HTML tag fixes #904 2017-06-06 22:46:05 +02:00
is-is.all.json HTML tag fixes #904 2017-06-06 22:46:05 +02:00
it-it.all.json HTML tag fixes #904 2017-06-06 22:46:05 +02:00
ja-jp.all.json Remove "flag" translation (#983) 2017-06-12 23:36:04 +10:00
ko-kr.all.json HTML tag fixes #904 2017-06-06 22:46:05 +02:00
nb-no.all.json HTML tag fixes #904 2017-06-06 22:46:05 +02:00
nl-nl.all.json HTML tag fixes #904 2017-06-06 22:46:05 +02:00
pt-br.all.json Updated pt-br ~ (#978) 2017-06-11 09:04:42 +10:00
pt-pt.all.json HTML tag fixes #904 2017-06-06 22:46:05 +02:00
README.md Country flags (language) for torrents. (#970) 2017-06-12 09:14:26 +10:00
ro-ro.all.json HTML tag fixes #904 2017-06-06 22:46:05 +02:00
ru-ru.all.json HTML tag fixes #904 2017-06-06 22:46:05 +02:00
sv-se.all.json HTML tag fixes #904 2017-06-06 22:46:05 +02:00
th-th.all.json Update th-th.all.json (#959) 2017-06-07 21:47:49 +10:00
zh-cn.all.json HTML tag fixes #904 2017-06-06 22:46:05 +02:00
zh-tw.all.json HTML tag fixes #904 2017-06-06 22:46:05 +02:00

After creating a new translation, create a new translation string inside "en-us.all.json", like the following:

    ...
    },
    {
        "id": "language_(languageCode)_name",
        "translation": "(your language name, in English)"
    },
    ...

where languageCode is the newly created ISO code (eg. ja-jp, pt-br).