Skip to content
Snippets Groups Projects
Commit 9975864d authored by Mateusz Dworowy's avatar Mateusz Dworowy
Browse files

feat: add PL translations

parent a309006f
No related branches found
No related tags found
No related merge requests found
.idea
lang
!lang/*_*.po
......@@ -15,5 +15,12 @@
"type" : "composer",
"url" : "https://gitlab.wpdesk.dev/Dworowy/xxx-hello-world.git"
}
},
"extra": {
"text-domain": "mdworowy-hello-world",
"translations-folder": "lang",
"po-files": {
"pl_PL": "pl_PL.po"
}
}
}
......@@ -4,6 +4,6 @@ namespace HelloWorld;
final class HelloWorld {
public static function printHello(): string {
return "Hello World!";
return __("Hello World!", 'mdworowy-hello-world');
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment