From e42721e9f2afdd8170a60386dee94e1bcee3db70 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 d6aa33f84..e0ed8fefc 100644 --- a/developer_manual/app/view/l10n.rst +++ b/developer_manual/app/view/l10n.rst @@ -232,6 +232,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 b02240679090d06741d58c641ae7ef82400c5f2a 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 e0ed8fefc..6ec4f9a0d 100644 --- a/developer_manual/app/view/l10n.rst +++ b/developer_manual/app/view/l10n.rst @@ -232,7 +232,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 @@ -290,4 +290,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. -