You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 28, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Alternatively you can include the library as a submodule.
21
21
Make sure the class is loaded and instantiate it like this:
22
22
23
23
```php
24
-
new Yoast_I18n_v3(
24
+
new Yoast_I18n_V3(
25
25
array(
26
26
'textdomain' => '{your text domain}',
27
27
'project_slug' => '{your probject slug}',
@@ -38,7 +38,7 @@ new Yoast_I18n_v3(
38
38
Because translate.wordpress.org is also a GlotPress installation you can use the i18n-module to promote translation your plugin on there. To do this you can use the dedicated wordpress.org class:
39
39
40
40
```php
41
-
new Yoast_I18n_WordPressOrg_v3(
41
+
new Yoast_I18n_WordPressOrg_V3(
42
42
array(
43
43
'textdomain' => '{your text domain}',
44
44
'plugin_name' => '{your plugin name}',
@@ -52,7 +52,7 @@ new Yoast_I18n_WordPressOrg_v3(
52
52
Since 3.0.0 you can also decide to render the message in a message-box of your own, just provide the second argument to the constructor as `false` to disable the showing of the box by the module itself.
0 commit comments