Skip to content

Commit

Permalink
Consolidate pootle fs add instructions, there is only one
Browse files Browse the repository at this point in the history
  • Loading branch information
dwaynebailey committed Dec 9, 2016
1 parent 4ef9c3a commit 8a8ecc7
Showing 1 changed file with 9 additions and 26 deletions.
35 changes: 9 additions & 26 deletions docs/features/using_pootle_fs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,46 +59,29 @@ To re-sync stores and files just run:
(env) $ pootle fs sync MYPROJECT
.. _using_pootle_fs#pull_new_files:
.. _using_pootle_fs#add_files_stores:

Pulling new files from the filesystem into Pootle
-------------------------------------------------
Adding new files and stores
---------------------------

When new files appear on the filesystem that we want to bring into Pootle we
use :djadmin:`add`:
use :djadmin:`add`. And when new stores have appeared on Pootle that we want to
push to the filesystem we also use :djadmin:`add`:

.. code-block:: console
(env) $ pootle fs add MYPROJECT
(env) $ pootle fs sync MYPROJECT
Where :djadmin:`add` will stage the previously untracked files, and
:djadmin:`sync` will synchronize, pulling the translations in the file into the
Pootle database.
Where :djadmin:`add` will stage the previously untracked files or stores.
While :djadmin:`sync` will synchronize, pulling the translations in the file
into the Pootle database or pushing translations from the stores in the
database our to files on the filesystem.

Following this the file and store are now tracked.


.. _using_pootle_fs#push_new_stores:

Pushing new stores from Pootle to the filesystem
------------------------------------------------

When new stores have appeared on Pootle that we want to push to the filesystem
we use :djadmin:`add`:

.. code-block:: console
(env) $ pootle fs add MYPROJECT
(env) $ pootle fs sync MYPROJECT
Where :djadmin:`add` will stage the previously untracked store, and
:djadmin:`sync` will synchronize, pushing the translations in the Pootle store
onto the filesystem.


.. _using_pootle_fs#remove_files_stores:

Removing files or stores
Expand Down

0 comments on commit 8a8ecc7

Please sign in to comment.