Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lang, the new command #234

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,35 @@ Generate the complete YUI API documentation
mdk js doc


lang
----

Lang related functions.

**Example**

Add new string identifier

::

mdk lang add newstringid -d "the newstringid description" lang.php


Sort the existing string identifiers in a file

::

mdk lang sort lang.php

Review the modified language string on the pull branch

To use "review" action, developer must pull a patch with testing mode ``mdk pull <mdl> -t`` and then use the below command:

::

mdk lang review


phpunit
-------

Expand Down
1 change: 1 addition & 0 deletions mdk/commands/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def getCommand(cmd):
'init',
'install',
'js',
'lang',
'phpunit',
'plugin',
'precheck',
Expand Down
Loading