Add plugin translation system
authorChocobozzz <me@florianbigard.com>
Fri, 26 Jul 2019 12:44:50 +0000 (14:44 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 26 Jul 2019 13:18:30 +0000 (15:18 +0200)
commitd75db01f14138ea660c4c519e37ab05228b39d13
tree85a3da315ea6e1501fec5b70790482504dd64793
parentee286591a5b740702bad66c55cc900740f749e9a
Add plugin translation system
18 files changed:
client/src/app/+admin/plugins/shared/plugin-api.service.ts
client/src/app/core/plugins/plugin.service.ts
client/src/app/shared/video/video.service.ts
client/src/types/register-client-option.model.ts
server/controllers/plugins.ts
server/helpers/custom-validators/plugins.ts
server/lib/plugins/plugin-manager.ts
server/tests/fixtures/peertube-plugin-test-three/package.json
server/tests/fixtures/peertube-plugin-test-two/languages/fr.json [new file with mode: 0644]
server/tests/fixtures/peertube-plugin-test-two/languages/it.json [new file with mode: 0644]
server/tests/fixtures/peertube-plugin-test-two/package.json
server/tests/fixtures/peertube-plugin-test/languages/fr.json [new file with mode: 0644]
server/tests/fixtures/peertube-plugin-test/package.json
server/tests/plugins/index.ts
server/tests/plugins/translations.ts [new file with mode: 0644]
shared/extra-utils/server/plugins.ts
shared/models/plugins/plugin-package-json.model.ts
shared/models/plugins/plugin-translation.model.ts [new file with mode: 0644]