Skip to content

Commit 0acbb49

Browse files
committed
🌐 make pot and minor fixes
1 parent d865d77 commit 0acbb49

File tree

7 files changed

+90
-67
lines changed

7 files changed

+90
-67
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"translation-revision-date":"2024-11-12 14:25+0100","generator":"WP-CLI\/2.11.0","source":"public\/apps\/app.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"it","plural-forms":"nplurals=2; plural=(n != 1);"},"First Tab Click Here":["Prima scheda Clicca qui"]}}}

languages/wp-kirk-it_IT.mo

221 Bytes
Binary file not shown.

languages/wp-kirk-it_IT.po

Lines changed: 39 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,45 @@
1+
# Copyright (C) 2024 Giovambattista Fazioli
2+
# This file is distributed under the GPLv2 or later.
13
msgid ""
24
msgstr ""
3-
"Project-Id-Version: WP Kirk\n"
4-
"Report-Msgid-Bugs-To: \n"
5-
"POT-Creation-Date: 2016-11-21 16:56+0100\n"
6-
"PO-Revision-Date: 2016-11-21 16:56+0100\n"
5+
"Project-Id-Version: WP Kirk Typescript Boilerplate 1.7.0\n"
6+
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-kirk\n"
7+
"POT-Creation-Date: 2024-11-12T13:24:20+00:00\n"
8+
"PO-Revision-Date: 2024-11-12 14:25+0100\n"
79
"Last-Translator: \n"
8-
"Language-Team: Giovambattista Fazioli <[email protected]>\n"
9-
"Language: it_IT\n"
10+
"Language-Team: \n"
11+
"Language: it\n"
1012
"MIME-Version: 1.0\n"
1113
"Content-Type: text/plain; charset=UTF-8\n"
1214
"Content-Transfer-Encoding: 8bit\n"
13-
"X-Poedit-KeywordsList: __;_e;_n:1,2;_nx:1,2\n"
14-
"X-Poedit-Basepath: ..\n"
15-
"X-Poedit-SourceCharset: UTF-8\n"
16-
"X-Generator: Poedit 1.8.11\n"
17-
"Plural-Forms: nplurals=2; plural=n != 1;\n"
18-
"X-Poedit-SearchPath-0: .\n"
19-
"X-Poedit-SearchPathExcluded-0: node_modules\n"
20-
"X-Poedit-SearchPathExcluded-1: vendor\n"
21-
22-
#~ msgid "You can localize me"
23-
#~ msgstr "Mi puoi localizzare"
24-
25-
#~ msgid "Description"
26-
#~ msgstr "Descrizione"
27-
28-
#~ msgid "Placeholders"
29-
#~ msgstr "Segnaposti"
30-
31-
#~ msgid "Environment"
32-
#~ msgstr "Ambienti"
33-
34-
#~ msgid "Places"
35-
#~ msgstr "Posti"
36-
37-
#~ msgid "Status"
38-
#~ msgstr "Stato"
39-
40-
#~ msgid "Name"
41-
#~ msgstr "Nome"
42-
43-
#~ msgid "Publish"
44-
#~ msgstr "Pubblica"
45-
46-
#~ msgid "Trash"
47-
#~ msgstr "Cestino"
48-
49-
#~ msgid "Edit"
50-
#~ msgstr "Modifica"
51-
52-
#~ msgid "Restore"
53-
#~ msgstr "Repristina"
54-
55-
#~ msgid "Delete"
56-
#~ msgstr "Elimina"
57-
58-
#~ msgid "Icon"
59-
#~ msgstr "Icona"
60-
61-
#~ msgid "Move to Trash"
62-
#~ msgstr "Sposta nel cestino"
63-
64-
#~ msgid "Add"
65-
#~ msgstr "Aggiungi"
66-
67-
#~ msgid "Update"
68-
#~ msgstr "Aggiorna"
15+
"X-Generator: Poedit 3.5\n"
16+
"X-Domain: wp-kirk\n"
17+
18+
#. Plugin Name of the plugin
19+
#: wp-kirk.php
20+
msgid "WP Kirk Typescript Boilerplate"
21+
msgstr "WP Kirk Dattiloscritto Boilerplate"
22+
23+
#. Plugin URI of the plugin
24+
#: wp-kirk.php
25+
msgid "https://github.com/wpbones/WPKirk-Mantine-Boilerplate"
26+
msgstr "https://github.com/wpbones/WPKirk-Mantine-Boilerplate"
27+
28+
#. Description of the plugin
29+
#: wp-kirk.php
30+
msgid "WP Bones template WordPress plugin"
31+
msgstr "Benvenuto nel plugin WordPress usato come modello WP Bones"
32+
33+
#. Author of the plugin
34+
#: wp-kirk.php
35+
msgid "Giovambattista Fazioli"
36+
msgstr "Giovambattista Fazioli"
37+
38+
#. Author URI of the plugin
39+
#: wp-kirk.php
40+
msgid "https://wpbones.com/"
41+
msgstr "https://wpbones.com/"
42+
43+
#: public/apps/app.js:1
44+
msgid "First Tab Click Here"
45+
msgstr "Prima scheda Clicca qui"

