mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-21 04:44:25 +02:00
Merge pull request #3038 from nbuchwitz/patch-1
Doc: Fix module name in translation example
This commit is contained in:
commit
e914f121e4
@ -166,7 +166,7 @@ If we haven't yet any translations strings in our .po file or even the .po file,
|
|||||||
job for us:
|
job for us:
|
||||||
|
|
||||||
```
|
```
|
||||||
icingacli translation refresh module development ll_CC
|
icingacli translation refresh module yourmodule ll_CC
|
||||||
```
|
```
|
||||||
|
|
||||||
This will go through all .php and .phtml files inside the module and a look after `$this->translate()` if there is
|
This will go through all .php and .phtml files inside the module and a look after `$this->translate()` if there is
|
||||||
@ -210,7 +210,7 @@ msgstr "Attrappe"
|
|||||||
The last step is to compile the `yourmodule.po` to the `yourmodule.mo`:
|
The last step is to compile the `yourmodule.po` to the `yourmodule.mo`:
|
||||||
|
|
||||||
```
|
```
|
||||||
icingacli translation compile module development ll_CC
|
icingacli translation compile module yourmodule ll_CC
|
||||||
```
|
```
|
||||||
|
|
||||||
At this moment, everywhere in the module where the `Dummy` should be translated, it would returns the translated
|
At this moment, everywhere in the module where the `Dummy` should be translated, it would returns the translated
|
||||||
|
Loading…
x
Reference in New Issue
Block a user