FMCorz / mdk

Moodle Development Kit. A collection of tools meant to make developers' lives easier.
GNU General Public License v3.0
86 stars 47 forks source link

Lang, the new command #232

Closed meirzamoodle closed 5 months ago

meirzamoodle commented 5 months ago

Lang's command purpose is to make it easy for developers to work with language strings.

How to use

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

meirzamoodle commented 5 months ago

I closed the PR since there are some significant change and we are planning to add new action on it.