Changes

Jump to navigation Jump to search
no edit summary
Line 131: Line 131:  
=== Adding activities ===
 
=== Adding activities ===
   −
Before registering new activity on http://translation.sugarlabs.org, make sure that:
+
Before registering new activity on http://translate.sugarlabs.org, make sure that:
    
* New activity is being hosted on http://git.sugarlabs.org;
 
* New activity is being hosted on http://git.sugarlabs.org;
 
* The {{Code|pootle}} user was added to the repository with commit access rights;
 
* The {{Code|pootle}} user was added to the repository with commit access rights;
* You have a proper {{Code|GIT_URL}} to clone repository from with commit permissions, e.g., {{Code|gitorious@git.sugarlabs.org:cartoon-builder/mainline.git}}; that might be found on home page in gitorious, e.g., http://git.sugarlabs.org/cartoon-builder, in ''Clone & push urls'' field with selector ''SSH'';
+
* You have a proper {{Code|GIT_URL}} to clone repository from with commit permissions, e.g., {{Code|gitorious@git.sugarlabs.org:cartoon-builder/mainline.git}}; that might be found on home page in Gitorious, e.g., http://git.sugarlabs.org/cartoon-builder, in ''Clone & push urls'' field with selector ''SSH'';
* You know the proper {{Code|CATEGORY}} name to register the project in,
+
* You know the proper {{Code|CATEGORY}} name to register the project in;
 
* There is an unique {{Code|NAME}} of activity, this name will be used as a name of project in Pootle and directory name;
 
* There is an unique {{Code|NAME}} of activity, this name will be used as a name of project in Pootle and directory name;
 
* You know the proper {{Code|BRANCH}} in Git repository to use for translation; by default, it is {{Code|master}}.
 
* You know the proper {{Code|BRANCH}} in Git repository to use for translation; by default, it is {{Code|master}}.
   −
To process the registration, login to pootle.sugarlabs.org and enter:
+
To process the registration, login to translate.sugarlabs.org and enter:
    
  sudo -u pootle python /var/lib/pootle/maintenance/helpers/admin/pootlepopulator.py ''<CATEGORY>'' ''<GIT_URL>'' /var/lib/pootle/checkouts/''<CATEGORY>''/''<NAME>'' [''<BRANCH>'']
 
  sudo -u pootle python /var/lib/pootle/maintenance/helpers/admin/pootlepopulator.py ''<CATEGORY>'' ''<GIT_URL>'' /var/lib/pootle/checkouts/''<CATEGORY>''/''<NAME>'' [''<BRANCH>'']

Navigation menu