languages/wp-kirk.pot

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Copyright (C) 2024 Giovambattista Fazioli
2+
# This file is distributed under the GPLv2 or later.
3+
msgid ""
4+
msgstr ""
5+
"Project-Id-Version: WP Kirk Typescript Boilerplate 1.7.0\n"
6+
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-kirk\n"
7+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8+
"Language-Team: LANGUAGE <[email protected]>\n"
9+
"MIME-Version: 1.0\n"
10+
"Content-Type: text/plain; charset=UTF-8\n"
11+
"Content-Transfer-Encoding: 8bit\n"
12+
"POT-Creation-Date: 2024-11-12T13:24:20+00:00\n"
13+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14+
"X-Generator: WP-CLI 2.11.0\n"
15+
"X-Domain: wp-kirk\n"
16+
17+
#. Plugin Name of the plugin
18+
#: wp-kirk.php
19+
msgid "WP Kirk Typescript Boilerplate"
20+
msgstr ""
21+
22+
#. Plugin URI of the plugin
23+
#: wp-kirk.php
24+
msgid "https://github.com/wpbones/WPKirk-Mantine-Boilerplate"
25+
msgstr ""
26+
27+
#. Description of the plugin
28+
#: wp-kirk.php
29+
msgid "WP Bones template WordPress plugin"
30+
msgstr ""
31+
32+
#. Author of the plugin
33+
#: wp-kirk.php
34+
msgid "Giovambattista Fazioli"
35+
msgstr ""
36+
37+
#. Author URI of the plugin
38+
#: wp-kirk.php
39+
msgid "https://wpbones.com/"
40+
msgstr ""
41+
42+
#: public/apps/app.js:1
43+
msgid "First Tab Click Here"
44+
msgstr ""

public/apps/app.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('react', 'react-dom'), 'version' => '67cf0217a3c5370a1eee');
1+
<?php return array('dependencies' => array('react', 'react-dom', 'wp-i18n'), 'version' => '9145dc732397fd925103');

public/apps/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/assets/apps/components/Demo.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { Box, Center, Paper, Stack, Tabs } from '@mantine/core';
22
import { showNotification } from '@mantine/notifications';
3+
import { __ } from '@wordpress/i18n';
34
import { DataTable } from 'mantine-datatable';
45
import { useAjax } from './use-ajax';
56

@@ -20,7 +21,9 @@ export const Demo = () => {
2021
variant="outline"
2122
defaultValue="first-tab">
2223
<Tabs.List>
23-
<Tabs.Tab value="first-tab">First Tab Click Here</Tabs.Tab>
24+
<Tabs.Tab value="first-tab">
25+
{__('First Tab Click Here', 'wp-kirk')}
26+
</Tabs.Tab>
2427
</Tabs.List>
2528

2629
<Tabs.Panel value="first-tab" px="md">
@@ -36,8 +39,6 @@ export const Demo = () => {
3639
export function GettingStartedExample() {
3740
const { data, error, isLoading } = useAjax();
3841

39-
console.log('!!!!', { data, error, isLoading });
40-
4142
return (
4243
<DataTable
4344
fetching={isLoading}

0 commit comments

Comments
 (0)