From 31f6068f743a751e6246ba8da7c056719b352c8d Mon Sep 17 00:00:00 2001 From: rakekniven Date: Tue, 26 May 2020 15:10:43 +0200 Subject: [PATCH 1/2] Add section about .l10nignore Signed-off-by: rakekniven --- developer_manual/app/view/l10n.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/developer_manual/app/view/l10n.rst b/developer_manual/app/view/l10n.rst index 6d45281e6..2d59d69c1 100644 --- a/developer_manual/app/view/l10n.rst +++ b/developer_manual/app/view/l10n.rst @@ -212,6 +212,9 @@ transifex config to your app folder at :file:`.tx/config` (please replace **MYAP Then create a folder :file:`l10n` and a file :file:`l10n/.gitkeep` to create an empty folder which later holds the translations. +Add one more file called :file:`.l10nirgnore` in root of the repository and the files and folders to ignore for translations. +Mostly used to ignore packed js files. + Now the GitHub account `@nextcloud-bot `_ needs to get write access to your repository. It will run every night and only push commits to the master branch once there is an update to the translation. In general From 9ae0d20bbbf90732044ead71beabc6c97e3388f1 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 26 May 2020 15:38:27 +0200 Subject: [PATCH 2/2] Update developer_manual/app/view/l10n.rst --- developer_manual/app/view/l10n.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/developer_manual/app/view/l10n.rst b/developer_manual/app/view/l10n.rst index 2d59d69c1..2f7a541b6 100644 --- a/developer_manual/app/view/l10n.rst +++ b/developer_manual/app/view/l10n.rst @@ -212,7 +212,7 @@ transifex config to your app folder at :file:`.tx/config` (please replace **MYAP Then create a folder :file:`l10n` and a file :file:`l10n/.gitkeep` to create an empty folder which later holds the translations. -Add one more file called :file:`.l10nirgnore` in root of the repository and the files and folders to ignore for translations. +Add one more file called :file:`.l10nignore` in root of the repository and the files and folders to ignore for translations. Mostly used to ignore packed js files. Now the GitHub account `@nextcloud-bot `_ needs @@ -270,4 +270,3 @@ Now the following folder structure is available:: |-- myapp.pot You then just need the :file:`.json` and :file:`.js` files for a working localized app. -