== Translations ==
Thanks to all the WP-Translations Team Members.
| #! /bin/sh | |
| # Pull all files from Transifex; | |
| # Minimum percentage change to whatever you want | |
| tx pull -a --minimum-perc=100 | |
| # Create .mo files from .po files. | |
| # Twisted by WP-Translations.org, created by grappler. | |
| for file in `find . -name "*.po"` ; do msgfmt -o ${file/.po/.mo} $file && rm $file ; done |
| <?php | |
| /** | |
| * Plugin Row Meta | |
| * | |
| * Adds GitHub and translate links below the plugin description on the plugins page. | |
| * Author: benhuson, tweaked by fxbenard for WP-Translations | |
| * Replace references to 'my-plugin' to reflect your plugin folder and file name. | |
| * Update the GitHub Repo and Translation links. | |
| * |
| <?php | |
| /* | |
| * Load my own woo-load-textdomain function | |
| * Thanks to @grabbler for is help | |
| */ | |
| add_action( 'after_setup_theme', 'woo_load_textdomain', 10 ); | |
| function woo_load_textdomain(){ | |
| $locale = get_locale(); |
| function edd_coming_soon_modify_default_status_text() { | |
| return 'Not long now!'; | |
| } | |
| add_filter( 'edd_cs_coming_soon_text', 'edd_coming_soon_modify_default_status_text' ); |