diff --git a/locales/addressing.pot b/locales/addressing.pot index 101def4..0c70319 100644 --- a/locales/addressing.pot +++ b/locales/addressing.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-09-28 04:37+0000\n" +"POT-Creation-Date: 2026-10-03 14:56+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,12 +18,46 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" +#: templates/report_ip_list.html.twig templates/ping_equipment_form.html.twig +#: templates/pinginfo.html.twig src/Report.php:384 hook.php:346 +msgid "Ping result" +msgstr "" + +#: templates/report_ip_list.html.twig src/Report.php:386 +msgid "Reservation" +msgstr "" + +#: templates/report_ip_list.html.twig templates/ping_equipment_form.html.twig +#: ajax/addressing.php:116 +msgid "IP ping" +msgstr "" + +#: templates/report_ip_list.html.twig templates/pinginfo.html.twig +msgid "Automatic action has not be launched" +msgstr "" + +#: templates/report_ip_list.html.twig templates/pinginfo.html.twig +msgid "Last ping attempt" +msgstr "" + +#: templates/report_ip_list.html.twig +msgid "Reserved Address" +msgstr "" + +#: templates/report_ip_list.html.twig +msgid "Reserve IP" +msgstr "" + +#: templates/report_ip_list.html.twig src/ReserveIp.php:48 +msgid "IP reservation" +msgstr "" + #: templates/filter_list.html.twig msgid "Add a filter" msgstr "" #: templates/filter_list.html.twig templates/report.html.twig -#: templates/addressing.html.twig src/Filter.php:51 +#: templates/addressing.html.twig src/Filter.php:50 msgid "Filter" msgid_plural "Filters" msgstr[0] "" @@ -39,18 +73,16 @@ msgstr "" msgid "Last IP" msgstr "" -#: templates/ping_equipment_form.html.twig src/Report.php:378 -#: src/Report.php:998 src/Report.php:1171 ajax/addressing.php:105 -msgid "IP ping" +#: templates/ping_equipment_form.html.twig +msgid "No IP for this equipment" msgstr "" -#: templates/ping_equipment_form.html.twig templates/pinginfo.html.twig -#: src/Report.php:271 src/Report.php:285 hook.php:348 -msgid "Ping result" +#: templates/reserveip_result.html.twig +msgid "The address has been reserved" msgstr "" -#: templates/ping_equipment_form.html.twig -msgid "No IP for this equipment" +#: templates/reserveip_result.html.twig +msgid "The address could not be reserved" msgstr "" #: templates/config.html.twig @@ -121,13 +153,13 @@ msgstr "" msgid "Number of doubles IP" msgstr "" -#: templates/report.html.twig templates/ping_ip_form.html.twig -#: src/Report.php:1008 src/ReserveIp.php:372 +#: templates/report.html.twig templates/reserveip.html.twig +#: templates/ping_ip_form.html.twig src/Report.php:263 msgid "Ping: got a response - used IP" msgstr "" -#: templates/report.html.twig templates/ping_ip_form.html.twig -#: src/Report.php:1179 src/ReserveIp.php:365 +#: templates/report.html.twig templates/reserveip.html.twig +#: templates/ping_ip_form.html.twig src/Report.php:271 msgid "Ping: no response - free IP" msgstr "" @@ -165,6 +197,16 @@ msgstr "" msgid "Default fields for reservation" msgstr "" +#: templates/reserveip.html.twig templates/ping_ip_form.html.twig +#: ajax/ping.php:106 +msgid "" +"A ping has just been run for this address, please retry in a few seconds" +msgstr "" + +#: templates/reserveip.html.twig ajax/ping.php:107 +msgid "A ping is already running, please retry in a few seconds" +msgstr "" + #: templates/reserveip.html.twig msgid "Name already in use" msgstr "" @@ -177,9 +219,8 @@ msgstr "" msgid "Ping is disabled for this IP range" msgstr "" -#: templates/ping_ip_form.html.twig ajax/ping.php:106 -msgid "" -"A ping has just been run for this address, please retry in a few seconds" +#: templates/pinginfo.html.twig hook.php:384 +msgid "Ping informations not available" msgstr "" #: templates/report_invalid.html.twig @@ -190,20 +231,12 @@ msgstr "" msgid "Please activate the plugin" msgstr "" -#: front/reserveip.form.php:44 -msgid "The address has been reserved" -msgstr "" - -#: front/reserveip.form.php:48 -msgid "The address could not be reserved" -msgstr "" - #: front/addressing.form.php:58 front/addressing.form.php:97 msgid "Problem when adding, required fields are not here" msgstr "" -#: setup.php:93 src/Addressing.php:73 src/Profile.php:76 src/IpComment.php:44 -#: src/PingInfo.php:278 +#: setup.php:95 src/Addressing.php:73 src/Profile.php:76 src/IpComment.php:44 +#: src/PingInfo.php:277 msgid "IP Addressing" msgid_plural "IP Addressing" msgstr[0] "" @@ -223,46 +256,29 @@ msgstr "" msgid "The last IP address must be greater than or equal to the first one" msgstr "" -#: src/Addressing.php:404 src/Addressing.php:756 +#: src/Addressing.php:404 src/Addressing.php:524 #, php-format msgid "The IP range is too wide: %d addresses at most" msgstr "" -#: src/Addressing.php:1221 +#: src/Addressing.php:941 msgid "Transfer" msgstr "" -#: src/Report.php:273 src/Report.php:287 -msgid "Reservation" -msgstr "" - -#: src/Report.php:397 +#: src/Report.php:206 msgid "Restricted access" msgstr "" -#: src/Report.php:553 src/Report.php:664 src/Report.php:843 src/Report.php:1220 -#: src/ReserveIp.php:48 -msgid "IP reservation" -msgstr "" - -#: src/Report.php:602 src/Report.php:1034 +#: src/Report.php:391 msgid "Success" msgstr "" -#: src/Report.php:610 src/Report.php:679 -msgid "Reserved" -msgstr "" - -#: src/Report.php:618 -msgid "Last ping attempt" -msgstr "" - -#: src/Report.php:630 -msgid "Reserved Address" +#: src/Report.php:392 +msgid "Failed" msgstr "" -#: src/Report.php:672 -msgid "Failed" +#: src/Report.php:407 +msgid "Reserved" msgstr "" #: src/Profile.php:50 @@ -273,11 +289,11 @@ msgstr "" msgid "Use ping on equipment form" msgstr "" -#: src/Filter.php:126 +#: src/Filter.php:125 msgid "Invalid item type" msgstr "" -#: src/Ping_Equipment.php:149 +#: src/Ping_Equipment.php:150 msgid "Ping unavailable in cloud mode" msgstr "" @@ -285,28 +301,20 @@ msgstr "" msgid "Object's name" msgstr "" -#: src/ReserveIp.php:357 ajax/ping.php:107 -msgid "A ping is already running, please retry in a few seconds" -msgstr "" - -#: src/PingInfo.php:322 +#: src/PingInfo.php:321 msgid "Launch ping for each ip report" msgstr "" -#: src/PingInfo.php:455 +#: src/PingInfo.php:454 #, php-format msgid "Ping stopped after %d addresses" msgstr "" -#: src/PingInfo.php:471 +#: src/PingInfo.php:470 #, php-format msgid "Ping stopped after %d seconds" msgstr "" -#: src/PingInfo.php:532 -msgid "Ping informations not available" -msgstr "" - #: ajax/updatepinginfo.php:79 #, php-format msgid "The ping of this range has just been run, please wait %d seconds" @@ -315,3 +323,11 @@ msgstr "" #: ajax/updatepinginfo.php:94 msgid "A ping of this range is already running" msgstr "" + +#: hook.php:380 +msgid "Last ping OK" +msgstr "" + +#: hook.php:382 +msgid "Last ping KO" +msgstr "" diff --git a/locales/en_GB.mo b/locales/en_GB.mo index b26a48c..f7301d7 100644 Binary files a/locales/en_GB.mo and b/locales/en_GB.mo differ diff --git a/locales/en_GB.po b/locales/en_GB.po index 6d98471..adf604b 100644 --- a/locales/en_GB.po +++ b/locales/en_GB.po @@ -4,8 +4,7 @@ # FIRST AUTHOR , YEAR. # # Translators: -# Xavier CAILLAUD , 2025 -# DWXXX, 2026 +# Xavier CAILLAUD , 2026 # #, fuzzy msgid "" @@ -14,7 +13,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-06-24 09:26+0200\n" "PO-Revision-Date: 2025-09-23 12:17+0000\n" -"Last-Translator: DWXXX, 2026\n" +"Last-Translator: Xavier CAILLAUD , 2026\n" "Language-Team: English (United Kingdom) (https://app.transifex.com/pluginsGLPI/teams/73419/en_GB/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -40,7 +39,7 @@ msgstr "Automatic action has not be launched" msgid "Comment" msgid_plural "Comments" msgstr[0] "备注" -msgstr[1] "备注" +msgstr[1] "Comments" #: templates/addressing.html.twig:267 msgid "Default fields for reservation" @@ -79,13 +78,13 @@ msgstr "Generate reports" msgid "IP Addressing" msgid_plural "IP Addressing" msgstr[0] "IP地址" -msgstr[1] "IP地址" +msgstr[1] "IP Addressing" #: templates/reserveip.html.twig:104 msgid "IP address" msgid_plural "IP addresses" msgstr[0] "IP地址" -msgstr[1] "IP地址" +msgstr[1] "IP addresses" #: ajax/addressing.php:72 src/Ping_Equipment.php:106 #: src/Ping_Equipment.php:122 src/Report.php:301 src/Report.php:313 @@ -128,7 +127,7 @@ msgstr "Launch ping for each ip report" #: templates/reserveip.html.twig:193 msgid "MAC address" -msgstr "MAC地址" +msgstr "MAC address" #: src/Addressing.php:902 src/Addressing.php:906 #: templates/pinginfo.html.twig:62 templates/pinginfo.html.twig:68 @@ -139,7 +138,7 @@ msgstr "Manual launch of ping" #: templates/addressing.html.twig:55 templates/filter.html.twig:58 #: templates/reserveip.html.twig:122 msgid "Name" -msgstr "名称" +msgstr "Name" #: templates/reserveip.html.twig:161 msgid "Name already in use" @@ -147,7 +146,7 @@ msgstr "Name already in use" #: templates/reserveip.html.twig:211 msgid "Network" -msgstr "网络" +msgstr "Network" #: src/Ping_Equipment.php:143 msgid "No IP for this equipment" @@ -175,7 +174,7 @@ msgstr "Object's name" #: templates/reserveip.html.twig:166 msgid "Ok you can use this name" -msgstr "好,你可以使用此名称" +msgstr "Ok you can use this name" #: src/Addressing.php:112 msgid "Ping free IP" @@ -192,7 +191,7 @@ msgstr "Ping result" #: src/Ping_Equipment.php:158 msgid "Ping unavailable in cloud mode" -msgstr "在云模式下Ping不可用" +msgstr "Ping unavailable in cloud mode" #: src/Addressing.php:833 src/Addressing.php:894 src/Ping_Equipment.php:327 #: src/Report.php:938 src/ReserveIp.php:221 @@ -255,11 +254,11 @@ msgstr "Same IP" #: templates/config.html.twig:109 templates/profile.html.twig:34 msgctxt "button" msgid "Save" -msgstr "保存" +msgstr "Save" #: templates/reserveip.html.twig:185 msgid "Status" -msgstr "状态" +msgstr "Status" #: src/Report.php:521 src/Report.php:968 msgid "Success" @@ -279,7 +278,7 @@ msgstr "The display of items depends on these criterias" #: templates/filter.html.twig:76 templates/reserveip.html.twig:116 msgid "Type" -msgstr "类型" +msgstr "Type" #: templates/addressing.html.twig:210 msgid "Use Ping" @@ -287,7 +286,7 @@ msgstr "Use Ping" #: templates/config.html.twig:75 msgid "Use Ping on IP ranges" -msgstr "在IP范围使用Ping" +msgstr "Use Ping on IP ranges" #: src/Profile.php:60 msgid "Use ping on equipment form" diff --git a/locales/zh_CN.mo b/locales/zh_CN.mo index d113c06..3faf07f 100644 Binary files a/locales/zh_CN.mo and b/locales/zh_CN.mo differ diff --git a/locales/zh_CN.po b/locales/zh_CN.po index aa08cf6..26475d8 100644 --- a/locales/zh_CN.po +++ b/locales/zh_CN.po @@ -5,6 +5,7 @@ # # Translators: # DWXXX, 2026 +# Xavier CAILLAUD , 2026 # #, fuzzy msgid "" @@ -13,7 +14,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-06-24 09:26+0200\n" "PO-Revision-Date: 2025-09-23 12:17+0000\n" -"Last-Translator: DWXXX, 2026\n" +"Last-Translator: Xavier CAILLAUD , 2026\n" "Language-Team: Chinese (China) (https://app.transifex.com/pluginsGLPI/teams/73419/zh_CN/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -23,53 +24,53 @@ msgstr "" #: src/Filter.php:155 msgid "Add a filter" -msgstr "增加一个过滤器" +msgstr "Add a filter" #: src/Addressing.php:870 templates/addressing.html.twig:65 #: templates/config.html.twig:47 msgid "Assigned IP" -msgstr "已分配IP" +msgstr "Assigned IP" #: src/PingInfo.php:189 src/Report.php:435 src/Report.php:955 #: src/Report.php:1130 msgid "Automatic action has not be launched" -msgstr "自动化操作未启用" +msgstr "Automatic action has not be launched" #: templates/addressing.html.twig:228 templates/reserveip.html.twig:222 msgid "Comment" msgid_plural "Comments" -msgstr[0] "备注" +msgstr[0] "Comments" #: templates/addressing.html.twig:267 msgid "Default fields for reservation" -msgstr "预留的默认值" +msgstr "Default fields for reservation" #: templates/config.html.twig:41 msgid "Display" -msgstr "显示" +msgstr "Display" #: src/Report.php:591 msgid "Failed" -msgstr "失败" +msgstr "Failed" #: src/Addressing.php:917 src/Filter.php:56 templates/addressing.html.twig:237 msgid "Filter" msgid_plural "Filters" -msgstr[0] "过滤器" +msgstr[0] "Filters" #: src/Addressing.php:160 src/Addressing.php:262 src/Filter.php:192 #: templates/addressing.html.twig:83 templates/filter.html.twig:84 msgid "First IP" -msgstr "第一个IP" +msgstr "First IP" #: src/Addressing.php:844 src/Addressing.php:882 #: templates/addressing.html.twig:92 templates/config.html.twig:54 msgid "Free IP" -msgstr "空闲IP" +msgstr "Free IP" #: src/Profile.php:54 msgid "Generate reports" -msgstr "生成报告" +msgstr "Generate reports" #: setup.php:93 src/Addressing.php:64 src/IpComment.php:48 src/PingInfo.php:54 #: src/Profile.php:80 @@ -80,101 +81,101 @@ msgstr[0] "IP Addressing" #: templates/reserveip.html.twig:104 msgid "IP address" msgid_plural "IP addresses" -msgstr[0] "IP地址" +msgstr[0] "IP addresses" #: ajax/addressing.php:72 src/Ping_Equipment.php:106 #: src/Ping_Equipment.php:122 src/Report.php:301 src/Report.php:313 #: src/Report.php:718 src/Report.php:729 src/Report.php:910 src/Report.php:928 #: src/Report.php:1087 src/Report.php:1105 msgid "IP ping" -msgstr "Ping IP地址" +msgstr "IP ping" #: src/Report.php:472 src/Report.php:583 src/Report.php:773 #: src/Report.php:1154 src/ReserveIp.php:52 msgid "IP reservation" -msgstr "保留IP地址" +msgstr "IP reservation" #: src/Addressing.php:260 msgid "Invalid data !!" -msgstr "无效的数据!!" +msgstr "Invalid data !!" #: src/Addressing.php:168 src/Addressing.php:265 src/Filter.php:193 #: templates/addressing.html.twig:110 templates/filter.html.twig:93 msgid "Last IP" -msgstr "最后一个IP" +msgstr "Last IP" #: hook.php:394 msgid "Last ping KO" -msgstr "最后Ping无回应" +msgstr "Last ping KO" #: hook.php:389 msgid "Last ping OK" -msgstr "最后Ping正常" +msgstr "Last ping OK" #: src/PingInfo.php:196 src/PingInfo.php:200 src/PingInfo.php:209 #: src/PingInfo.php:213 src/Report.php:488 src/Report.php:537 #: src/Report.php:960 src/Report.php:1135 msgid "Last ping attempt" -msgstr "最后尝试ping" +msgstr "Last ping attempt" #: src/PingInfo.php:66 msgid "Launch ping for each ip report" -msgstr "为每一个IP汇报启动ping" +msgstr "Launch ping for each ip report" #: templates/reserveip.html.twig:193 msgid "MAC address" -msgstr "MAC地址" +msgstr "MAC address" #: src/Addressing.php:902 src/Addressing.php:906 #: templates/pinginfo.html.twig:62 templates/pinginfo.html.twig:68 msgctxt "button" msgid "Manual launch of ping" -msgstr "手动启动Ping" +msgstr "Manual launch of ping" #: templates/addressing.html.twig:55 templates/filter.html.twig:58 #: templates/reserveip.html.twig:122 msgid "Name" -msgstr "名称" +msgstr "Name" #: templates/reserveip.html.twig:161 msgid "Name already in use" -msgstr "名称已被使用" +msgstr "Name already in use" #: templates/reserveip.html.twig:211 msgid "Network" -msgstr "网络" +msgstr "Network" #: src/Ping_Equipment.php:143 msgid "No IP for this equipment" -msgstr "此设备无IP" +msgstr "No IP for this equipment" #: src/Addressing.php:808 msgid "Number of assigned IP (no doubles)" -msgstr "已分配IP数量(无共用)" +msgstr "Number of assigned IP (no doubles)" #: src/Addressing.php:812 msgid "Number of doubles IP" -msgstr "共用IP数量" +msgstr "Number of doubles IP" #: src/Addressing.php:800 msgid "Number of free IP" -msgstr "空闲IP数量" +msgstr "Number of free IP" #: src/Addressing.php:804 msgid "Number of reserved IP" -msgstr "保留的IP数量" +msgstr "Number of reserved IP" #: src/ReserveIp.php:161 msgid "Object's name" -msgstr "对象名称" +msgstr "Object's name" #: templates/reserveip.html.twig:166 msgid "Ok you can use this name" -msgstr "你可以使用此名称" +msgstr "Ok you can use this name" #: src/Addressing.php:112 msgid "Ping free IP" -msgstr "Ping空闲IP" +msgstr "Ping free IP" #: hook.php:399 src/PingInfo.php:192 msgid "Ping informations not available"