diff options
author | fox <[email protected]> | 2019-03-05 07:28:41 +0000 |
---|---|---|
committer | fox <[email protected]> | 2019-03-05 07:28:41 +0000 |
commit | 281bab27ed01f5b98c66d71e93ff8bdc8f41c7c5 (patch) | |
tree | d588bcf9694727c749708084548ef6a33f01e797 /MakingPlugins.md | |
parent | 8822a08e7cc999332d0bd92090cd7cbabe8c3181 (diff) |
Update page 'MakingPlugins'
Diffstat (limited to 'MakingPlugins.md')
-rw-r--r-- | MakingPlugins.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MakingPlugins.md b/MakingPlugins.md index c0ff3e5..3cc7cce 100644 --- a/MakingPlugins.md +++ b/MakingPlugins.md @@ -23,6 +23,6 @@ See ``time_to_read`` plugin for a complete example here: https://git.tt-rss.org/ ### Using gettext
-- On the PHP side, either use ``P__``, ``P__ngettext``, etc. shortcut functions defined in ``classes/pluginhost.php`` or call ``_dgettext`` group of functions directly.
+- On the PHP side, either use helper methods defined in ``classes/plugin.php`` (base class for all plugins) or call ``_dgettext`` group of functions directly.
- On the Javascript side, translations are combined together, so you can use the usual ``__()`` shortcut function.
|