From e0602a0ff182ab85b32a5181a59cc2fc32733f44 Mon Sep 17 00:00:00 2001 From: Leandro Regueiro Date: Fri, 22 Sep 2017 11:55:59 +0200 Subject: [PATCH 1/2] Docs: Use Pootle FS equivalent for sync_stores --- docs/server/project_setup.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/server/project_setup.rst b/docs/server/project_setup.rst index 4dc2bcc7e52..c7bd0ab67c7 100644 --- a/docs/server/project_setup.rst +++ b/docs/server/project_setup.rst @@ -303,7 +303,9 @@ language. The first step is to save all the Pootle translations to disk: .. code-block:: console - (env) $ pootle sync_stores --project=my-project + (env) $ pootle fs fetch my-project + (env) $ pootle fs resolve my-project --overwrite --pootle-wins + (env) $ pootle fs sync my-project --update=fs Then update all those translations on disk against the newer templates. We From a7fd13f31fa2e9e27b79e887e36bcc825156e057 Mon Sep 17 00:00:00 2001 From: Leandro Regueiro Date: Fri, 22 Sep 2017 12:57:30 +0200 Subject: [PATCH 2/2] Docs: Use Pootle FS equivalent for update_stores --- docs/server/project_setup.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/server/project_setup.rst b/docs/server/project_setup.rst index c7bd0ab67c7..f7de23a4d0f 100644 --- a/docs/server/project_setup.rst +++ b/docs/server/project_setup.rst @@ -291,7 +291,9 @@ update the template translations in the Pootle database. .. code-block:: console - (env) $ pootle update_stores --project=my-project --language=templates + (env) $ pootle fs fetch my-project --fs-path=my-project/templates/* + (env) $ pootle fs resolve my-project --overwrite --fs-path=my-project/templates/* + (env) $ pootle fs sync my-project --update=pootle --fs-path=my-project/templates/* This command will ensure that new strings are added to the project and any @@ -328,7 +330,9 @@ to Pootle: .. code-block:: console - (env) $ pootle update_stores --project=my-project + (env) $ pootle fs fetch my-project + (env) $ pootle fs resolve my-project --overwrite + (env) $ pootle fs sync my-project --update=pootle .. note:: If your project languages contain many translations you might want to