Plugin Directory

Changeset 3424882


Ignore:
Timestamp:
12/21/2025 06:45:56 PM (6 weeks ago)
Author:
alexminza
Message:

Update to version 1.0.2 from GitHub

Location:
payment-gateway-wc-victoriabank-mia
Files:
2 deleted
18 edited
1 copied

Legend:

Unmodified
Added
Removed
  • payment-gateway-wc-victoriabank-mia/tags/1.0.2/composer.lock

    r3414332 r3424882  
    55        "This file is @generated automatically"
    66    ],
    7     "content-hash": "a16b98d5f3d4b55c7b5c4c50db3ae74f",
     7    "content-hash": "85827b97f74097c42feaf9587a602b67",
    88    "packages": [
    99        {
    1010            "name": "alexminza/victoriabank-mia-sdk",
    11             "version": "v1.0.1",
     11            "version": "v1.0.2",
    1212            "source": {
    1313                "type": "git",
    1414                "url": "https://github.com/alexminza/victoriabank-mia-sdk-php.git",
    15                 "reference": "3001ee84844b81ad26aa23889a7741f32e19c32e"
    16             },
    17             "dist": {
    18                 "type": "zip",
    19                 "url": "https://api.github.com/repos/alexminza/victoriabank-mia-sdk-php/zipball/3001ee84844b81ad26aa23889a7741f32e19c32e",
    20                 "reference": "3001ee84844b81ad26aa23889a7741f32e19c32e",
     15                "reference": "bbbddc64995d89d71ebf3549ef7d5b7c933adb17"
     16            },
     17            "dist": {
     18                "type": "zip",
     19                "url": "https://api.github.com/repos/alexminza/victoriabank-mia-sdk-php/zipball/bbbddc64995d89d71ebf3549ef7d5b7c933adb17",
     20                "reference": "bbbddc64995d89d71ebf3549ef7d5b7c933adb17",
    2121                "shasum": ""
    2222            },
     
    6161                "source": "https://github.com/alexminza/victoriabank-mia-sdk-php"
    6262            },
    63             "time": "2025-11-07T12:23:17+00:00"
     63            "time": "2025-12-21T11:31:16+00:00"
    6464        },
    6565        {
     
    12151215        }
    12161216    ],
    1217     "packages-dev": [],
     1217    "packages-dev": [
     1218        {
     1219            "name": "dealerdirect/phpcodesniffer-composer-installer",
     1220            "version": "v1.2.0",
     1221            "source": {
     1222                "type": "git",
     1223                "url": "https://github.com/PHPCSStandards/composer-installer.git",
     1224                "reference": "845eb62303d2ca9b289ef216356568ccc075ffd1"
     1225            },
     1226            "dist": {
     1227                "type": "zip",
     1228                "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/845eb62303d2ca9b289ef216356568ccc075ffd1",
     1229                "reference": "845eb62303d2ca9b289ef216356568ccc075ffd1",
     1230                "shasum": ""
     1231            },
     1232            "require": {
     1233                "composer-plugin-api": "^2.2",
     1234                "php": ">=5.4",
     1235                "squizlabs/php_codesniffer": "^3.1.0 || ^4.0"
     1236            },
     1237            "require-dev": {
     1238                "composer/composer": "^2.2",
     1239                "ext-json": "*",
     1240                "ext-zip": "*",
     1241                "php-parallel-lint/php-parallel-lint": "^1.4.0",
     1242                "phpcompatibility/php-compatibility": "^9.0 || ^10.0.0@dev",
     1243                "yoast/phpunit-polyfills": "^1.0"
     1244            },
     1245            "type": "composer-plugin",
     1246            "extra": {
     1247                "class": "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin"
     1248            },
     1249            "autoload": {
     1250                "psr-4": {
     1251                    "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/"
     1252                }
     1253            },
     1254            "notification-url": "https://packagist.org/downloads/",
     1255            "license": [
     1256                "MIT"
     1257            ],
     1258            "authors": [
     1259                {
     1260                    "name": "Franck Nijhof",
     1261                    "email": "[email protected]",
     1262                    "homepage": "https://frenck.dev",
     1263                    "role": "Open source developer"
     1264                },
     1265                {
     1266                    "name": "Contributors",
     1267                    "homepage": "https://github.com/PHPCSStandards/composer-installer/graphs/contributors"
     1268                }
     1269            ],
     1270            "description": "PHP_CodeSniffer Standards Composer Installer Plugin",
     1271            "keywords": [
     1272                "PHPCodeSniffer",
     1273                "PHP_CodeSniffer",
     1274                "code quality",
     1275                "codesniffer",
     1276                "composer",
     1277                "installer",
     1278                "phpcbf",
     1279                "phpcs",
     1280                "plugin",
     1281                "qa",
     1282                "quality",
     1283                "standard",
     1284                "standards",
     1285                "style guide",
     1286                "stylecheck",
     1287                "tests"
     1288            ],
     1289            "support": {
     1290                "issues": "https://github.com/PHPCSStandards/composer-installer/issues",
     1291                "security": "https://github.com/PHPCSStandards/composer-installer/security/policy",
     1292                "source": "https://github.com/PHPCSStandards/composer-installer"
     1293            },
     1294            "funding": [
     1295                {
     1296                    "url": "https://github.com/PHPCSStandards",
     1297                    "type": "github"
     1298                },
     1299                {
     1300                    "url": "https://github.com/jrfnl",
     1301                    "type": "github"
     1302                },
     1303                {
     1304                    "url": "https://opencollective.com/php_codesniffer",
     1305                    "type": "open_collective"
     1306                },
     1307                {
     1308                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     1309                    "type": "thanks_dev"
     1310                }
     1311            ],
     1312            "time": "2025-11-11T04:32:07+00:00"
     1313        },
     1314        {
     1315            "name": "phpcompatibility/php-compatibility",
     1316            "version": "9.3.5",
     1317            "source": {
     1318                "type": "git",
     1319                "url": "https://github.com/PHPCompatibility/PHPCompatibility.git",
     1320                "reference": "9fb324479acf6f39452e0655d2429cc0d3914243"
     1321            },
     1322            "dist": {
     1323                "type": "zip",
     1324                "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/9fb324479acf6f39452e0655d2429cc0d3914243",
     1325                "reference": "9fb324479acf6f39452e0655d2429cc0d3914243",
     1326                "shasum": ""
     1327            },
     1328            "require": {
     1329                "php": ">=5.3",
     1330                "squizlabs/php_codesniffer": "^2.3 || ^3.0.2"
     1331            },
     1332            "conflict": {
     1333                "squizlabs/php_codesniffer": "2.6.2"
     1334            },
     1335            "require-dev": {
     1336                "phpunit/phpunit": "~4.5 || ^5.0 || ^6.0 || ^7.0"
     1337            },
     1338            "suggest": {
     1339                "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically.",
     1340                "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
     1341            },
     1342            "type": "phpcodesniffer-standard",
     1343            "notification-url": "https://packagist.org/downloads/",
     1344            "license": [
     1345                "LGPL-3.0-or-later"
     1346            ],
     1347            "authors": [
     1348                {
     1349                    "name": "Wim Godden",
     1350                    "homepage": "https://github.com/wimg",
     1351                    "role": "lead"
     1352                },
     1353                {
     1354                    "name": "Juliette Reinders Folmer",
     1355                    "homepage": "https://github.com/jrfnl",
     1356                    "role": "lead"
     1357                },
     1358                {
     1359                    "name": "Contributors",
     1360                    "homepage": "https://github.com/PHPCompatibility/PHPCompatibility/graphs/contributors"
     1361                }
     1362            ],
     1363            "description": "A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility.",
     1364            "homepage": "http://techblog.wimgodden.be/tag/codesniffer/",
     1365            "keywords": [
     1366                "compatibility",
     1367                "phpcs",
     1368                "standards"
     1369            ],
     1370            "support": {
     1371                "issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues",
     1372                "source": "https://github.com/PHPCompatibility/PHPCompatibility"
     1373            },
     1374            "time": "2019-12-27T09:44:58+00:00"
     1375        },
     1376        {
     1377            "name": "phpcompatibility/phpcompatibility-paragonie",
     1378            "version": "1.3.4",
     1379            "source": {
     1380                "type": "git",
     1381                "url": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie.git",
     1382                "reference": "244d7b04fc4bc2117c15f5abe23eb933b5f02bbf"
     1383            },
     1384            "dist": {
     1385                "type": "zip",
     1386                "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/244d7b04fc4bc2117c15f5abe23eb933b5f02bbf",
     1387                "reference": "244d7b04fc4bc2117c15f5abe23eb933b5f02bbf",
     1388                "shasum": ""
     1389            },
     1390            "require": {
     1391                "phpcompatibility/php-compatibility": "^9.0"
     1392            },
     1393            "require-dev": {
     1394                "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
     1395                "paragonie/random_compat": "dev-master",
     1396                "paragonie/sodium_compat": "dev-master"
     1397            },
     1398            "suggest": {
     1399                "dealerdirect/phpcodesniffer-composer-installer": "^1.0 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.",
     1400                "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
     1401            },
     1402            "type": "phpcodesniffer-standard",
     1403            "notification-url": "https://packagist.org/downloads/",
     1404            "license": [
     1405                "LGPL-3.0-or-later"
     1406            ],
     1407            "authors": [
     1408                {
     1409                    "name": "Wim Godden",
     1410                    "role": "lead"
     1411                },
     1412                {
     1413                    "name": "Juliette Reinders Folmer",
     1414                    "role": "lead"
     1415                }
     1416            ],
     1417            "description": "A set of rulesets for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by the Paragonie polyfill libraries.",
     1418            "homepage": "http://phpcompatibility.com/",
     1419            "keywords": [
     1420                "compatibility",
     1421                "paragonie",
     1422                "phpcs",
     1423                "polyfill",
     1424                "standards",
     1425                "static analysis"
     1426            ],
     1427            "support": {
     1428                "issues": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/issues",
     1429                "security": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/security/policy",
     1430                "source": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie"
     1431            },
     1432            "funding": [
     1433                {
     1434                    "url": "https://github.com/PHPCompatibility",
     1435                    "type": "github"
     1436                },
     1437                {
     1438                    "url": "https://github.com/jrfnl",
     1439                    "type": "github"
     1440                },
     1441                {
     1442                    "url": "https://opencollective.com/php_codesniffer",
     1443                    "type": "open_collective"
     1444                },
     1445                {
     1446                    "url": "https://thanks.dev/u/gh/phpcompatibility",
     1447                    "type": "thanks_dev"
     1448                }
     1449            ],
     1450            "time": "2025-09-19T17:43:28+00:00"
     1451        },
     1452        {
     1453            "name": "phpcompatibility/phpcompatibility-wp",
     1454            "version": "2.1.8",
     1455            "source": {
     1456                "type": "git",
     1457                "url": "https://github.com/PHPCompatibility/PHPCompatibilityWP.git",
     1458                "reference": "7c8d18b4d90dac9e86b0869a608fa09158e168fa"
     1459            },
     1460            "dist": {
     1461                "type": "zip",
     1462                "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/7c8d18b4d90dac9e86b0869a608fa09158e168fa",
     1463                "reference": "7c8d18b4d90dac9e86b0869a608fa09158e168fa",
     1464                "shasum": ""
     1465            },
     1466            "require": {
     1467                "phpcompatibility/php-compatibility": "^9.0",
     1468                "phpcompatibility/phpcompatibility-paragonie": "^1.0",
     1469                "squizlabs/php_codesniffer": "^3.3"
     1470            },
     1471            "require-dev": {
     1472                "dealerdirect/phpcodesniffer-composer-installer": "^1.0"
     1473            },
     1474            "suggest": {
     1475                "dealerdirect/phpcodesniffer-composer-installer": "^1.0 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.",
     1476                "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
     1477            },
     1478            "type": "phpcodesniffer-standard",
     1479            "notification-url": "https://packagist.org/downloads/",
     1480            "license": [
     1481                "LGPL-3.0-or-later"
     1482            ],
     1483            "authors": [
     1484                {
     1485                    "name": "Wim Godden",
     1486                    "role": "lead"
     1487                },
     1488                {
     1489                    "name": "Juliette Reinders Folmer",
     1490                    "role": "lead"
     1491                }
     1492            ],
     1493            "description": "A ruleset for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by WordPress.",
     1494            "homepage": "http://phpcompatibility.com/",
     1495            "keywords": [
     1496                "compatibility",
     1497                "phpcs",
     1498                "standards",
     1499                "static analysis",
     1500                "wordpress"
     1501            ],
     1502            "support": {
     1503                "issues": "https://github.com/PHPCompatibility/PHPCompatibilityWP/issues",
     1504                "security": "https://github.com/PHPCompatibility/PHPCompatibilityWP/security/policy",
     1505                "source": "https://github.com/PHPCompatibility/PHPCompatibilityWP"
     1506            },
     1507            "funding": [
     1508                {
     1509                    "url": "https://github.com/PHPCompatibility",
     1510                    "type": "github"
     1511                },
     1512                {
     1513                    "url": "https://github.com/jrfnl",
     1514                    "type": "github"
     1515                },
     1516                {
     1517                    "url": "https://opencollective.com/php_codesniffer",
     1518                    "type": "open_collective"
     1519                },
     1520                {
     1521                    "url": "https://thanks.dev/u/gh/phpcompatibility",
     1522                    "type": "thanks_dev"
     1523                }
     1524            ],
     1525            "time": "2025-10-18T00:05:59+00:00"
     1526        },
     1527        {
     1528            "name": "phpcsstandards/phpcsextra",
     1529            "version": "1.5.0",
     1530            "source": {
     1531                "type": "git",
     1532                "url": "https://github.com/PHPCSStandards/PHPCSExtra.git",
     1533                "reference": "b598aa890815b8df16363271b659d73280129101"
     1534            },
     1535            "dist": {
     1536                "type": "zip",
     1537                "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/b598aa890815b8df16363271b659d73280129101",
     1538                "reference": "b598aa890815b8df16363271b659d73280129101",
     1539                "shasum": ""
     1540            },
     1541            "require": {
     1542                "php": ">=5.4",
     1543                "phpcsstandards/phpcsutils": "^1.2.0",
     1544                "squizlabs/php_codesniffer": "^3.13.5 || ^4.0.1"
     1545            },
     1546            "require-dev": {
     1547                "php-parallel-lint/php-console-highlighter": "^1.0",
     1548                "php-parallel-lint/php-parallel-lint": "^1.4.0",
     1549                "phpcsstandards/phpcsdevcs": "^1.2.0",
     1550                "phpcsstandards/phpcsdevtools": "^1.2.1",
     1551                "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
     1552            },
     1553            "type": "phpcodesniffer-standard",
     1554            "extra": {
     1555                "branch-alias": {
     1556                    "dev-stable": "1.x-dev",
     1557                    "dev-develop": "1.x-dev"
     1558                }
     1559            },
     1560            "notification-url": "https://packagist.org/downloads/",
     1561            "license": [
     1562                "LGPL-3.0-or-later"
     1563            ],
     1564            "authors": [
     1565                {
     1566                    "name": "Juliette Reinders Folmer",
     1567                    "homepage": "https://github.com/jrfnl",
     1568                    "role": "lead"
     1569                },
     1570                {
     1571                    "name": "Contributors",
     1572                    "homepage": "https://github.com/PHPCSStandards/PHPCSExtra/graphs/contributors"
     1573                }
     1574            ],
     1575            "description": "A collection of sniffs and standards for use with PHP_CodeSniffer.",
     1576            "keywords": [
     1577                "PHP_CodeSniffer",
     1578                "phpcbf",
     1579                "phpcodesniffer-standard",
     1580                "phpcs",
     1581                "standards",
     1582                "static analysis"
     1583            ],
     1584            "support": {
     1585                "issues": "https://github.com/PHPCSStandards/PHPCSExtra/issues",
     1586                "security": "https://github.com/PHPCSStandards/PHPCSExtra/security/policy",
     1587                "source": "https://github.com/PHPCSStandards/PHPCSExtra"
     1588            },
     1589            "funding": [
     1590                {
     1591                    "url": "https://github.com/PHPCSStandards",
     1592                    "type": "github"
     1593                },
     1594                {
     1595                    "url": "https://github.com/jrfnl",
     1596                    "type": "github"
     1597                },
     1598                {
     1599                    "url": "https://opencollective.com/php_codesniffer",
     1600                    "type": "open_collective"
     1601                },
     1602                {
     1603                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     1604                    "type": "thanks_dev"
     1605                }
     1606            ],
     1607            "time": "2025-11-12T23:06:57+00:00"
     1608        },
     1609        {
     1610            "name": "phpcsstandards/phpcsutils",
     1611            "version": "1.2.2",
     1612            "source": {
     1613                "type": "git",
     1614                "url": "https://github.com/PHPCSStandards/PHPCSUtils.git",
     1615                "reference": "c216317e96c8b3f5932808f9b0f1f7a14e3bbf55"
     1616            },
     1617            "dist": {
     1618                "type": "zip",
     1619                "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/c216317e96c8b3f5932808f9b0f1f7a14e3bbf55",
     1620                "reference": "c216317e96c8b3f5932808f9b0f1f7a14e3bbf55",
     1621                "shasum": ""
     1622            },
     1623            "require": {
     1624                "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0",
     1625                "php": ">=5.4",
     1626                "squizlabs/php_codesniffer": "^3.13.5 || ^4.0.1"
     1627            },
     1628            "require-dev": {
     1629                "ext-filter": "*",
     1630                "php-parallel-lint/php-console-highlighter": "^1.0",
     1631                "php-parallel-lint/php-parallel-lint": "^1.4.0",
     1632                "phpcsstandards/phpcsdevcs": "^1.2.0",
     1633                "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0 || ^3.0.0"
     1634            },
     1635            "type": "phpcodesniffer-standard",
     1636            "extra": {
     1637                "branch-alias": {
     1638                    "dev-stable": "1.x-dev",
     1639                    "dev-develop": "1.x-dev"
     1640                }
     1641            },
     1642            "autoload": {
     1643                "classmap": [
     1644                    "PHPCSUtils/"
     1645                ]
     1646            },
     1647            "notification-url": "https://packagist.org/downloads/",
     1648            "license": [
     1649                "LGPL-3.0-or-later"
     1650            ],
     1651            "authors": [
     1652                {
     1653                    "name": "Juliette Reinders Folmer",
     1654                    "homepage": "https://github.com/jrfnl",
     1655                    "role": "lead"
     1656                },
     1657                {
     1658                    "name": "Contributors",
     1659                    "homepage": "https://github.com/PHPCSStandards/PHPCSUtils/graphs/contributors"
     1660                }
     1661            ],
     1662            "description": "A suite of utility functions for use with PHP_CodeSniffer",
     1663            "homepage": "https://phpcsutils.com/",
     1664            "keywords": [
     1665                "PHP_CodeSniffer",
     1666                "phpcbf",
     1667                "phpcodesniffer-standard",
     1668                "phpcs",
     1669                "phpcs3",
     1670                "phpcs4",
     1671                "standards",
     1672                "static analysis",
     1673                "tokens",
     1674                "utility"
     1675            ],
     1676            "support": {
     1677                "docs": "https://phpcsutils.com/",
     1678                "issues": "https://github.com/PHPCSStandards/PHPCSUtils/issues",
     1679                "security": "https://github.com/PHPCSStandards/PHPCSUtils/security/policy",
     1680                "source": "https://github.com/PHPCSStandards/PHPCSUtils"
     1681            },
     1682            "funding": [
     1683                {
     1684                    "url": "https://github.com/PHPCSStandards",
     1685                    "type": "github"
     1686                },
     1687                {
     1688                    "url": "https://github.com/jrfnl",
     1689                    "type": "github"
     1690                },
     1691                {
     1692                    "url": "https://opencollective.com/php_codesniffer",
     1693                    "type": "open_collective"
     1694                },
     1695                {
     1696                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     1697                    "type": "thanks_dev"
     1698                }
     1699            ],
     1700            "time": "2025-12-08T14:27:58+00:00"
     1701        },
     1702        {
     1703            "name": "squizlabs/php_codesniffer",
     1704            "version": "3.13.5",
     1705            "source": {
     1706                "type": "git",
     1707                "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
     1708                "reference": "0ca86845ce43291e8f5692c7356fccf3bcf02bf4"
     1709            },
     1710            "dist": {
     1711                "type": "zip",
     1712                "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/0ca86845ce43291e8f5692c7356fccf3bcf02bf4",
     1713                "reference": "0ca86845ce43291e8f5692c7356fccf3bcf02bf4",
     1714                "shasum": ""
     1715            },
     1716            "require": {
     1717                "ext-simplexml": "*",
     1718                "ext-tokenizer": "*",
     1719                "ext-xmlwriter": "*",
     1720                "php": ">=5.4.0"
     1721            },
     1722            "require-dev": {
     1723                "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
     1724            },
     1725            "bin": [
     1726                "bin/phpcbf",
     1727                "bin/phpcs"
     1728            ],
     1729            "type": "library",
     1730            "notification-url": "https://packagist.org/downloads/",
     1731            "license": [
     1732                "BSD-3-Clause"
     1733            ],
     1734            "authors": [
     1735                {
     1736                    "name": "Greg Sherwood",
     1737                    "role": "Former lead"
     1738                },
     1739                {
     1740                    "name": "Juliette Reinders Folmer",
     1741                    "role": "Current lead"
     1742                },
     1743                {
     1744                    "name": "Contributors",
     1745                    "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors"
     1746                }
     1747            ],
     1748            "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
     1749            "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
     1750            "keywords": [
     1751                "phpcs",
     1752                "standards",
     1753                "static analysis"
     1754            ],
     1755            "support": {
     1756                "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues",
     1757                "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy",
     1758                "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
     1759                "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki"
     1760            },
     1761            "funding": [
     1762                {
     1763                    "url": "https://github.com/PHPCSStandards",
     1764                    "type": "github"
     1765                },
     1766                {
     1767                    "url": "https://github.com/jrfnl",
     1768                    "type": "github"
     1769                },
     1770                {
     1771                    "url": "https://opencollective.com/php_codesniffer",
     1772                    "type": "open_collective"
     1773                },
     1774                {
     1775                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     1776                    "type": "thanks_dev"
     1777                }
     1778            ],
     1779            "time": "2025-11-04T16:30:35+00:00"
     1780        },
     1781        {
     1782            "name": "woocommerce/woocommerce-sniffs",
     1783            "version": "1.0.1",
     1784            "source": {
     1785                "type": "git",
     1786                "url": "https://github.com/woocommerce/woocommerce-sniffs.git",
     1787                "reference": "e6da0c372573724806b270ec1d5d94988b8aec52"
     1788            },
     1789            "dist": {
     1790                "type": "zip",
     1791                "url": "https://api.github.com/repos/woocommerce/woocommerce-sniffs/zipball/e6da0c372573724806b270ec1d5d94988b8aec52",
     1792                "reference": "e6da0c372573724806b270ec1d5d94988b8aec52",
     1793                "shasum": ""
     1794            },
     1795            "require": {
     1796                "dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
     1797                "php": ">=7.0",
     1798                "phpcompatibility/phpcompatibility-wp": "^2.1.0",
     1799                "wp-coding-standards/wpcs": "^3.0.0"
     1800            },
     1801            "type": "phpcodesniffer-standard",
     1802            "notification-url": "https://packagist.org/downloads/",
     1803            "license": [
     1804                "MIT"
     1805            ],
     1806            "description": "WooCommerce sniffs",
     1807            "keywords": [
     1808                "phpcs",
     1809                "standards",
     1810                "static analysis",
     1811                "woocommerce",
     1812                "wordpress"
     1813            ],
     1814            "support": {
     1815                "issues": "https://github.com/woocommerce/woocommerce-sniffs/issues",
     1816                "source": "https://github.com/woocommerce/woocommerce-sniffs/tree/1.0.1"
     1817            },
     1818            "time": "2025-09-03T13:34:27+00:00"
     1819        },
     1820        {
     1821            "name": "wp-coding-standards/wpcs",
     1822            "version": "3.3.0",
     1823            "source": {
     1824                "type": "git",
     1825                "url": "https://github.com/WordPress/WordPress-Coding-Standards.git",
     1826                "reference": "7795ec6fa05663d716a549d0b44e47ffc8b0d4a6"
     1827            },
     1828            "dist": {
     1829                "type": "zip",
     1830                "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/7795ec6fa05663d716a549d0b44e47ffc8b0d4a6",
     1831                "reference": "7795ec6fa05663d716a549d0b44e47ffc8b0d4a6",
     1832                "shasum": ""
     1833            },
     1834            "require": {
     1835                "ext-filter": "*",
     1836                "ext-libxml": "*",
     1837                "ext-tokenizer": "*",
     1838                "ext-xmlreader": "*",
     1839                "php": ">=7.2",
     1840                "phpcsstandards/phpcsextra": "^1.5.0",
     1841                "phpcsstandards/phpcsutils": "^1.1.0",
     1842                "squizlabs/php_codesniffer": "^3.13.4"
     1843            },
     1844            "require-dev": {
     1845                "php-parallel-lint/php-console-highlighter": "^1.0.0",
     1846                "php-parallel-lint/php-parallel-lint": "^1.4.0",
     1847                "phpcompatibility/php-compatibility": "^10.0.0@dev",
     1848                "phpcsstandards/phpcsdevtools": "^1.2.0",
     1849                "phpunit/phpunit": "^8.0 || ^9.0"
     1850            },
     1851            "suggest": {
     1852                "ext-iconv": "For improved results",
     1853                "ext-mbstring": "For improved results"
     1854            },
     1855            "type": "phpcodesniffer-standard",
     1856            "notification-url": "https://packagist.org/downloads/",
     1857            "license": [
     1858                "MIT"
     1859            ],
     1860            "authors": [
     1861                {
     1862                    "name": "Contributors",
     1863                    "homepage": "https://github.com/WordPress/WordPress-Coding-Standards/graphs/contributors"
     1864                }
     1865            ],
     1866            "description": "PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions",
     1867            "keywords": [
     1868                "phpcs",
     1869                "standards",
     1870                "static analysis",
     1871                "wordpress"
     1872            ],
     1873            "support": {
     1874                "issues": "https://github.com/WordPress/WordPress-Coding-Standards/issues",
     1875                "source": "https://github.com/WordPress/WordPress-Coding-Standards",
     1876                "wiki": "https://github.com/WordPress/WordPress-Coding-Standards/wiki"
     1877            },
     1878            "funding": [
     1879                {
     1880                    "url": "https://opencollective.com/php_codesniffer",
     1881                    "type": "custom"
     1882                }
     1883            ],
     1884            "time": "2025-11-25T12:08:04+00:00"
     1885        }
     1886    ],
    12181887    "aliases": [],
    12191888    "minimum-stability": "stable",
  • payment-gateway-wc-victoriabank-mia/tags/1.0.2/languages/payment-gateway-wc-victoriabank-mia-ro_RO.po

    r3423778 r3424882  
    44msgstr ""
    55"Project-Id-Version: Payment Gateway for Victoriabank MIA for WooCommerce "
    6 "1.0.1\n"
     6"1.0.2\n"
    77"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/payment-gateway-"
    88"wc-victoriabank-mia\n"
    9 "POT-Creation-Date: 2025-12-19 16:17+0200\n"
    10 "PO-Revision-Date: 2025-12-19 16:17+0200\n"
     9"POT-Creation-Date: 2025-12-21 19:55+0200\n"
     10"PO-Revision-Date: 2025-12-21 19:59+0200\n"
    1111"Last-Translator: Alexander Minza <[email protected]>\n"
    1212"Language-Team: \n"
     
    1717"X-Generator: Poedit 3.8\n"
    1818
     19#. Plugin Name of the plugin
     20#: payment-gateway-wc-victoriabank-mia.php
     21msgid "Payment Gateway for Victoriabank MIA for WooCommerce"
     22msgstr "Gateway de plată pentru Victoriabank MIA pentru WooCommerce"
     23
    1924#. Description of the plugin
    2025#: payment-gateway-wc-victoriabank-mia.php
     
    2328"for Victoriabank MIA for WooCommerce."
    2429msgstr ""
    25 "Acceptă MIA plăți instant direct în magazin cu gateway-ul de plată "
     30"Acceptați MIA plăți instant direct în magazin cu gateway-ul de plată "
    2631"Victoriabank MIA pentru WooCommerce."
    2732
    28 #: payment-gateway-wc-victoriabank-mia.php:118
     33#: payment-gateway-wc-victoriabank-mia.php:75
     34msgid "Accept MIA Instant Payments through Victoriabank."
     35msgstr "Acceptați MIA plăți instant prin Victoriabank."
     36
     37#: payment-gateway-wc-victoriabank-mia.php:121
    2938msgid "Enable/Disable"
    3039msgstr "Activare/Dezactivare"
    3140
    32 #: payment-gateway-wc-victoriabank-mia.php:120
     41#: payment-gateway-wc-victoriabank-mia.php:123
    3342msgid "Enable this gateway"
    3443msgstr "Activează acest gateway de plată"
    3544
    36 #: payment-gateway-wc-victoriabank-mia.php:124
     45#: payment-gateway-wc-victoriabank-mia.php:127
    3746msgid "Title"
    3847msgstr "Titlu"
    3948
    40 #: payment-gateway-wc-victoriabank-mia.php:126
     49#: payment-gateway-wc-victoriabank-mia.php:129
    4150msgid "Payment method title that the customer will see during checkout."
    4251msgstr "Titlul metodei de plată afișat clientului în timpul plății."
    4352
    44 #: payment-gateway-wc-victoriabank-mia.php:131
     53#: payment-gateway-wc-victoriabank-mia.php:137
    4554msgid "Description"
    4655msgstr "Descriere"
    4756
    48 #: payment-gateway-wc-victoriabank-mia.php:133
     57#: payment-gateway-wc-victoriabank-mia.php:139
    4958msgid "Payment method description that the customer will see during checkout."
    5059msgstr "Descrierea metodei de plată afișată clientului în timpul plății."
    5160
    52 #: payment-gateway-wc-victoriabank-mia.php:139
     61#: payment-gateway-wc-victoriabank-mia.php:141
     62msgid ""
     63"Pay instantly by scanning the QR code using your bank's mobile application."
     64msgstr ""
     65"Plătește instant scanând codul QR folosind aplicația mobilă a băncii tale."
     66
     67#: payment-gateway-wc-victoriabank-mia.php:145
    5368msgid "Test mode"
    5469msgstr "Mod testare"
    5570
    56 #: payment-gateway-wc-victoriabank-mia.php:141
     71#: payment-gateway-wc-victoriabank-mia.php:147
    5772msgid "Enabled"
    5873msgstr "Activat"
    5974
    60 #: payment-gateway-wc-victoriabank-mia.php:142
     75#: payment-gateway-wc-victoriabank-mia.php:148
    6176msgid ""
    6277"Use Test or Live bank gateway to process the payments. Disable when ready to "
     
    6681"plăților. Dezactivați atunci când sunteți gata să acceptați plăți reale."
    6782
    68 #: payment-gateway-wc-victoriabank-mia.php:147
     83#: payment-gateway-wc-victoriabank-mia.php:153
    6984msgid "Debug mode"
    7085msgstr "Mod depanare"
    7186
    72 #: payment-gateway-wc-victoriabank-mia.php:149
     87#: payment-gateway-wc-victoriabank-mia.php:155
    7388msgid "Enable logging"
    7489msgstr "Activează jurnalizare"
    7590
    76 #: payment-gateway-wc-victoriabank-mia.php:151
     91#: payment-gateway-wc-victoriabank-mia.php:157
    7792msgid "View logs"
    7893msgstr "Vizualizați jurnalele"
    7994
    80 #: payment-gateway-wc-victoriabank-mia.php:152
     95#: payment-gateway-wc-victoriabank-mia.php:158
    8196msgid ""
    8297"Save debug messages to the WooCommerce System Status logs. Note: this may "
     
    88103"opțiune numai pentru depanare și ștergeți jurnalele atunci când ați terminat."
    89104
    90 #: payment-gateway-wc-victoriabank-mia.php:156
     105#: payment-gateway-wc-victoriabank-mia.php:162
    91106msgid "Order description"
    92107msgstr "Descriere comandă"
    93108
    94109#. translators: 1: Example placeholder shown to user, represents Order ID
    95 #: payment-gateway-wc-victoriabank-mia.php:159
     110#: payment-gateway-wc-victoriabank-mia.php:165
    96111#, php-format
    97112msgid "Format: <code>%1$s</code> - Order ID"
    98113msgstr "Format: <code>%1$s</code> - ID Comandă"
    99114
    100 #: payment-gateway-wc-victoriabank-mia.php:160
    101 msgid "Order description that the customer will see on the bank payment page."
    102 msgstr ""
    103 "Descrierea comenzii afișată clientului pe pagina băncii în timpul plății."
    104 
    105 #: payment-gateway-wc-victoriabank-mia.php:164
     115#: payment-gateway-wc-victoriabank-mia.php:166
     116msgid "Order description that the customer will see in the app during payment."
     117msgstr ""
     118"Descrierea comenzii pe care clientul o va vedea în aplicație în timpul "
     119"plății."
     120
     121#: payment-gateway-wc-victoriabank-mia.php:175
    106122msgid "Transaction validity"
    107123msgstr "Valabilitatea tranzacției"
    108124
    109 #: payment-gateway-wc-victoriabank-mia.php:166
    110 msgid "minutes"
    111 msgstr "minute"
    112 
    113 #: payment-gateway-wc-victoriabank-mia.php:171
    114 #: payment-gateway-wc-victoriabank-mia.php:275
     125#. translators: 1: Transaction validity in minutes
     126#: payment-gateway-wc-victoriabank-mia.php:178
     127#, php-format
     128msgid "Default: %1$s minutes"
     129msgstr "Implicit: %1$s minute"
     130
     131#: payment-gateway-wc-victoriabank-mia.php:179
     132msgid "QR code validity time in minutes."
     133msgstr "Timpul de valabilitate al codului QR în minute."
     134
     135#: payment-gateway-wc-victoriabank-mia.php:190
     136#: payment-gateway-wc-victoriabank-mia.php:324
    115137msgid "Connection Settings"
    116138msgstr "Setări conexiune"
    117139
    118 #: payment-gateway-wc-victoriabank-mia.php:172
     140#: payment-gateway-wc-victoriabank-mia.php:191
    119141msgid "Payment gateway connection credentials are provided by the bank."
    120142msgstr "Datele de conectare la gateway-ul de plată sunt furnizate de bancă."
    121143
    122 #: payment-gateway-wc-victoriabank-mia.php:176
     144#: payment-gateway-wc-victoriabank-mia.php:195
    123145msgid "Username"
    124146msgstr "Nume utilizator"
    125147
    126 #: payment-gateway-wc-victoriabank-mia.php:180
     148#: payment-gateway-wc-victoriabank-mia.php:202
    127149msgid "Password"
    128150msgstr "Parolă"
    129151
    130 #: payment-gateway-wc-victoriabank-mia.php:184
     152#: payment-gateway-wc-victoriabank-mia.php:209
    131153msgid "Certificate"
    132154msgstr "Certificat"
    133155
    134 #: payment-gateway-wc-victoriabank-mia.php:186
     156#: payment-gateway-wc-victoriabank-mia.php:212
    135157msgid ""
    136158"Victoriabank Public Key Certificate to validate the authenticity of the "
     
    140162"autenticității notificărilor de plată."
    141163
    142 #: payment-gateway-wc-victoriabank-mia.php:190
     164#: payment-gateway-wc-victoriabank-mia.php:220
    143165msgid "Company Name"
    144166msgstr "Nume companie"
    145167
    146 #: payment-gateway-wc-victoriabank-mia.php:194
     168#: payment-gateway-wc-victoriabank-mia.php:223
     169msgid "Commercial name that the customer will see in the app during payment."
     170msgstr ""
     171"Denumirea comercială pe care clientul o va vedea în aplicație în timpul "
     172"plății."
     173
     174#: payment-gateway-wc-victoriabank-mia.php:232
    147175msgid "Creditor Account"
    148176msgstr "Cont creditor"
    149177
    150 #: payment-gateway-wc-victoriabank-mia.php:196
     178#: payment-gateway-wc-victoriabank-mia.php:234
    151179msgid "IBAN"
    152180msgstr "IBAN"
    153181
    154 #: payment-gateway-wc-victoriabank-mia.php:200
     182#: payment-gateway-wc-victoriabank-mia.php:235
     183msgid "IBAN account for receiving payments."
     184msgstr "Cont IBAN pentru primirea plăților."
     185
     186#: payment-gateway-wc-victoriabank-mia.php:246
    155187msgid "Payment Notification"
    156188msgstr "Notificare plăți"
    157189
    158 #: payment-gateway-wc-victoriabank-mia.php:203
     190#: payment-gateway-wc-victoriabank-mia.php:250
    159191msgid "Provide this URL to the bank to enable online payment notifications."
    160192msgstr ""
     
    162194"online."
    163195
    164 #: payment-gateway-wc-victoriabank-mia.php:204
     196#: payment-gateway-wc-victoriabank-mia.php:251
    165197msgid "Callback URL"
    166198msgstr "URL apel invers (Callback URL)"
    167199
    168 #: payment-gateway-wc-victoriabank-mia.php:262
     200#: payment-gateway-wc-victoriabank-mia.php:311
    169201msgid "Unsupported store currency"
    170202msgstr "Valuta magazinului nu este suportată"
    171203
    172 #: payment-gateway-wc-victoriabank-mia.php:264
     204#: payment-gateway-wc-victoriabank-mia.php:313
    173205msgid "Supported currencies"
    174206msgstr "Valute suportate"
    175207
    176208#. translators: 1: Plugin installation instructions URL
    177 #: payment-gateway-wc-victoriabank-mia.php:274
     209#: payment-gateway-wc-victoriabank-mia.php:323
    178210#, php-format
    179211msgid ""
     
    184216"target=\"_blank\">instrucțiuni de instalare</a>."
    185217
    186 #: payment-gateway-wc-victoriabank-mia.php:275
     218#: payment-gateway-wc-victoriabank-mia.php:324
    187219msgid "Not configured"
    188220msgstr "Neconfigurat"
    189221
     222#. translators: 1: Field label
     223#: payment-gateway-wc-victoriabank-mia.php:342
     224#, php-format
     225msgid "%1$s field must be set."
     226msgstr "Câmpul %1$s trebuie setat."
     227
     228#. translators: 1: Field label, 2: Min value, 3: Max value
     229#: payment-gateway-wc-victoriabank-mia.php:357
     230#, php-format
     231msgid "%1$s field must be an integer between %2$d and %3$d."
     232msgstr "Câmpul %1$s trebuie să fie un număr întreg între %2$d și %3$d."
     233
     234#. translators: 1: Field label
     235#: payment-gateway-wc-victoriabank-mia.php:377
     236#, php-format
     237msgid "Invalid %1$s field."
     238msgstr "Câmp %1$s nevalid."
     239
     240#. translators: 1: Field label
     241#: payment-gateway-wc-victoriabank-mia.php:392
     242#, php-format
     243msgid "Invalid %1$s field. Must start with MD and have 24 characters."
     244msgstr ""
     245"Câmp %1$s nevalid. Trebuie să înceapă cu MD și să aibă 24 de caractere."
     246
    190247#. translators: 1: Payment method title, 2: Plugin settings URL
    191 #: payment-gateway-wc-victoriabank-mia.php:305
     248#: payment-gateway-wc-victoriabank-mia.php:441
    192249#, php-format
    193250msgid ""
     
    199256
    200257#. translators: 1: Payment method title, 2: Plugin settings URL
    201 #: payment-gateway-wc-victoriabank-mia.php:312
     258#: payment-gateway-wc-victoriabank-mia.php:448
    202259#, php-format
    203260msgid ""
     
    209266
    210267#. translators: 1: Order ID, 2: Payment method title, 3: API response details
    211 #: payment-gateway-wc-victoriabank-mia.php:449
     268#: payment-gateway-wc-victoriabank-mia.php:613
    212269#, php-format
    213270msgid "Order #%1$s payment initiated via %2$s: %3$s"
     
    215272
    216273#. translators: 1: Order ID, 2: Payment method title
    217 #: payment-gateway-wc-victoriabank-mia.php:461
     274#: payment-gateway-wc-victoriabank-mia.php:625
    218275#, php-format
    219276msgid "Order #%1$s payment initiation failed via %2$s."
     
    221278
    222279#. translators: 1: Payment method title
    223 #: payment-gateway-wc-victoriabank-mia.php:485
     280#: payment-gateway-wc-victoriabank-mia.php:649
    224281#, php-format
    225282msgid "%1$s Callback URL"
    226283msgstr "%1$s Callback URL"
    227284
    228 #: payment-gateway-wc-victoriabank-mia.php:508
     285#: payment-gateway-wc-victoriabank-mia.php:672
    229286msgid "Payment notification callback"
    230287msgstr "Notificare de plată"
    231288
    232289#. translators: 1: QR Extension ID, 2: Payment method title
    233 #: payment-gateway-wc-victoriabank-mia.php:543
     290#: payment-gateway-wc-victoriabank-mia.php:707
    234291#, php-format
    235292msgid "Order not found by QR Extension ID: %1$s received from %2$s."
     
    237294
    238295#. translators: 1: Callback notification price, 2: Order total price
    239 #: payment-gateway-wc-victoriabank-mia.php:565
     296#: payment-gateway-wc-victoriabank-mia.php:729
    240297#, php-format
    241298msgid "Order amount mismatch: Callback: %1$s, Order: %2$s."
     
    243300
    244301#. translators: 1: Order ID
    245 #: payment-gateway-wc-victoriabank-mia.php:573
     302#: payment-gateway-wc-victoriabank-mia.php:737
    246303#, php-format
    247304msgid "Callback order #%1$s already fully paid."
     
    249306
    250307#. translators: 1: Order ID, 2: Payment method title, 3: Payment notification callback data
    251 #: payment-gateway-wc-victoriabank-mia.php:592
     308#: payment-gateway-wc-victoriabank-mia.php:756
    252309#, php-format
    253310msgid "Order #%1$s payment completed via %2$s: %3$s"
     
    255312
    256313#. translators: 1: Payment method title
    257 #: payment-gateway-wc-victoriabank-mia.php:616
     314#: payment-gateway-wc-victoriabank-mia.php:780
    258315#, php-format
    259316msgid "Partial refunds are not currently supported by %1$s."
     
    261318
    262319#. translators: 1: Order ID, 2: Refund amount, 3: Payment method title, 4: Error message
    263 #: payment-gateway-wc-victoriabank-mia.php:641
     320#: payment-gateway-wc-victoriabank-mia.php:805
    264321#, php-format
    265322msgid "Order #%1$s refund of %2$s via %3$s failed: %4$s"
     
    267324
    268325#. translators: 1: Order ID, 2: Refund amount, 3: Payment method title
    269 #: payment-gateway-wc-victoriabank-mia.php:652
     326#: payment-gateway-wc-victoriabank-mia.php:816
    270327#, php-format
    271328msgid "Order #%1$s refund of %2$s via %3$s approved."
     
    273330
    274331#. translators: 1: Original message
    275 #: payment-gateway-wc-victoriabank-mia.php:716
     332#: payment-gateway-wc-victoriabank-mia.php:880
    276333#, php-format
    277334msgid "TEST: %1$s"
    278335msgstr "TEST: %1$s"
    279336
    280 #: payment-gateway-wc-victoriabank-mia.php:836
     337#: payment-gateway-wc-victoriabank-mia.php:995
    281338msgid "Settings"
    282339msgstr "Setări"
  • payment-gateway-wc-victoriabank-mia/tags/1.0.2/languages/payment-gateway-wc-victoriabank-mia-ru_RU.po

    r3423778 r3424882  
    44msgstr ""
    55"Project-Id-Version: Payment Gateway for Victoriabank MIA for WooCommerce "
    6 "1.0.1\n"
     6"1.0.2\n"
    77"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/payment-gateway-"
    88"wc-victoriabank-mia\n"
    9 "POT-Creation-Date: 2025-12-19 16:17+0200\n"
    10 "PO-Revision-Date: 2025-12-19 16:18+0200\n"
     9"POT-Creation-Date: 2025-12-21 19:55+0200\n"
     10"PO-Revision-Date: 2025-12-21 20:01+0200\n"
    1111"Last-Translator: Alexander Minza <[email protected]>\n"
    1212"Language-Team: \n"
     
    1717"X-Generator: Poedit 3.8\n"
    1818
     19#. Plugin Name of the plugin
     20#: payment-gateway-wc-victoriabank-mia.php
     21msgid "Payment Gateway for Victoriabank MIA for WooCommerce"
     22msgstr "Payment Gateway for Victoriabank MIA for WooCommerce"
     23
    1924#. Description of the plugin
    2025#: payment-gateway-wc-victoriabank-mia.php
     
    2429msgstr ""
    2530"Принимайте MIA мгновенные платежи прямо в своем магазине с помощью "
    26 "платежного шлюза maib MIA для WooCommerce."
    27 
    28 #: payment-gateway-wc-victoriabank-mia.php:118
     31"платежного шлюза Victoriabank MIA для WooCommerce."
     32
     33#: payment-gateway-wc-victoriabank-mia.php:75
     34msgid "Accept MIA Instant Payments through Victoriabank."
     35msgstr "Принимайте MIA мгновенные платежи через Victoriabank."
     36
     37#: payment-gateway-wc-victoriabank-mia.php:121
    2938msgid "Enable/Disable"
    3039msgstr "Включить/Выключить"
    3140
    32 #: payment-gateway-wc-victoriabank-mia.php:120
     41#: payment-gateway-wc-victoriabank-mia.php:123
    3342msgid "Enable this gateway"
    3443msgstr "Включить платежный шлюз"
    3544
    36 #: payment-gateway-wc-victoriabank-mia.php:124
     45#: payment-gateway-wc-victoriabank-mia.php:127
    3746msgid "Title"
    3847msgstr "Наименование"
    3948
    40 #: payment-gateway-wc-victoriabank-mia.php:126
     49#: payment-gateway-wc-victoriabank-mia.php:129
    4150msgid "Payment method title that the customer will see during checkout."
    42 msgstr "Заголовок, который видит пользователь в процессе оформления заказа."
    43 
    44 #: payment-gateway-wc-victoriabank-mia.php:131
     51msgstr ""
     52"Название способа оплаты, которое покупатель увидит при оформлении заказа."
     53
     54#: payment-gateway-wc-victoriabank-mia.php:137
    4555msgid "Description"
    4656msgstr "Описание"
    4757
    48 #: payment-gateway-wc-victoriabank-mia.php:133
     58#: payment-gateway-wc-victoriabank-mia.php:139
    4959msgid "Payment method description that the customer will see during checkout."
    5060msgstr ""
    51 "Описание метода оплаты, которое клиент будет видеть при оформлении заказа."
    52 
    53 #: payment-gateway-wc-victoriabank-mia.php:139
     61"Описание способа оплаты, которое покупатель увидит при оформлении заказа."
     62
     63#: payment-gateway-wc-victoriabank-mia.php:141
     64msgid ""
     65"Pay instantly by scanning the QR code using your bank's mobile application."
     66msgstr ""
     67"Оплатите мгновенно, отсканировав QR-код с помощью мобильного приложения "
     68"вашего банка."
     69
     70#: payment-gateway-wc-victoriabank-mia.php:145
    5471msgid "Test mode"
    5572msgstr "Тестовый режим"
    5673
    57 #: payment-gateway-wc-victoriabank-mia.php:141
     74#: payment-gateway-wc-victoriabank-mia.php:147
    5875msgid "Enabled"
    5976msgstr "Включен"
    6077
    61 #: payment-gateway-wc-victoriabank-mia.php:142
     78#: payment-gateway-wc-victoriabank-mia.php:148
    6279msgid ""
    6380"Use Test or Live bank gateway to process the payments. Disable when ready to "
     
    6784"Отключить, когда будете готовы принимать реальные платежи."
    6885
    69 #: payment-gateway-wc-victoriabank-mia.php:147
     86#: payment-gateway-wc-victoriabank-mia.php:153
    7087msgid "Debug mode"
    7188msgstr "Режим отладки"
    7289
    73 #: payment-gateway-wc-victoriabank-mia.php:149
     90#: payment-gateway-wc-victoriabank-mia.php:155
    7491msgid "Enable logging"
    7592msgstr "Включить журналирование"
    7693
    77 #: payment-gateway-wc-victoriabank-mia.php:151
     94#: payment-gateway-wc-victoriabank-mia.php:157
    7895msgid "View logs"
    7996msgstr "Просмотреть журналы"
    8097
    81 #: payment-gateway-wc-victoriabank-mia.php:152
     98#: payment-gateway-wc-victoriabank-mia.php:158
    8299msgid ""
    83100"Save debug messages to the WooCommerce System Status logs. Note: this may "
     
    89106"отладки и удалите журналы по завершению."
    90107
    91 #: payment-gateway-wc-victoriabank-mia.php:156
     108#: payment-gateway-wc-victoriabank-mia.php:162
    92109msgid "Order description"
    93110msgstr "Описание заказа"
    94111
    95112#. translators: 1: Example placeholder shown to user, represents Order ID
    96 #: payment-gateway-wc-victoriabank-mia.php:159
     113#: payment-gateway-wc-victoriabank-mia.php:165
    97114#, php-format
    98115msgid "Format: <code>%1$s</code> - Order ID"
    99116msgstr "Формат: <code>%1$s</code> - номер заказа"
    100117
    101 #: payment-gateway-wc-victoriabank-mia.php:160
    102 msgid "Order description that the customer will see on the bank payment page."
    103 msgstr ""
    104 "Описание заказа, которое клиент будет видеть при оплате на странице банка."
    105 
    106 #: payment-gateway-wc-victoriabank-mia.php:164
     118#: payment-gateway-wc-victoriabank-mia.php:166
     119msgid "Order description that the customer will see in the app during payment."
     120msgstr ""
     121"Описание заказа, которое покупатель увидит в приложении во время оплаты."
     122
     123#: payment-gateway-wc-victoriabank-mia.php:175
    107124msgid "Transaction validity"
    108125msgstr "Действительность транзакции"
    109126
    110 #: payment-gateway-wc-victoriabank-mia.php:166
    111 msgid "minutes"
    112 msgstr "минут"
    113 
    114 #: payment-gateway-wc-victoriabank-mia.php:171
    115 #: payment-gateway-wc-victoriabank-mia.php:275
     127#. translators: 1: Transaction validity in minutes
     128#: payment-gateway-wc-victoriabank-mia.php:178
     129#, php-format
     130msgid "Default: %1$s minutes"
     131msgstr "По умолчанию: %1$s мин."
     132
     133#: payment-gateway-wc-victoriabank-mia.php:179
     134msgid "QR code validity time in minutes."
     135msgstr "Время действия QR-кода в минутах."
     136
     137#: payment-gateway-wc-victoriabank-mia.php:190
     138#: payment-gateway-wc-victoriabank-mia.php:324
    116139msgid "Connection Settings"
    117140msgstr "Настройки подключения"
    118141
    119 #: payment-gateway-wc-victoriabank-mia.php:172
     142#: payment-gateway-wc-victoriabank-mia.php:191
    120143msgid "Payment gateway connection credentials are provided by the bank."
    121144msgstr ""
    122145"Учетные данные для подключения к платежному шлюзу предоставляются банком."
    123146
    124 #: payment-gateway-wc-victoriabank-mia.php:176
     147#: payment-gateway-wc-victoriabank-mia.php:195
    125148msgid "Username"
    126149msgstr "Логин"
    127150
    128 #: payment-gateway-wc-victoriabank-mia.php:180
     151#: payment-gateway-wc-victoriabank-mia.php:202
    129152msgid "Password"
    130153msgstr "Пароль"
    131154
    132 #: payment-gateway-wc-victoriabank-mia.php:184
     155#: payment-gateway-wc-victoriabank-mia.php:209
    133156msgid "Certificate"
    134157msgstr "Сертификат"
    135158
    136 #: payment-gateway-wc-victoriabank-mia.php:186
     159#: payment-gateway-wc-victoriabank-mia.php:212
    137160msgid ""
    138161"Victoriabank Public Key Certificate to validate the authenticity of the "
     
    142165"уведомлений о платежах."
    143166
    144 #: payment-gateway-wc-victoriabank-mia.php:190
     167#: payment-gateway-wc-victoriabank-mia.php:220
    145168msgid "Company Name"
    146169msgstr "Название компании"
    147170
    148 #: payment-gateway-wc-victoriabank-mia.php:194
     171#: payment-gateway-wc-victoriabank-mia.php:223
     172msgid "Commercial name that the customer will see in the app during payment."
     173msgstr ""
     174"Коммерческое название, которое покупатель увидит в приложении во время "
     175"оплаты."
     176
     177#: payment-gateway-wc-victoriabank-mia.php:232
    149178msgid "Creditor Account"
    150179msgstr "Кредиторский счет"
    151180
    152 #: payment-gateway-wc-victoriabank-mia.php:196
     181#: payment-gateway-wc-victoriabank-mia.php:234
    153182msgid "IBAN"
    154183msgstr "IBAN"
    155184
    156 #: payment-gateway-wc-victoriabank-mia.php:200
     185#: payment-gateway-wc-victoriabank-mia.php:235
     186msgid "IBAN account for receiving payments."
     187msgstr "IBAN-счет для получения платежей."
     188
     189#: payment-gateway-wc-victoriabank-mia.php:246
    157190msgid "Payment Notification"
    158191msgstr "Уведомление об оплате"
    159192
    160 #: payment-gateway-wc-victoriabank-mia.php:203
     193#: payment-gateway-wc-victoriabank-mia.php:250
    161194msgid "Provide this URL to the bank to enable online payment notifications."
    162195msgstr ""
     
    164197"платежах."
    165198
    166 #: payment-gateway-wc-victoriabank-mia.php:204
     199#: payment-gateway-wc-victoriabank-mia.php:251
    167200msgid "Callback URL"
    168201msgstr "URL обратного вызова (Callback URL)"
    169202
    170 #: payment-gateway-wc-victoriabank-mia.php:262
     203#: payment-gateway-wc-victoriabank-mia.php:311
    171204msgid "Unsupported store currency"
    172205msgstr "Валюта магазина не поддерживается"
    173206
    174 #: payment-gateway-wc-victoriabank-mia.php:264
     207#: payment-gateway-wc-victoriabank-mia.php:313
    175208msgid "Supported currencies"
    176209msgstr "Поддерживаемые валюты"
    177210
    178211#. translators: 1: Plugin installation instructions URL
    179 #: payment-gateway-wc-victoriabank-mia.php:274
     212#: payment-gateway-wc-victoriabank-mia.php:323
    180213#, php-format
    181214msgid ""
     
    186219"target=\"_blank\">инструкций по установке</a>."
    187220
    188 #: payment-gateway-wc-victoriabank-mia.php:275
     221#: payment-gateway-wc-victoriabank-mia.php:324
    189222msgid "Not configured"
    190223msgstr "Не настроено"
    191224
     225#. translators: 1: Field label
     226#: payment-gateway-wc-victoriabank-mia.php:342
     227#, php-format
     228msgid "%1$s field must be set."
     229msgstr "В поле %1$s должно быть задано значение."
     230
     231#. translators: 1: Field label, 2: Min value, 3: Max value
     232#: payment-gateway-wc-victoriabank-mia.php:357
     233#, php-format
     234msgid "%1$s field must be an integer between %2$d and %3$d."
     235msgstr "Поле %1$s должно быть целым числом от %2$d до %3$d."
     236
     237#. translators: 1: Field label
     238#: payment-gateway-wc-victoriabank-mia.php:377
     239#, php-format
     240msgid "Invalid %1$s field."
     241msgstr "Неверное поле %1$s."
     242
     243#. translators: 1: Field label
     244#: payment-gateway-wc-victoriabank-mia.php:392
     245#, php-format
     246msgid "Invalid %1$s field. Must start with MD and have 24 characters."
     247msgstr ""
     248"Недопустимое поле %1$s. Должно начинаться с MD и состоять из 24 символов."
     249
    192250#. translators: 1: Payment method title, 2: Plugin settings URL
    193 #: payment-gateway-wc-victoriabank-mia.php:305
     251#: payment-gateway-wc-victoriabank-mia.php:441
    194252#, php-format
    195253msgid ""
     
    201259
    202260#. translators: 1: Payment method title, 2: Plugin settings URL
    203 #: payment-gateway-wc-victoriabank-mia.php:312
     261#: payment-gateway-wc-victoriabank-mia.php:448
    204262#, php-format
    205263msgid ""
     
    211269
    212270#. translators: 1: Order ID, 2: Payment method title, 3: API response details
    213 #: payment-gateway-wc-victoriabank-mia.php:449
     271#: payment-gateway-wc-victoriabank-mia.php:613
    214272#, php-format
    215273msgid "Order #%1$s payment initiated via %2$s: %3$s"
     
    217275
    218276#. translators: 1: Order ID, 2: Payment method title
    219 #: payment-gateway-wc-victoriabank-mia.php:461
     277#: payment-gateway-wc-victoriabank-mia.php:625
    220278#, php-format
    221279msgid "Order #%1$s payment initiation failed via %2$s."
     
    223281
    224282#. translators: 1: Payment method title
    225 #: payment-gateway-wc-victoriabank-mia.php:485
     283#: payment-gateway-wc-victoriabank-mia.php:649
    226284#, php-format
    227285msgid "%1$s Callback URL"
    228286msgstr "%1$s Callback URL"
    229287
    230 #: payment-gateway-wc-victoriabank-mia.php:508
     288#: payment-gateway-wc-victoriabank-mia.php:672
    231289msgid "Payment notification callback"
    232290msgstr "Уведомление об оплате"
    233291
    234292#. translators: 1: QR Extension ID, 2: Payment method title
    235 #: payment-gateway-wc-victoriabank-mia.php:543
     293#: payment-gateway-wc-victoriabank-mia.php:707
    236294#, php-format
    237295msgid "Order not found by QR Extension ID: %1$s received from %2$s."
     
    239297
    240298#. translators: 1: Callback notification price, 2: Order total price
    241 #: payment-gateway-wc-victoriabank-mia.php:565
     299#: payment-gateway-wc-victoriabank-mia.php:729
    242300#, php-format
    243301msgid "Order amount mismatch: Callback: %1$s, Order: %2$s."
     
    245303
    246304#. translators: 1: Order ID
    247 #: payment-gateway-wc-victoriabank-mia.php:573
     305#: payment-gateway-wc-victoriabank-mia.php:737
    248306#, php-format
    249307msgid "Callback order #%1$s already fully paid."
     
    251309
    252310#. translators: 1: Order ID, 2: Payment method title, 3: Payment notification callback data
    253 #: payment-gateway-wc-victoriabank-mia.php:592
     311#: payment-gateway-wc-victoriabank-mia.php:756
    254312#, php-format
    255313msgid "Order #%1$s payment completed via %2$s: %3$s"
     
    257315
    258316#. translators: 1: Payment method title
    259 #: payment-gateway-wc-victoriabank-mia.php:616
     317#: payment-gateway-wc-victoriabank-mia.php:780
    260318#, php-format
    261319msgid "Partial refunds are not currently supported by %1$s."
     
    263321
    264322#. translators: 1: Order ID, 2: Refund amount, 3: Payment method title, 4: Error message
    265 #: payment-gateway-wc-victoriabank-mia.php:641
     323#: payment-gateway-wc-victoriabank-mia.php:805
    266324#, php-format
    267325msgid "Order #%1$s refund of %2$s via %3$s failed: %4$s"
     
    269327
    270328#. translators: 1: Order ID, 2: Refund amount, 3: Payment method title
    271 #: payment-gateway-wc-victoriabank-mia.php:652
     329#: payment-gateway-wc-victoriabank-mia.php:816
    272330#, php-format
    273331msgid "Order #%1$s refund of %2$s via %3$s approved."
     
    275333
    276334#. translators: 1: Original message
    277 #: payment-gateway-wc-victoriabank-mia.php:716
     335#: payment-gateway-wc-victoriabank-mia.php:880
    278336#, php-format
    279337msgid "TEST: %1$s"
    280338msgstr "ТЕСТ: %1$s"
    281339
    282 #: payment-gateway-wc-victoriabank-mia.php:836
     340#: payment-gateway-wc-victoriabank-mia.php:995
    283341msgid "Settings"
    284342msgstr "Настройки"
  • payment-gateway-wc-victoriabank-mia/tags/1.0.2/languages/payment-gateway-wc-victoriabank-mia.pot

    r3423778 r3424882  
    44msgid ""
    55msgstr ""
    6 "Project-Id-Version: Payment Gateway for Victoriabank MIA for WooCommerce 1.0.1\n"
     6"Project-Id-Version: Payment Gateway for Victoriabank MIA for WooCommerce 1.0.2\n"
    77"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/payment-gateway-wc-victoriabank-mia\n"
    8 "POT-Creation-Date: 2025-12-19 16:17+0200\n"
     8"POT-Creation-Date: 2025-12-21 19:55+0200\n"
    99"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1010"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1515"X-Generator: Poedit 3.8\n"
    1616
     17#. Plugin Name of the plugin
     18#: payment-gateway-wc-victoriabank-mia.php
     19msgid "Payment Gateway for Victoriabank MIA for WooCommerce"
     20msgstr ""
     21
    1722#. Description of the plugin
    1823#: payment-gateway-wc-victoriabank-mia.php
     
    2025msgstr ""
    2126
    22 #: payment-gateway-wc-victoriabank-mia.php:118
     27#: payment-gateway-wc-victoriabank-mia.php:75
     28msgid "Accept MIA Instant Payments through Victoriabank."
     29msgstr ""
     30
     31#: payment-gateway-wc-victoriabank-mia.php:121
    2332msgid "Enable/Disable"
    2433msgstr ""
    2534
    26 #: payment-gateway-wc-victoriabank-mia.php:120
     35#: payment-gateway-wc-victoriabank-mia.php:123
    2736msgid "Enable this gateway"
    2837msgstr ""
    2938
    30 #: payment-gateway-wc-victoriabank-mia.php:124
     39#: payment-gateway-wc-victoriabank-mia.php:127
    3140msgid "Title"
    3241msgstr ""
    3342
    34 #: payment-gateway-wc-victoriabank-mia.php:126
     43#: payment-gateway-wc-victoriabank-mia.php:129
    3544msgid "Payment method title that the customer will see during checkout."
    3645msgstr ""
    3746
    38 #: payment-gateway-wc-victoriabank-mia.php:131
     47#: payment-gateway-wc-victoriabank-mia.php:137
    3948msgid "Description"
    4049msgstr ""
    4150
    42 #: payment-gateway-wc-victoriabank-mia.php:133
     51#: payment-gateway-wc-victoriabank-mia.php:139
    4352msgid "Payment method description that the customer will see during checkout."
    4453msgstr ""
    4554
    46 #: payment-gateway-wc-victoriabank-mia.php:139
     55#: payment-gateway-wc-victoriabank-mia.php:141
     56msgid "Pay instantly by scanning the QR code using your bank's mobile application."
     57msgstr ""
     58
     59#: payment-gateway-wc-victoriabank-mia.php:145
    4760msgid "Test mode"
    4861msgstr ""
    4962
    50 #: payment-gateway-wc-victoriabank-mia.php:141
     63#: payment-gateway-wc-victoriabank-mia.php:147
    5164msgid "Enabled"
    5265msgstr ""
    5366
    54 #: payment-gateway-wc-victoriabank-mia.php:142
     67#: payment-gateway-wc-victoriabank-mia.php:148
    5568msgid "Use Test or Live bank gateway to process the payments. Disable when ready to accept live payments."
    5669msgstr ""
    5770
    58 #: payment-gateway-wc-victoriabank-mia.php:147
     71#: payment-gateway-wc-victoriabank-mia.php:153
    5972msgid "Debug mode"
    6073msgstr ""
    6174
    62 #: payment-gateway-wc-victoriabank-mia.php:149
     75#: payment-gateway-wc-victoriabank-mia.php:155
    6376msgid "Enable logging"
    6477msgstr ""
    6578
    66 #: payment-gateway-wc-victoriabank-mia.php:151
     79#: payment-gateway-wc-victoriabank-mia.php:157
    6780msgid "View logs"
    6881msgstr ""
    6982
    70 #: payment-gateway-wc-victoriabank-mia.php:152
     83#: payment-gateway-wc-victoriabank-mia.php:158
    7184msgid "Save debug messages to the WooCommerce System Status logs. Note: this may log personal information. Use this for debugging purposes only and delete the logs when finished."
    7285msgstr ""
    7386
    74 #: payment-gateway-wc-victoriabank-mia.php:156
     87#: payment-gateway-wc-victoriabank-mia.php:162
    7588msgid "Order description"
    7689msgstr ""
    7790
    7891#. translators: 1: Example placeholder shown to user, represents Order ID
    79 #: payment-gateway-wc-victoriabank-mia.php:159
     92#: payment-gateway-wc-victoriabank-mia.php:165
    8093#, php-format
    8194msgid "Format: <code>%1$s</code> - Order ID"
    8295msgstr ""
    8396
    84 #: payment-gateway-wc-victoriabank-mia.php:160
    85 msgid "Order description that the customer will see on the bank payment page."
    86 msgstr ""
    87 
    88 #: payment-gateway-wc-victoriabank-mia.php:164
     97#: payment-gateway-wc-victoriabank-mia.php:166
     98msgid "Order description that the customer will see in the app during payment."
     99msgstr ""
     100
     101#: payment-gateway-wc-victoriabank-mia.php:175
    89102msgid "Transaction validity"
    90103msgstr ""
    91104
    92 #: payment-gateway-wc-victoriabank-mia.php:166
    93 msgid "minutes"
    94 msgstr ""
    95 
    96 #: payment-gateway-wc-victoriabank-mia.php:171
    97 #: payment-gateway-wc-victoriabank-mia.php:275
     105#. translators: 1: Transaction validity in minutes
     106#: payment-gateway-wc-victoriabank-mia.php:178
     107#, php-format
     108msgid "Default: %1$s minutes"
     109msgstr ""
     110
     111#: payment-gateway-wc-victoriabank-mia.php:179
     112msgid "QR code validity time in minutes."
     113msgstr ""
     114
     115#: payment-gateway-wc-victoriabank-mia.php:190
     116#: payment-gateway-wc-victoriabank-mia.php:324
    98117msgid "Connection Settings"
    99118msgstr ""
    100119
    101 #: payment-gateway-wc-victoriabank-mia.php:172
     120#: payment-gateway-wc-victoriabank-mia.php:191
    102121msgid "Payment gateway connection credentials are provided by the bank."
    103122msgstr ""
    104123
    105 #: payment-gateway-wc-victoriabank-mia.php:176
     124#: payment-gateway-wc-victoriabank-mia.php:195
    106125msgid "Username"
    107126msgstr ""
    108127
    109 #: payment-gateway-wc-victoriabank-mia.php:180
     128#: payment-gateway-wc-victoriabank-mia.php:202
    110129msgid "Password"
    111130msgstr ""
    112131
    113 #: payment-gateway-wc-victoriabank-mia.php:184
     132#: payment-gateway-wc-victoriabank-mia.php:209
    114133msgid "Certificate"
    115134msgstr ""
    116135
    117 #: payment-gateway-wc-victoriabank-mia.php:186
     136#: payment-gateway-wc-victoriabank-mia.php:212
    118137msgid "Victoriabank Public Key Certificate to validate the authenticity of the payment notifications."
    119138msgstr ""
    120139
    121 #: payment-gateway-wc-victoriabank-mia.php:190
     140#: payment-gateway-wc-victoriabank-mia.php:220
    122141msgid "Company Name"
    123142msgstr ""
    124143
    125 #: payment-gateway-wc-victoriabank-mia.php:194
     144#: payment-gateway-wc-victoriabank-mia.php:223
     145msgid "Commercial name that the customer will see in the app during payment."
     146msgstr ""
     147
     148#: payment-gateway-wc-victoriabank-mia.php:232
    126149msgid "Creditor Account"
    127150msgstr ""
    128151
    129 #: payment-gateway-wc-victoriabank-mia.php:196
     152#: payment-gateway-wc-victoriabank-mia.php:234
    130153msgid "IBAN"
    131154msgstr ""
    132155
    133 #: payment-gateway-wc-victoriabank-mia.php:200
     156#: payment-gateway-wc-victoriabank-mia.php:235
     157msgid "IBAN account for receiving payments."
     158msgstr ""
     159
     160#: payment-gateway-wc-victoriabank-mia.php:246
    134161msgid "Payment Notification"
    135162msgstr ""
    136163
    137 #: payment-gateway-wc-victoriabank-mia.php:203
     164#: payment-gateway-wc-victoriabank-mia.php:250
    138165msgid "Provide this URL to the bank to enable online payment notifications."
    139166msgstr ""
    140167
    141 #: payment-gateway-wc-victoriabank-mia.php:204
     168#: payment-gateway-wc-victoriabank-mia.php:251
    142169msgid "Callback URL"
    143170msgstr ""
    144171
    145 #: payment-gateway-wc-victoriabank-mia.php:262
     172#: payment-gateway-wc-victoriabank-mia.php:311
    146173msgid "Unsupported store currency"
    147174msgstr ""
    148175
    149 #: payment-gateway-wc-victoriabank-mia.php:264
     176#: payment-gateway-wc-victoriabank-mia.php:313
    150177msgid "Supported currencies"
    151178msgstr ""
    152179
    153180#. translators: 1: Plugin installation instructions URL
    154 #: payment-gateway-wc-victoriabank-mia.php:274
     181#: payment-gateway-wc-victoriabank-mia.php:323
    155182#, php-format
    156183msgid "See plugin documentation for <a href=\"%1$s\" target=\"_blank\">installation instructions</a>."
    157184msgstr ""
    158185
    159 #: payment-gateway-wc-victoriabank-mia.php:275
     186#: payment-gateway-wc-victoriabank-mia.php:324
    160187msgid "Not configured"
    161188msgstr ""
    162189
     190#. translators: 1: Field label
     191#: payment-gateway-wc-victoriabank-mia.php:342
     192#, php-format
     193msgid "%1$s field must be set."
     194msgstr ""
     195
     196#. translators: 1: Field label, 2: Min value, 3: Max value
     197#: payment-gateway-wc-victoriabank-mia.php:357
     198#, php-format
     199msgid "%1$s field must be an integer between %2$d and %3$d."
     200msgstr ""
     201
     202#. translators: 1: Field label
     203#: payment-gateway-wc-victoriabank-mia.php:377
     204#, php-format
     205msgid "Invalid %1$s field."
     206msgstr ""
     207
     208#. translators: 1: Field label
     209#: payment-gateway-wc-victoriabank-mia.php:392
     210#, php-format
     211msgid "Invalid %1$s field. Must start with MD and have 24 characters."
     212msgstr ""
     213
    163214#. translators: 1: Payment method title, 2: Plugin settings URL
    164 #: payment-gateway-wc-victoriabank-mia.php:305
     215#: payment-gateway-wc-victoriabank-mia.php:441
    165216#, php-format
    166217msgid "%1$s is not properly configured. Verify plugin <a href=\"%2$s\">Connection Settings</a>."
     
    168219
    169220#. translators: 1: Payment method title, 2: Plugin settings URL
    170 #: payment-gateway-wc-victoriabank-mia.php:312
     221#: payment-gateway-wc-victoriabank-mia.php:448
    171222#, php-format
    172223msgid "See <a href=\"%2$s\">%1$s settings</a> page for log details and setup instructions."
     
    174225
    175226#. translators: 1: Order ID, 2: Payment method title, 3: API response details
    176 #: payment-gateway-wc-victoriabank-mia.php:449
     227#: payment-gateway-wc-victoriabank-mia.php:613
    177228#, php-format
    178229msgid "Order #%1$s payment initiated via %2$s: %3$s"
     
    180231
    181232#. translators: 1: Order ID, 2: Payment method title
    182 #: payment-gateway-wc-victoriabank-mia.php:461
     233#: payment-gateway-wc-victoriabank-mia.php:625
    183234#, php-format
    184235msgid "Order #%1$s payment initiation failed via %2$s."
     
    186237
    187238#. translators: 1: Payment method title
    188 #: payment-gateway-wc-victoriabank-mia.php:485
     239#: payment-gateway-wc-victoriabank-mia.php:649
    189240#, php-format
    190241msgid "%1$s Callback URL"
    191242msgstr ""
    192243
    193 #: payment-gateway-wc-victoriabank-mia.php:508
     244#: payment-gateway-wc-victoriabank-mia.php:672
    194245msgid "Payment notification callback"
    195246msgstr ""
    196247
    197248#. translators: 1: QR Extension ID, 2: Payment method title
    198 #: payment-gateway-wc-victoriabank-mia.php:543
     249#: payment-gateway-wc-victoriabank-mia.php:707
    199250#, php-format
    200251msgid "Order not found by QR Extension ID: %1$s received from %2$s."
     
    202253
    203254#. translators: 1: Callback notification price, 2: Order total price
    204 #: payment-gateway-wc-victoriabank-mia.php:565
     255#: payment-gateway-wc-victoriabank-mia.php:729
    205256#, php-format
    206257msgid "Order amount mismatch: Callback: %1$s, Order: %2$s."
     
    208259
    209260#. translators: 1: Order ID
    210 #: payment-gateway-wc-victoriabank-mia.php:573
     261#: payment-gateway-wc-victoriabank-mia.php:737
    211262#, php-format
    212263msgid "Callback order #%1$s already fully paid."
     
    214265
    215266#. translators: 1: Order ID, 2: Payment method title, 3: Payment notification callback data
    216 #: payment-gateway-wc-victoriabank-mia.php:592
     267#: payment-gateway-wc-victoriabank-mia.php:756
    217268#, php-format
    218269msgid "Order #%1$s payment completed via %2$s: %3$s"
     
    220271
    221272#. translators: 1: Payment method title
    222 #: payment-gateway-wc-victoriabank-mia.php:616
     273#: payment-gateway-wc-victoriabank-mia.php:780
    223274#, php-format
    224275msgid "Partial refunds are not currently supported by %1$s."
     
    226277
    227278#. translators: 1: Order ID, 2: Refund amount, 3: Payment method title, 4: Error message
    228 #: payment-gateway-wc-victoriabank-mia.php:641
     279#: payment-gateway-wc-victoriabank-mia.php:805
    229280#, php-format
    230281msgid "Order #%1$s refund of %2$s via %3$s failed: %4$s"
     
    232283
    233284#. translators: 1: Order ID, 2: Refund amount, 3: Payment method title
    234 #: payment-gateway-wc-victoriabank-mia.php:652
     285#: payment-gateway-wc-victoriabank-mia.php:816
    235286#, php-format
    236287msgid "Order #%1$s refund of %2$s via %3$s approved."
     
    238289
    239290#. translators: 1: Original message
    240 #: payment-gateway-wc-victoriabank-mia.php:716
     291#: payment-gateway-wc-victoriabank-mia.php:880
    241292#, php-format
    242293msgid "TEST: %1$s"
    243294msgstr ""
    244295
    245 #: payment-gateway-wc-victoriabank-mia.php:836
     296#: payment-gateway-wc-victoriabank-mia.php:995
    246297msgid "Settings"
    247298msgstr ""
  • payment-gateway-wc-victoriabank-mia/tags/1.0.2/payment-gateway-wc-victoriabank-mia.php

    r3423778 r3424882  
    55 * Description: Accept MIA Instant Payments directly on your store with the Payment Gateway for Victoriabank MIA for WooCommerce.
    66 * Plugin URI: https://github.com/alexminza/payment-gateway-wc-victoriabank-mia
    7  * Version: 1.0.1
     7 * Version: 1.0.2
    88 * Author: Alexander Minza
    99 * Author URI: https://profiles.wordpress.org/alexminza
     
    3838{
    3939    // https://developer.woocommerce.com/docs/features/payments/payment-gateway-plugin-base/
    40     // load_plugin_textdomain('payment-gateway-wc-victoriabank-mia', false, dirname(plugin_basename(__FILE__)) . '/languages');
    41 
    4240    if (!class_exists('WC_Payment_Gateway')) {
    4341        return;
     
    4846        //region Constants
    4947        const MOD_ID             = 'victoriabank_mia';
    50         const MOD_TITLE          = 'Victoriabank MIA';
    5148        const MOD_PREFIX         = 'victoriabank_mia_';
    52         const MOD_VERSION        = '1.0.1';
     49        const MOD_VERSION        = '1.0.2';
    5350
    5451        const SUPPORTED_CURRENCIES = array('MDL');
     
    6259
    6360        const DEFAULT_TIMEOUT  = 30; // seconds
    64         const DEFAULT_VALIDITY = 15; // minutes
     61        const DEFAULT_VALIDITY = 360; // minutes
     62        const MIN_VALIDITY     = 1;  //minutes
     63        const MAX_VALIDITY     = 1440; //minutes
    6564        //endregion
    6665
     
    7170        {
    7271            $this->id                 = self::MOD_ID;
    73             $this->method_title       = self::MOD_TITLE;
    74             $this->method_description = 'Payment Gateway for Victoriabank MIA';
     72            $this->method_title       = 'Victoriabank MIA';
     73            $this->method_description = __('Accept MIA Instant Payments through Victoriabank.', 'payment-gateway-wc-victoriabank-mia');
    7574            $this->has_fields         = false;
    7675            $this->supports           = array('products', 'refunds');
    7776
    78             //region Initialize user set variables
    79             $this->enabled            = $this->get_option('enabled', 'no');
    80             $this->title              = $this->get_option('title', $this->method_title);
    81             $this->description        = $this->get_option('description');
    82             $this->icon               = plugins_url('/assets/img/mia.svg', __FILE__);
    83 
    84             $this->testmode           = wc_string_to_bool($this->get_option('testmode', 'no'));
    85             $this->debug              = wc_string_to_bool($this->get_option('debug', 'no'));
    86             $this->logger             = new WC_Logger(null, $this->debug ? WC_Log_Levels::DEBUG : WC_Log_Levels::INFO);
     77            //region Initialize settings
     78            $this->init_form_fields();
     79            $this->init_settings();
     80
     81            $this->enabled     = $this->get_option('enabled', 'no');
     82            $this->title       = $this->get_option('title', $this->method_title);
     83            $this->description = $this->get_option('description');
     84            $this->icon        = plugins_url('/assets/img/mia.svg', __FILE__);
     85
     86            $this->testmode    = wc_string_to_bool($this->get_option('testmode', 'no'));
     87            $this->debug       = wc_string_to_bool($this->get_option('debug', 'no'));
     88            $this->logger      = new WC_Logger(null, $this->debug ? WC_Log_Levels::DEBUG : WC_Log_Levels::INFO);
    8789
    8890            if ($this->testmode) {
     
    9496
    9597            // https://github.com/alexminza/victoriabank-mia-sdk-php/blob/main/src/VictoriabankMia/VictoriabankMiaClient.php
    96             $this->victoriabank_mia_base_url    = $this->testmode ? VictoriabankMiaClient::TEST_BASE_URL : VictoriabankMiaClient::DEFAULT_BASE_URL;
    97             $this->victoriabank_mia_username    = $this->get_option('victoriabank_mia_username');
    98             $this->victoriabank_mia_password    = $this->get_option('victoriabank_mia_password');
    99             $this->victoriabank_mia_certificate = $this->get_option('victoriabank_mia_certificate');
     98            $this->victoriabank_mia_base_url         = $this->testmode ? VictoriabankMiaClient::TEST_BASE_URL : VictoriabankMiaClient::DEFAULT_BASE_URL;
     99            $this->victoriabank_mia_username         = $this->get_option('victoriabank_mia_username');
     100            $this->victoriabank_mia_password         = $this->get_option('victoriabank_mia_password');
     101            $this->victoriabank_mia_certificate      = $this->get_option('victoriabank_mia_certificate');
    100102            $this->victoriabank_mia_creditor_account = $this->get_option('victoriabank_mia_creditor_account');
    101103            $this->victoriabank_mia_company_name     = $this->get_option('victoriabank_mia_company_name');
    102104
    103             $this->init_form_fields();
    104             $this->init_settings();
    105             //endregion
    106 
    107105            if (is_admin()) {
    108106                add_action("woocommerce_update_options_payment_gateways_{$this->id}", array($this, 'process_admin_options'));
    109107            }
     108            //endregion
    110109
    111110            add_action("woocommerce_api_wc_{$this->id}", array($this, 'check_response'));
     
    114113        public function init_form_fields()
    115114        {
     115            $blog_info_name = get_bloginfo('name');
     116
    116117            $this->form_fields = array(
    117118                'enabled'         => array(
     
    126127                    'description' => __('Payment method title that the customer will see during checkout.', 'payment-gateway-wc-victoriabank-mia'),
    127128                    'desc_tip'    => true,
    128                     'default'     => self::MOD_TITLE,
     129                    'default'     => $this->method_title,
     130                    'custom_attributes' => array(
     131                        'required' => 'required',
     132                    ),
    129133                ),
    130134                'description'     => array(
     
    133137                    'description' => __('Payment method description that the customer will see during checkout.', 'payment-gateway-wc-victoriabank-mia'),
    134138                    'desc_tip'    => true,
    135                     'default'     => '',
     139                    'default'     => __('Pay instantly by scanning the QR code using your bank\'s mobile application.', 'payment-gateway-wc-victoriabank-mia'),
    136140                ),
    137141
     
    158162                    /* translators: 1: Example placeholder shown to user, represents Order ID */
    159163                    'description' => __('Format: <code>%1$s</code> - Order ID', 'payment-gateway-wc-victoriabank-mia'),
    160                     'desc_tip'    => __('Order description that the customer will see on the bank payment page.', 'payment-gateway-wc-victoriabank-mia'),
     164                    'desc_tip'    => __('Order description that the customer will see in the app during payment.', 'payment-gateway-wc-victoriabank-mia'),
    161165                    'default'     => self::ORDER_TEMPLATE,
     166                    'custom_attributes' => array(
     167                        'required' => 'required',
     168                        'minlength' => 2,
     169                        'maxlength' => 35,
     170                    ),
    162171                ),
    163172                'transaction_validity'  => array(
    164173                    'title'       => __('Transaction validity', 'payment-gateway-wc-victoriabank-mia'),
    165                     'type'        => 'decimal',
    166                     'description' => __('minutes', 'payment-gateway-wc-victoriabank-mia'),
     174                    'type'        => 'number',
     175                    /* translators: 1: Transaction validity in minutes */
     176                    'description' => sprintf(__('Default: %1$s minutes', 'payment-gateway-wc-victoriabank-mia'), self::DEFAULT_VALIDITY),
     177                    'desc_tip'    => __('QR code validity time in minutes.', 'payment-gateway-wc-victoriabank-mia'),
     178                    'custom_attributes' => array(
     179                        'min'      => self::MIN_VALIDITY,
     180                        'step'     => 1,
     181                        'max'      => self::MAX_VALIDITY,
     182                        'required' => 'required',
     183                    ),
    167184                    'default'     => self::DEFAULT_VALIDITY,
    168185                ),
     
    176193                    'title'       => __('Username', 'payment-gateway-wc-victoriabank-mia'),
    177194                    'type'        => 'text',
     195                    'custom_attributes' => array(
     196                        'required' => 'required',
     197                    ),
    178198                ),
    179199                'victoriabank_mia_password' => array(
    180200                    'title'       => __('Password', 'payment-gateway-wc-victoriabank-mia'),
    181201                    'type'        => 'password',
     202                    'custom_attributes' => array(
     203                        'required' => 'required',
     204                    ),
    182205                ),
    183206                'victoriabank_mia_certificate' => array(
    184207                    'title'       => __('Certificate', 'payment-gateway-wc-victoriabank-mia'),
    185208                    'type'        => 'textarea',
    186                     'description' => __('Victoriabank Public Key Certificate to validate the authenticity of the payment notifications.', 'payment-gateway-wc-victoriabank-mia'),
    187                     'desc_tip'    => true,
     209                    'description' => 'VBCA.crt',
     210                    'desc_tip'    => __('Victoriabank Public Key Certificate to validate the authenticity of the payment notifications.', 'payment-gateway-wc-victoriabank-mia'),
     211                    'placeholder' => "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----",
     212                    'class'       => 'code',
     213                    'custom_attributes' => array(
     214                        'required' => 'required',
     215                    ),
    188216                ),
    189217                'victoriabank_mia_company_name' => array(
    190218                    'title'       => __('Company Name', 'payment-gateway-wc-victoriabank-mia'),
    191219                    'type'        => 'text',
     220                    'description' => $blog_info_name,
     221                    'desc_tip'    => __('Commercial name that the customer will see in the app during payment.', 'payment-gateway-wc-victoriabank-mia'),
     222                    'custom_attributes' => array(
     223                        'required' => 'required',
     224                        'minlength' => 2,
     225                        'maxlength' => 25,
     226                    ),
     227                    'default'     => $blog_info_name,
    192228                ),
    193229                'victoriabank_mia_creditor_account' => array(
     
    195231                    'type'        => 'text',
    196232                    'description' => __('IBAN', 'payment-gateway-wc-victoriabank-mia'),
     233                    'desc_tip'    => __('IBAN account for receiving payments.', 'payment-gateway-wc-victoriabank-mia'),
     234                    'placeholder' => 'MD00XX000000000000000000',
     235                    'custom_attributes' => array(
     236                        'required'  => 'required',
     237                        'minlength' => 24,
     238                        'maxlength' => 24,
     239                        'pattern'   => '^MD.*',
     240                    ),
    197241                ),
    198242
    199243                'payment_notification' => array(
    200244                    'title'       => __('Payment Notification', 'payment-gateway-wc-victoriabank-mia'),
     245                    'type'        => 'title',
    201246                    'description' => sprintf(
    202247                        '%1$s<br /><br /><b>%2$s:</b> <code>%3$s</code>',
     
    205250                        esc_url($this->get_callback_url())
    206251                    ),
    207                     'type'        => 'title',
    208252                ),
    209253            );
     
    245289        }
    246290
     291        //region Settings validation
    247292        protected function check_settings()
    248293        {
    249294            return !empty($this->victoriabank_mia_username)
    250295                && !empty($this->victoriabank_mia_password)
    251                 && !empty($this->victoriabank_mia_certificate);
     296                && $this->validate_certificate($this->victoriabank_mia_certificate)
     297                && !empty($this->victoriabank_mia_company_name)
     298                && $this->validate_iban($this->victoriabank_mia_creditor_account);
    252299        }
    253300
     
    280327        }
    281328
     329        // https://developer.woocommerce.com/docs/extensions/settings-and-config/implementing-settings/
     330        protected function get_settings_field_label($key)
     331        {
     332            $form_fields = $this->get_form_fields();
     333            return $form_fields[$key]['title'];
     334        }
     335
     336        public function validate_required_field($key, $value)
     337        {
     338            if (isset($value) && empty($value)) {
     339                /* translators: 1: Field label */
     340                WC_Admin_Settings::add_error(sprintf(esc_html__('%1$s field must be set.', 'payment-gateway-wc-victoriabank-mia'), $this->get_settings_field_label($key)));
     341            }
     342
     343            return $value;
     344        }
     345
     346        public function validate_order_template_field($key, $value)
     347        {
     348            return $this->validate_required_field($key, $value);
     349        }
     350
     351        public function validate_transaction_validity_field($key, $value)
     352        {
     353            if (isset($value) && !$this->validate_transaction_validity($value)) {
     354                /* translators: 1: Field label, 2: Min value, 3: Max value */
     355                WC_Admin_Settings::add_error(sprintf(esc_html__('%1$s field must be an integer between %2$d and %3$d.', 'payment-gateway-wc-victoriabank-mia'), $this->get_settings_field_label($key), self::MIN_VALIDITY, self::MAX_VALIDITY));
     356            }
     357
     358            return $value;
     359        }
     360
     361        public function validate_victoriabank_mia_username_field($key, $value)
     362        {
     363            return $this->validate_required_field($key, $value);
     364        }
     365
     366        public function validate_victoriabank_mia_password_field($key, $value)
     367        {
     368            return $this->validate_required_field($key, $value);
     369        }
     370
     371        public function validate_victoriabank_mia_certificate_field($key, $value)
     372        {
     373            if (isset($value) && !$this->validate_certificate($value)) {
     374                /* translators: 1: Field label */
     375                WC_Admin_Settings::add_error(sprintf(esc_html__('Invalid %1$s field.', 'payment-gateway-wc-victoriabank-mia'), $this->get_settings_field_label($key)));
     376            }
     377
     378            return $value;
     379        }
     380
     381        public function validate_victoriabank_mia_company_name_field($key, $value)
     382        {
     383            return $this->validate_required_field($key, $value);
     384        }
     385
     386        public function validate_victoriabank_mia_creditor_account_field($key, $value)
     387        {
     388            if (isset($value) && !$this->validate_iban($value)) {
     389                /* translators: 1: Field label */
     390                WC_Admin_Settings::add_error(sprintf(esc_html__('Invalid %1$s field. Must start with MD and have 24 characters.', 'payment-gateway-wc-victoriabank-mia'), $this->get_settings_field_label($key)));
     391            }
     392
     393            return $value;
     394        }
     395
     396        protected function validate_transaction_validity($value)
     397        {
     398            $transaction_validity = intval($value);
     399            return $transaction_validity >= self::MIN_VALIDITY
     400                && $transaction_validity <= self::MAX_VALIDITY;
     401        }
     402
     403        protected function validate_certificate($value)
     404        {
     405            return !empty($value)
     406                && !empty(openssl_pkey_get_public($value));
     407        }
     408
     409        protected function validate_iban($value)
     410        {
     411            return !empty($value)
     412                && strlen($value) === 24
     413                && substr($value, 0, 2) === 'MD';
     414        }
     415
    282416        protected function logs_admin_website_notice()
    283417        {
     
    313447            return $message;
    314448        }
     449        //endregion
    315450
    316451        //region Victoriabank MIA
     
    404539                $auth_token = $this->victoriabank_mia_generate_token($client);
    405540
     541                //region Existing QR
     542                $qr_extension_id = strval($order->get_meta(self::MOD_QR_EXTENSION_ID, true));
     543                $qr_url = strval($order->get_meta(self::MOD_QR_URL, true));
     544
     545                if (!empty($qr_extension_id) && !empty($qr_url)) {
     546                    $qr_extension_status = $client->getQrExtensionStatus($qr_extension_id, $auth_token);
     547
     548                    if (!empty($qr_extension_status)) {
     549                        $qr_extension_status_value = strval($qr_extension_status['status']);
     550                        if (strtolower($qr_extension_status_value) === 'active') {
     551                            $qr_extension_status_ttl = (array) $qr_extension_status['ttl'];
     552                            $qr_extension_status_ttl_length = intval($qr_extension_status_ttl['length']);
     553                            $qr_extension_status_ttl_units = strval($qr_extension_status_ttl['units']);
     554
     555                            $qr_extension_status_ttl_minutes = strtolower($qr_extension_status_ttl_units) === 'mm'
     556                                ? $qr_extension_status_ttl_length
     557                                : intdiv($qr_extension_status_ttl_length, 60);
     558
     559                            if ($qr_extension_status_ttl_minutes >= intdiv($this->transaction_validity, 2)) {
     560                                return array(
     561                                    'result'   => 'success',
     562                                    'redirect' => $qr_url,
     563                                );
     564                            }
     565                        }
     566                    }
     567                }
     568                //endregion
     569
    406570                $create_qr_response = $this->victoriabank_mia_pay(
    407571                    $client,
     
    420584                    $create_qr_response['qrAsImage'] = null;
    421585                }
    422 
    423                 $this->log(self::print_var($create_qr_response));
    424586            } catch (Exception $ex) {
    425587                $this->log(
     
    481643        {
    482644            $request_method = isset($_SERVER['REQUEST_METHOD']) ? sanitize_text_field(wp_unslash($_SERVER['REQUEST_METHOD'])) : '';
    483             if ($request_method === 'GET') {
     645            if ('GET' === $request_method) {
    484646                /* translators: 1: Payment method title */
    485647                $message = sprintf(__('%1$s Callback URL', 'payment-gateway-wc-victoriabank-mia'), $this->method_title);
    486648                return self::return_response(WP_Http::OK, $message);
    487             } elseif ($request_method !== 'POST') {
     649            } elseif ('POST' !== $request_method) {
    488650                return self::return_response(WP_Http::METHOD_NOT_ALLOWED);
    489651            }
     
    606768
    607769            $order = wc_get_order($order_id);
    608             $payment_reference = $order->get_meta(self::MOD_PAYMENT_REFERENCE, true);
     770            $payment_reference = strval($order->get_meta(self::MOD_PAYMENT_REFERENCE, true));
    609771            $transaction_id = VictoriabankMiaClient::getPaymentTransactionId($payment_reference);
    610772            $order_total = $order->get_total();
     
    674836            $orders = wc_get_orders($args);
    675837            $orders_count = count($orders);
    676             if ($orders_count === 1) {
     838            if (1 === $orders_count) {
    677839                return $orders[0];
    678840            } elseif ($orders_count > 1) {
     
    777939        }
    778940
    779         /**
    780          * @param string $message
    781          * @param string $level
    782          * @param array  $additional_context
    783          */
    784         protected static function static_log($message, $level = WC_Log_Levels::DEBUG, $additional_context = null)
    785         {
    786             $log_context = array('source' => self::MOD_ID);
    787             if (!empty($additional_context)) {
    788                 $log_context = array_merge($log_context, $additional_context);
    789             }
    790 
    791             $logger = wc_get_logger();
    792             $logger->log($level, $message, $log_context);
    793         }
    794 
    795         protected static function print_var($expression)
     941        protected function log_var($message, $value)
     942        {
     943            $this->log(
     944                $message,
     945                WC_Log_Levels::DEBUG,
     946                array(
     947                    'value' => self::print_var($value),
     948                )
     949            );
     950        }
     951
     952        protected static function print_var($value)
    796953        {
    797954            // https://woocommerce.github.io/code-reference/namespaces/default.html#function_wc_print_r
    798             return wc_print_r($expression, true);
     955            return wc_print_r($value, true);
    799956        }
    800957
  • payment-gateway-wc-victoriabank-mia/tags/1.0.2/phpcs.xml

    r3423778 r3424882  
    1313        <properties>
    1414            <property name="text_domain" type="array">
    15                 <element value="wc-victoriabank-mia"/>
     15                <element value="payment-gateway-wc-victoriabank-mia"/>
    1616            </property>
    1717        </properties>
  • payment-gateway-wc-victoriabank-mia/tags/1.0.2/readme.txt

    r3423778 r3424882  
    44Requires at least: 4.8
    55Tested up to: 6.9
    6 Stable tag: 1.0.1
     6Stable tag: 1.0.2
    77Requires PHP: 7.2.5
    88License: GPLv3 or later
     
    6969See [payment-gateway-wc-victoriabank-mia project releases on GitHub](https://github.com/alexminza/payment-gateway-wc-victoriabank-mia/releases) for details.
    7070
     71= 1.0.2 =
     72Improved QR code generation logic and settings validation.
     73
    7174= 1.0.1 =
    7275Minor improvements.
     
    7780== Upgrade Notice ==
    7881
     82= 1.0.2 =
     83Improved QR code generation logic and settings validation.
     84
    7985= 1.0.1 =
    8086Minor improvements.
  • payment-gateway-wc-victoriabank-mia/trunk/composer.lock

    r3414332 r3424882  
    55        "This file is @generated automatically"
    66    ],
    7     "content-hash": "a16b98d5f3d4b55c7b5c4c50db3ae74f",
     7    "content-hash": "85827b97f74097c42feaf9587a602b67",
    88    "packages": [
    99        {
    1010            "name": "alexminza/victoriabank-mia-sdk",
    11             "version": "v1.0.1",
     11            "version": "v1.0.2",
    1212            "source": {
    1313                "type": "git",
    1414                "url": "https://github.com/alexminza/victoriabank-mia-sdk-php.git",
    15                 "reference": "3001ee84844b81ad26aa23889a7741f32e19c32e"
    16             },
    17             "dist": {
    18                 "type": "zip",
    19                 "url": "https://api.github.com/repos/alexminza/victoriabank-mia-sdk-php/zipball/3001ee84844b81ad26aa23889a7741f32e19c32e",
    20                 "reference": "3001ee84844b81ad26aa23889a7741f32e19c32e",
     15                "reference": "bbbddc64995d89d71ebf3549ef7d5b7c933adb17"
     16            },
     17            "dist": {
     18                "type": "zip",
     19                "url": "https://api.github.com/repos/alexminza/victoriabank-mia-sdk-php/zipball/bbbddc64995d89d71ebf3549ef7d5b7c933adb17",
     20                "reference": "bbbddc64995d89d71ebf3549ef7d5b7c933adb17",
    2121                "shasum": ""
    2222            },
     
    6161                "source": "https://github.com/alexminza/victoriabank-mia-sdk-php"
    6262            },
    63             "time": "2025-11-07T12:23:17+00:00"
     63            "time": "2025-12-21T11:31:16+00:00"
    6464        },
    6565        {
     
    12151215        }
    12161216    ],
    1217     "packages-dev": [],
     1217    "packages-dev": [
     1218        {
     1219            "name": "dealerdirect/phpcodesniffer-composer-installer",
     1220            "version": "v1.2.0",
     1221            "source": {
     1222                "type": "git",
     1223                "url": "https://github.com/PHPCSStandards/composer-installer.git",
     1224                "reference": "845eb62303d2ca9b289ef216356568ccc075ffd1"
     1225            },
     1226            "dist": {
     1227                "type": "zip",
     1228                "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/845eb62303d2ca9b289ef216356568ccc075ffd1",
     1229                "reference": "845eb62303d2ca9b289ef216356568ccc075ffd1",
     1230                "shasum": ""
     1231            },
     1232            "require": {
     1233                "composer-plugin-api": "^2.2",
     1234                "php": ">=5.4",
     1235                "squizlabs/php_codesniffer": "^3.1.0 || ^4.0"
     1236            },
     1237            "require-dev": {
     1238                "composer/composer": "^2.2",
     1239                "ext-json": "*",
     1240                "ext-zip": "*",
     1241                "php-parallel-lint/php-parallel-lint": "^1.4.0",
     1242                "phpcompatibility/php-compatibility": "^9.0 || ^10.0.0@dev",
     1243                "yoast/phpunit-polyfills": "^1.0"
     1244            },
     1245            "type": "composer-plugin",
     1246            "extra": {
     1247                "class": "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin"
     1248            },
     1249            "autoload": {
     1250                "psr-4": {
     1251                    "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/"
     1252                }
     1253            },
     1254            "notification-url": "https://packagist.org/downloads/",
     1255            "license": [
     1256                "MIT"
     1257            ],
     1258            "authors": [
     1259                {
     1260                    "name": "Franck Nijhof",
     1261                    "email": "[email protected]",
     1262                    "homepage": "https://frenck.dev",
     1263                    "role": "Open source developer"
     1264                },
     1265                {
     1266                    "name": "Contributors",
     1267                    "homepage": "https://github.com/PHPCSStandards/composer-installer/graphs/contributors"
     1268                }
     1269            ],
     1270            "description": "PHP_CodeSniffer Standards Composer Installer Plugin",
     1271            "keywords": [
     1272                "PHPCodeSniffer",
     1273                "PHP_CodeSniffer",
     1274                "code quality",
     1275                "codesniffer",
     1276                "composer",
     1277                "installer",
     1278                "phpcbf",
     1279                "phpcs",
     1280                "plugin",
     1281                "qa",
     1282                "quality",
     1283                "standard",
     1284                "standards",
     1285                "style guide",
     1286                "stylecheck",
     1287                "tests"
     1288            ],
     1289            "support": {
     1290                "issues": "https://github.com/PHPCSStandards/composer-installer/issues",
     1291                "security": "https://github.com/PHPCSStandards/composer-installer/security/policy",
     1292                "source": "https://github.com/PHPCSStandards/composer-installer"
     1293            },
     1294            "funding": [
     1295                {
     1296                    "url": "https://github.com/PHPCSStandards",
     1297                    "type": "github"
     1298                },
     1299                {
     1300                    "url": "https://github.com/jrfnl",
     1301                    "type": "github"
     1302                },
     1303                {
     1304                    "url": "https://opencollective.com/php_codesniffer",
     1305                    "type": "open_collective"
     1306                },
     1307                {
     1308                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     1309                    "type": "thanks_dev"
     1310                }
     1311            ],
     1312            "time": "2025-11-11T04:32:07+00:00"
     1313        },
     1314        {
     1315            "name": "phpcompatibility/php-compatibility",
     1316            "version": "9.3.5",
     1317            "source": {
     1318                "type": "git",
     1319                "url": "https://github.com/PHPCompatibility/PHPCompatibility.git",
     1320                "reference": "9fb324479acf6f39452e0655d2429cc0d3914243"
     1321            },
     1322            "dist": {
     1323                "type": "zip",
     1324                "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/9fb324479acf6f39452e0655d2429cc0d3914243",
     1325                "reference": "9fb324479acf6f39452e0655d2429cc0d3914243",
     1326                "shasum": ""
     1327            },
     1328            "require": {
     1329                "php": ">=5.3",
     1330                "squizlabs/php_codesniffer": "^2.3 || ^3.0.2"
     1331            },
     1332            "conflict": {
     1333                "squizlabs/php_codesniffer": "2.6.2"
     1334            },
     1335            "require-dev": {
     1336                "phpunit/phpunit": "~4.5 || ^5.0 || ^6.0 || ^7.0"
     1337            },
     1338            "suggest": {
     1339                "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically.",
     1340                "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
     1341            },
     1342            "type": "phpcodesniffer-standard",
     1343            "notification-url": "https://packagist.org/downloads/",
     1344            "license": [
     1345                "LGPL-3.0-or-later"
     1346            ],
     1347            "authors": [
     1348                {
     1349                    "name": "Wim Godden",
     1350                    "homepage": "https://github.com/wimg",
     1351                    "role": "lead"
     1352                },
     1353                {
     1354                    "name": "Juliette Reinders Folmer",
     1355                    "homepage": "https://github.com/jrfnl",
     1356                    "role": "lead"
     1357                },
     1358                {
     1359                    "name": "Contributors",
     1360                    "homepage": "https://github.com/PHPCompatibility/PHPCompatibility/graphs/contributors"
     1361                }
     1362            ],
     1363            "description": "A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility.",
     1364            "homepage": "http://techblog.wimgodden.be/tag/codesniffer/",
     1365            "keywords": [
     1366                "compatibility",
     1367                "phpcs",
     1368                "standards"
     1369            ],
     1370            "support": {
     1371                "issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues",
     1372                "source": "https://github.com/PHPCompatibility/PHPCompatibility"
     1373            },
     1374            "time": "2019-12-27T09:44:58+00:00"
     1375        },
     1376        {
     1377            "name": "phpcompatibility/phpcompatibility-paragonie",
     1378            "version": "1.3.4",
     1379            "source": {
     1380                "type": "git",
     1381                "url": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie.git",
     1382                "reference": "244d7b04fc4bc2117c15f5abe23eb933b5f02bbf"
     1383            },
     1384            "dist": {
     1385                "type": "zip",
     1386                "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/244d7b04fc4bc2117c15f5abe23eb933b5f02bbf",
     1387                "reference": "244d7b04fc4bc2117c15f5abe23eb933b5f02bbf",
     1388                "shasum": ""
     1389            },
     1390            "require": {
     1391                "phpcompatibility/php-compatibility": "^9.0"
     1392            },
     1393            "require-dev": {
     1394                "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
     1395                "paragonie/random_compat": "dev-master",
     1396                "paragonie/sodium_compat": "dev-master"
     1397            },
     1398            "suggest": {
     1399                "dealerdirect/phpcodesniffer-composer-installer": "^1.0 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.",
     1400                "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
     1401            },
     1402            "type": "phpcodesniffer-standard",
     1403            "notification-url": "https://packagist.org/downloads/",
     1404            "license": [
     1405                "LGPL-3.0-or-later"
     1406            ],
     1407            "authors": [
     1408                {
     1409                    "name": "Wim Godden",
     1410                    "role": "lead"
     1411                },
     1412                {
     1413                    "name": "Juliette Reinders Folmer",
     1414                    "role": "lead"
     1415                }
     1416            ],
     1417            "description": "A set of rulesets for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by the Paragonie polyfill libraries.",
     1418            "homepage": "http://phpcompatibility.com/",
     1419            "keywords": [
     1420                "compatibility",
     1421                "paragonie",
     1422                "phpcs",
     1423                "polyfill",
     1424                "standards",
     1425                "static analysis"
     1426            ],
     1427            "support": {
     1428                "issues": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/issues",
     1429                "security": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/security/policy",
     1430                "source": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie"
     1431            },
     1432            "funding": [
     1433                {
     1434                    "url": "https://github.com/PHPCompatibility",
     1435                    "type": "github"
     1436                },
     1437                {
     1438                    "url": "https://github.com/jrfnl",
     1439                    "type": "github"
     1440                },
     1441                {
     1442                    "url": "https://opencollective.com/php_codesniffer",
     1443                    "type": "open_collective"
     1444                },
     1445                {
     1446                    "url": "https://thanks.dev/u/gh/phpcompatibility",
     1447                    "type": "thanks_dev"
     1448                }
     1449            ],
     1450            "time": "2025-09-19T17:43:28+00:00"
     1451        },
     1452        {
     1453            "name": "phpcompatibility/phpcompatibility-wp",
     1454            "version": "2.1.8",
     1455            "source": {
     1456                "type": "git",
     1457                "url": "https://github.com/PHPCompatibility/PHPCompatibilityWP.git",
     1458                "reference": "7c8d18b4d90dac9e86b0869a608fa09158e168fa"
     1459            },
     1460            "dist": {
     1461                "type": "zip",
     1462                "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/7c8d18b4d90dac9e86b0869a608fa09158e168fa",
     1463                "reference": "7c8d18b4d90dac9e86b0869a608fa09158e168fa",
     1464                "shasum": ""
     1465            },
     1466            "require": {
     1467                "phpcompatibility/php-compatibility": "^9.0",
     1468                "phpcompatibility/phpcompatibility-paragonie": "^1.0",
     1469                "squizlabs/php_codesniffer": "^3.3"
     1470            },
     1471            "require-dev": {
     1472                "dealerdirect/phpcodesniffer-composer-installer": "^1.0"
     1473            },
     1474            "suggest": {
     1475                "dealerdirect/phpcodesniffer-composer-installer": "^1.0 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.",
     1476                "roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
     1477            },
     1478            "type": "phpcodesniffer-standard",
     1479            "notification-url": "https://packagist.org/downloads/",
     1480            "license": [
     1481                "LGPL-3.0-or-later"
     1482            ],
     1483            "authors": [
     1484                {
     1485                    "name": "Wim Godden",
     1486                    "role": "lead"
     1487                },
     1488                {
     1489                    "name": "Juliette Reinders Folmer",
     1490                    "role": "lead"
     1491                }
     1492            ],
     1493            "description": "A ruleset for PHP_CodeSniffer to check for PHP cross-version compatibility issues in projects, while accounting for polyfills provided by WordPress.",
     1494            "homepage": "http://phpcompatibility.com/",
     1495            "keywords": [
     1496                "compatibility",
     1497                "phpcs",
     1498                "standards",
     1499                "static analysis",
     1500                "wordpress"
     1501            ],
     1502            "support": {
     1503                "issues": "https://github.com/PHPCompatibility/PHPCompatibilityWP/issues",
     1504                "security": "https://github.com/PHPCompatibility/PHPCompatibilityWP/security/policy",
     1505                "source": "https://github.com/PHPCompatibility/PHPCompatibilityWP"
     1506            },
     1507            "funding": [
     1508                {
     1509                    "url": "https://github.com/PHPCompatibility",
     1510                    "type": "github"
     1511                },
     1512                {
     1513                    "url": "https://github.com/jrfnl",
     1514                    "type": "github"
     1515                },
     1516                {
     1517                    "url": "https://opencollective.com/php_codesniffer",
     1518                    "type": "open_collective"
     1519                },
     1520                {
     1521                    "url": "https://thanks.dev/u/gh/phpcompatibility",
     1522                    "type": "thanks_dev"
     1523                }
     1524            ],
     1525            "time": "2025-10-18T00:05:59+00:00"
     1526        },
     1527        {
     1528            "name": "phpcsstandards/phpcsextra",
     1529            "version": "1.5.0",
     1530            "source": {
     1531                "type": "git",
     1532                "url": "https://github.com/PHPCSStandards/PHPCSExtra.git",
     1533                "reference": "b598aa890815b8df16363271b659d73280129101"
     1534            },
     1535            "dist": {
     1536                "type": "zip",
     1537                "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/b598aa890815b8df16363271b659d73280129101",
     1538                "reference": "b598aa890815b8df16363271b659d73280129101",
     1539                "shasum": ""
     1540            },
     1541            "require": {
     1542                "php": ">=5.4",
     1543                "phpcsstandards/phpcsutils": "^1.2.0",
     1544                "squizlabs/php_codesniffer": "^3.13.5 || ^4.0.1"
     1545            },
     1546            "require-dev": {
     1547                "php-parallel-lint/php-console-highlighter": "^1.0",
     1548                "php-parallel-lint/php-parallel-lint": "^1.4.0",
     1549                "phpcsstandards/phpcsdevcs": "^1.2.0",
     1550                "phpcsstandards/phpcsdevtools": "^1.2.1",
     1551                "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
     1552            },
     1553            "type": "phpcodesniffer-standard",
     1554            "extra": {
     1555                "branch-alias": {
     1556                    "dev-stable": "1.x-dev",
     1557                    "dev-develop": "1.x-dev"
     1558                }
     1559            },
     1560            "notification-url": "https://packagist.org/downloads/",
     1561            "license": [
     1562                "LGPL-3.0-or-later"
     1563            ],
     1564            "authors": [
     1565                {
     1566                    "name": "Juliette Reinders Folmer",
     1567                    "homepage": "https://github.com/jrfnl",
     1568                    "role": "lead"
     1569                },
     1570                {
     1571                    "name": "Contributors",
     1572                    "homepage": "https://github.com/PHPCSStandards/PHPCSExtra/graphs/contributors"
     1573                }
     1574            ],
     1575            "description": "A collection of sniffs and standards for use with PHP_CodeSniffer.",
     1576            "keywords": [
     1577                "PHP_CodeSniffer",
     1578                "phpcbf",
     1579                "phpcodesniffer-standard",
     1580                "phpcs",
     1581                "standards",
     1582                "static analysis"
     1583            ],
     1584            "support": {
     1585                "issues": "https://github.com/PHPCSStandards/PHPCSExtra/issues",
     1586                "security": "https://github.com/PHPCSStandards/PHPCSExtra/security/policy",
     1587                "source": "https://github.com/PHPCSStandards/PHPCSExtra"
     1588            },
     1589            "funding": [
     1590                {
     1591                    "url": "https://github.com/PHPCSStandards",
     1592                    "type": "github"
     1593                },
     1594                {
     1595                    "url": "https://github.com/jrfnl",
     1596                    "type": "github"
     1597                },
     1598                {
     1599                    "url": "https://opencollective.com/php_codesniffer",
     1600                    "type": "open_collective"
     1601                },
     1602                {
     1603                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     1604                    "type": "thanks_dev"
     1605                }
     1606            ],
     1607            "time": "2025-11-12T23:06:57+00:00"
     1608        },
     1609        {
     1610            "name": "phpcsstandards/phpcsutils",
     1611            "version": "1.2.2",
     1612            "source": {
     1613                "type": "git",
     1614                "url": "https://github.com/PHPCSStandards/PHPCSUtils.git",
     1615                "reference": "c216317e96c8b3f5932808f9b0f1f7a14e3bbf55"
     1616            },
     1617            "dist": {
     1618                "type": "zip",
     1619                "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/c216317e96c8b3f5932808f9b0f1f7a14e3bbf55",
     1620                "reference": "c216317e96c8b3f5932808f9b0f1f7a14e3bbf55",
     1621                "shasum": ""
     1622            },
     1623            "require": {
     1624                "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0",
     1625                "php": ">=5.4",
     1626                "squizlabs/php_codesniffer": "^3.13.5 || ^4.0.1"
     1627            },
     1628            "require-dev": {
     1629                "ext-filter": "*",
     1630                "php-parallel-lint/php-console-highlighter": "^1.0",
     1631                "php-parallel-lint/php-parallel-lint": "^1.4.0",
     1632                "phpcsstandards/phpcsdevcs": "^1.2.0",
     1633                "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0 || ^3.0.0"
     1634            },
     1635            "type": "phpcodesniffer-standard",
     1636            "extra": {
     1637                "branch-alias": {
     1638                    "dev-stable": "1.x-dev",
     1639                    "dev-develop": "1.x-dev"
     1640                }
     1641            },
     1642            "autoload": {
     1643                "classmap": [
     1644                    "PHPCSUtils/"
     1645                ]
     1646            },
     1647            "notification-url": "https://packagist.org/downloads/",
     1648            "license": [
     1649                "LGPL-3.0-or-later"
     1650            ],
     1651            "authors": [
     1652                {
     1653                    "name": "Juliette Reinders Folmer",
     1654                    "homepage": "https://github.com/jrfnl",
     1655                    "role": "lead"
     1656                },
     1657                {
     1658                    "name": "Contributors",
     1659                    "homepage": "https://github.com/PHPCSStandards/PHPCSUtils/graphs/contributors"
     1660                }
     1661            ],
     1662            "description": "A suite of utility functions for use with PHP_CodeSniffer",
     1663            "homepage": "https://phpcsutils.com/",
     1664            "keywords": [
     1665                "PHP_CodeSniffer",
     1666                "phpcbf",
     1667                "phpcodesniffer-standard",
     1668                "phpcs",
     1669                "phpcs3",
     1670                "phpcs4",
     1671                "standards",
     1672                "static analysis",
     1673                "tokens",
     1674                "utility"
     1675            ],
     1676            "support": {
     1677                "docs": "https://phpcsutils.com/",
     1678                "issues": "https://github.com/PHPCSStandards/PHPCSUtils/issues",
     1679                "security": "https://github.com/PHPCSStandards/PHPCSUtils/security/policy",
     1680                "source": "https://github.com/PHPCSStandards/PHPCSUtils"
     1681            },
     1682            "funding": [
     1683                {
     1684                    "url": "https://github.com/PHPCSStandards",
     1685                    "type": "github"
     1686                },
     1687                {
     1688                    "url": "https://github.com/jrfnl",
     1689                    "type": "github"
     1690                },
     1691                {
     1692                    "url": "https://opencollective.com/php_codesniffer",
     1693                    "type": "open_collective"
     1694                },
     1695                {
     1696                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     1697                    "type": "thanks_dev"
     1698                }
     1699            ],
     1700            "time": "2025-12-08T14:27:58+00:00"
     1701        },
     1702        {
     1703            "name": "squizlabs/php_codesniffer",
     1704            "version": "3.13.5",
     1705            "source": {
     1706                "type": "git",
     1707                "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
     1708                "reference": "0ca86845ce43291e8f5692c7356fccf3bcf02bf4"
     1709            },
     1710            "dist": {
     1711                "type": "zip",
     1712                "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/0ca86845ce43291e8f5692c7356fccf3bcf02bf4",
     1713                "reference": "0ca86845ce43291e8f5692c7356fccf3bcf02bf4",
     1714                "shasum": ""
     1715            },
     1716            "require": {
     1717                "ext-simplexml": "*",
     1718                "ext-tokenizer": "*",
     1719                "ext-xmlwriter": "*",
     1720                "php": ">=5.4.0"
     1721            },
     1722            "require-dev": {
     1723                "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
     1724            },
     1725            "bin": [
     1726                "bin/phpcbf",
     1727                "bin/phpcs"
     1728            ],
     1729            "type": "library",
     1730            "notification-url": "https://packagist.org/downloads/",
     1731            "license": [
     1732                "BSD-3-Clause"
     1733            ],
     1734            "authors": [
     1735                {
     1736                    "name": "Greg Sherwood",
     1737                    "role": "Former lead"
     1738                },
     1739                {
     1740                    "name": "Juliette Reinders Folmer",
     1741                    "role": "Current lead"
     1742                },
     1743                {
     1744                    "name": "Contributors",
     1745                    "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors"
     1746                }
     1747            ],
     1748            "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
     1749            "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
     1750            "keywords": [
     1751                "phpcs",
     1752                "standards",
     1753                "static analysis"
     1754            ],
     1755            "support": {
     1756                "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues",
     1757                "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy",
     1758                "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
     1759                "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki"
     1760            },
     1761            "funding": [
     1762                {
     1763                    "url": "https://github.com/PHPCSStandards",
     1764                    "type": "github"
     1765                },
     1766                {
     1767                    "url": "https://github.com/jrfnl",
     1768                    "type": "github"
     1769                },
     1770                {
     1771                    "url": "https://opencollective.com/php_codesniffer",
     1772                    "type": "open_collective"
     1773                },
     1774                {
     1775                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     1776                    "type": "thanks_dev"
     1777                }
     1778            ],
     1779            "time": "2025-11-04T16:30:35+00:00"
     1780        },
     1781        {
     1782            "name": "woocommerce/woocommerce-sniffs",
     1783            "version": "1.0.1",
     1784            "source": {
     1785                "type": "git",
     1786                "url": "https://github.com/woocommerce/woocommerce-sniffs.git",
     1787                "reference": "e6da0c372573724806b270ec1d5d94988b8aec52"
     1788            },
     1789            "dist": {
     1790                "type": "zip",
     1791                "url": "https://api.github.com/repos/woocommerce/woocommerce-sniffs/zipball/e6da0c372573724806b270ec1d5d94988b8aec52",
     1792                "reference": "e6da0c372573724806b270ec1d5d94988b8aec52",
     1793                "shasum": ""
     1794            },
     1795            "require": {
     1796                "dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
     1797                "php": ">=7.0",
     1798                "phpcompatibility/phpcompatibility-wp": "^2.1.0",
     1799                "wp-coding-standards/wpcs": "^3.0.0"
     1800            },
     1801            "type": "phpcodesniffer-standard",
     1802            "notification-url": "https://packagist.org/downloads/",
     1803            "license": [
     1804                "MIT"
     1805            ],
     1806            "description": "WooCommerce sniffs",
     1807            "keywords": [
     1808                "phpcs",
     1809                "standards",
     1810                "static analysis",
     1811                "woocommerce",
     1812                "wordpress"
     1813            ],
     1814            "support": {
     1815                "issues": "https://github.com/woocommerce/woocommerce-sniffs/issues",
     1816                "source": "https://github.com/woocommerce/woocommerce-sniffs/tree/1.0.1"
     1817            },
     1818            "time": "2025-09-03T13:34:27+00:00"
     1819        },
     1820        {
     1821            "name": "wp-coding-standards/wpcs",
     1822            "version": "3.3.0",
     1823            "source": {
     1824                "type": "git",
     1825                "url": "https://github.com/WordPress/WordPress-Coding-Standards.git",
     1826                "reference": "7795ec6fa05663d716a549d0b44e47ffc8b0d4a6"
     1827            },
     1828            "dist": {
     1829                "type": "zip",
     1830                "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/7795ec6fa05663d716a549d0b44e47ffc8b0d4a6",
     1831                "reference": "7795ec6fa05663d716a549d0b44e47ffc8b0d4a6",
     1832                "shasum": ""
     1833            },
     1834            "require": {
     1835                "ext-filter": "*",
     1836                "ext-libxml": "*",
     1837                "ext-tokenizer": "*",
     1838                "ext-xmlreader": "*",
     1839                "php": ">=7.2",
     1840                "phpcsstandards/phpcsextra": "^1.5.0",
     1841                "phpcsstandards/phpcsutils": "^1.1.0",
     1842                "squizlabs/php_codesniffer": "^3.13.4"
     1843            },
     1844            "require-dev": {
     1845                "php-parallel-lint/php-console-highlighter": "^1.0.0",
     1846                "php-parallel-lint/php-parallel-lint": "^1.4.0",
     1847                "phpcompatibility/php-compatibility": "^10.0.0@dev",
     1848                "phpcsstandards/phpcsdevtools": "^1.2.0",
     1849                "phpunit/phpunit": "^8.0 || ^9.0"
     1850            },
     1851            "suggest": {
     1852                "ext-iconv": "For improved results",
     1853                "ext-mbstring": "For improved results"
     1854            },
     1855            "type": "phpcodesniffer-standard",
     1856            "notification-url": "https://packagist.org/downloads/",
     1857            "license": [
     1858                "MIT"
     1859            ],
     1860            "authors": [
     1861                {
     1862                    "name": "Contributors",
     1863                    "homepage": "https://github.com/WordPress/WordPress-Coding-Standards/graphs/contributors"
     1864                }
     1865            ],
     1866            "description": "PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions",
     1867            "keywords": [
     1868                "phpcs",
     1869                "standards",
     1870                "static analysis",
     1871                "wordpress"
     1872            ],
     1873            "support": {
     1874                "issues": "https://github.com/WordPress/WordPress-Coding-Standards/issues",
     1875                "source": "https://github.com/WordPress/WordPress-Coding-Standards",
     1876                "wiki": "https://github.com/WordPress/WordPress-Coding-Standards/wiki"
     1877            },
     1878            "funding": [
     1879                {
     1880                    "url": "https://opencollective.com/php_codesniffer",
     1881                    "type": "custom"
     1882                }
     1883            ],
     1884            "time": "2025-11-25T12:08:04+00:00"
     1885        }
     1886    ],
    12181887    "aliases": [],
    12191888    "minimum-stability": "stable",
  • payment-gateway-wc-victoriabank-mia/trunk/languages/payment-gateway-wc-victoriabank-mia-ro_RO.po

    r3423778 r3424882  
    44msgstr ""
    55"Project-Id-Version: Payment Gateway for Victoriabank MIA for WooCommerce "
    6 "1.0.1\n"
     6"1.0.2\n"
    77"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/payment-gateway-"
    88"wc-victoriabank-mia\n"
    9 "POT-Creation-Date: 2025-12-19 16:17+0200\n"
    10 "PO-Revision-Date: 2025-12-19 16:17+0200\n"
     9"POT-Creation-Date: 2025-12-21 19:55+0200\n"
     10"PO-Revision-Date: 2025-12-21 19:59+0200\n"
    1111"Last-Translator: Alexander Minza <[email protected]>\n"
    1212"Language-Team: \n"
     
    1717"X-Generator: Poedit 3.8\n"
    1818
     19#. Plugin Name of the plugin
     20#: payment-gateway-wc-victoriabank-mia.php
     21msgid "Payment Gateway for Victoriabank MIA for WooCommerce"
     22msgstr "Gateway de plată pentru Victoriabank MIA pentru WooCommerce"
     23
    1924#. Description of the plugin
    2025#: payment-gateway-wc-victoriabank-mia.php
     
    2328"for Victoriabank MIA for WooCommerce."
    2429msgstr ""
    25 "Acceptă MIA plăți instant direct în magazin cu gateway-ul de plată "
     30"Acceptați MIA plăți instant direct în magazin cu gateway-ul de plată "
    2631"Victoriabank MIA pentru WooCommerce."
    2732
    28 #: payment-gateway-wc-victoriabank-mia.php:118
     33#: payment-gateway-wc-victoriabank-mia.php:75
     34msgid "Accept MIA Instant Payments through Victoriabank."
     35msgstr "Acceptați MIA plăți instant prin Victoriabank."
     36
     37#: payment-gateway-wc-victoriabank-mia.php:121
    2938msgid "Enable/Disable"
    3039msgstr "Activare/Dezactivare"
    3140
    32 #: payment-gateway-wc-victoriabank-mia.php:120
     41#: payment-gateway-wc-victoriabank-mia.php:123
    3342msgid "Enable this gateway"
    3443msgstr "Activează acest gateway de plată"
    3544
    36 #: payment-gateway-wc-victoriabank-mia.php:124
     45#: payment-gateway-wc-victoriabank-mia.php:127
    3746msgid "Title"
    3847msgstr "Titlu"
    3948
    40 #: payment-gateway-wc-victoriabank-mia.php:126
     49#: payment-gateway-wc-victoriabank-mia.php:129
    4150msgid "Payment method title that the customer will see during checkout."
    4251msgstr "Titlul metodei de plată afișat clientului în timpul plății."
    4352
    44 #: payment-gateway-wc-victoriabank-mia.php:131
     53#: payment-gateway-wc-victoriabank-mia.php:137
    4554msgid "Description"
    4655msgstr "Descriere"
    4756
    48 #: payment-gateway-wc-victoriabank-mia.php:133
     57#: payment-gateway-wc-victoriabank-mia.php:139
    4958msgid "Payment method description that the customer will see during checkout."
    5059msgstr "Descrierea metodei de plată afișată clientului în timpul plății."
    5160
    52 #: payment-gateway-wc-victoriabank-mia.php:139
     61#: payment-gateway-wc-victoriabank-mia.php:141
     62msgid ""
     63"Pay instantly by scanning the QR code using your bank's mobile application."
     64msgstr ""
     65"Plătește instant scanând codul QR folosind aplicația mobilă a băncii tale."
     66
     67#: payment-gateway-wc-victoriabank-mia.php:145
    5368msgid "Test mode"
    5469msgstr "Mod testare"
    5570
    56 #: payment-gateway-wc-victoriabank-mia.php:141
     71#: payment-gateway-wc-victoriabank-mia.php:147
    5772msgid "Enabled"
    5873msgstr "Activat"
    5974
    60 #: payment-gateway-wc-victoriabank-mia.php:142
     75#: payment-gateway-wc-victoriabank-mia.php:148
    6176msgid ""
    6277"Use Test or Live bank gateway to process the payments. Disable when ready to "
     
    6681"plăților. Dezactivați atunci când sunteți gata să acceptați plăți reale."
    6782
    68 #: payment-gateway-wc-victoriabank-mia.php:147
     83#: payment-gateway-wc-victoriabank-mia.php:153
    6984msgid "Debug mode"
    7085msgstr "Mod depanare"
    7186
    72 #: payment-gateway-wc-victoriabank-mia.php:149
     87#: payment-gateway-wc-victoriabank-mia.php:155
    7388msgid "Enable logging"
    7489msgstr "Activează jurnalizare"
    7590
    76 #: payment-gateway-wc-victoriabank-mia.php:151
     91#: payment-gateway-wc-victoriabank-mia.php:157
    7792msgid "View logs"
    7893msgstr "Vizualizați jurnalele"
    7994
    80 #: payment-gateway-wc-victoriabank-mia.php:152
     95#: payment-gateway-wc-victoriabank-mia.php:158
    8196msgid ""
    8297"Save debug messages to the WooCommerce System Status logs. Note: this may "
     
    88103"opțiune numai pentru depanare și ștergeți jurnalele atunci când ați terminat."
    89104
    90 #: payment-gateway-wc-victoriabank-mia.php:156
     105#: payment-gateway-wc-victoriabank-mia.php:162
    91106msgid "Order description"
    92107msgstr "Descriere comandă"
    93108
    94109#. translators: 1: Example placeholder shown to user, represents Order ID
    95 #: payment-gateway-wc-victoriabank-mia.php:159
     110#: payment-gateway-wc-victoriabank-mia.php:165
    96111#, php-format
    97112msgid "Format: <code>%1$s</code> - Order ID"
    98113msgstr "Format: <code>%1$s</code> - ID Comandă"
    99114
    100 #: payment-gateway-wc-victoriabank-mia.php:160
    101 msgid "Order description that the customer will see on the bank payment page."
    102 msgstr ""
    103 "Descrierea comenzii afișată clientului pe pagina băncii în timpul plății."
    104 
    105 #: payment-gateway-wc-victoriabank-mia.php:164
     115#: payment-gateway-wc-victoriabank-mia.php:166
     116msgid "Order description that the customer will see in the app during payment."
     117msgstr ""
     118"Descrierea comenzii pe care clientul o va vedea în aplicație în timpul "
     119"plății."
     120
     121#: payment-gateway-wc-victoriabank-mia.php:175
    106122msgid "Transaction validity"
    107123msgstr "Valabilitatea tranzacției"
    108124
    109 #: payment-gateway-wc-victoriabank-mia.php:166
    110 msgid "minutes"
    111 msgstr "minute"
    112 
    113 #: payment-gateway-wc-victoriabank-mia.php:171
    114 #: payment-gateway-wc-victoriabank-mia.php:275
     125#. translators: 1: Transaction validity in minutes
     126#: payment-gateway-wc-victoriabank-mia.php:178
     127#, php-format
     128msgid "Default: %1$s minutes"
     129msgstr "Implicit: %1$s minute"
     130
     131#: payment-gateway-wc-victoriabank-mia.php:179
     132msgid "QR code validity time in minutes."
     133msgstr "Timpul de valabilitate al codului QR în minute."
     134
     135#: payment-gateway-wc-victoriabank-mia.php:190
     136#: payment-gateway-wc-victoriabank-mia.php:324
    115137msgid "Connection Settings"
    116138msgstr "Setări conexiune"
    117139
    118 #: payment-gateway-wc-victoriabank-mia.php:172
     140#: payment-gateway-wc-victoriabank-mia.php:191
    119141msgid "Payment gateway connection credentials are provided by the bank."
    120142msgstr "Datele de conectare la gateway-ul de plată sunt furnizate de bancă."
    121143
    122 #: payment-gateway-wc-victoriabank-mia.php:176
     144#: payment-gateway-wc-victoriabank-mia.php:195
    123145msgid "Username"
    124146msgstr "Nume utilizator"
    125147
    126 #: payment-gateway-wc-victoriabank-mia.php:180
     148#: payment-gateway-wc-victoriabank-mia.php:202
    127149msgid "Password"
    128150msgstr "Parolă"
    129151
    130 #: payment-gateway-wc-victoriabank-mia.php:184
     152#: payment-gateway-wc-victoriabank-mia.php:209
    131153msgid "Certificate"
    132154msgstr "Certificat"
    133155
    134 #: payment-gateway-wc-victoriabank-mia.php:186
     156#: payment-gateway-wc-victoriabank-mia.php:212
    135157msgid ""
    136158"Victoriabank Public Key Certificate to validate the authenticity of the "
     
    140162"autenticității notificărilor de plată."
    141163
    142 #: payment-gateway-wc-victoriabank-mia.php:190
     164#: payment-gateway-wc-victoriabank-mia.php:220
    143165msgid "Company Name"
    144166msgstr "Nume companie"
    145167
    146 #: payment-gateway-wc-victoriabank-mia.php:194
     168#: payment-gateway-wc-victoriabank-mia.php:223
     169msgid "Commercial name that the customer will see in the app during payment."
     170msgstr ""
     171"Denumirea comercială pe care clientul o va vedea în aplicație în timpul "
     172"plății."
     173
     174#: payment-gateway-wc-victoriabank-mia.php:232
    147175msgid "Creditor Account"
    148176msgstr "Cont creditor"
    149177
    150 #: payment-gateway-wc-victoriabank-mia.php:196
     178#: payment-gateway-wc-victoriabank-mia.php:234
    151179msgid "IBAN"
    152180msgstr "IBAN"
    153181
    154 #: payment-gateway-wc-victoriabank-mia.php:200
     182#: payment-gateway-wc-victoriabank-mia.php:235
     183msgid "IBAN account for receiving payments."
     184msgstr "Cont IBAN pentru primirea plăților."
     185
     186#: payment-gateway-wc-victoriabank-mia.php:246
    155187msgid "Payment Notification"
    156188msgstr "Notificare plăți"
    157189
    158 #: payment-gateway-wc-victoriabank-mia.php:203
     190#: payment-gateway-wc-victoriabank-mia.php:250
    159191msgid "Provide this URL to the bank to enable online payment notifications."
    160192msgstr ""
     
    162194"online."
    163195
    164 #: payment-gateway-wc-victoriabank-mia.php:204
     196#: payment-gateway-wc-victoriabank-mia.php:251
    165197msgid "Callback URL"
    166198msgstr "URL apel invers (Callback URL)"
    167199
    168 #: payment-gateway-wc-victoriabank-mia.php:262
     200#: payment-gateway-wc-victoriabank-mia.php:311
    169201msgid "Unsupported store currency"
    170202msgstr "Valuta magazinului nu este suportată"
    171203
    172 #: payment-gateway-wc-victoriabank-mia.php:264
     204#: payment-gateway-wc-victoriabank-mia.php:313
    173205msgid "Supported currencies"
    174206msgstr "Valute suportate"
    175207
    176208#. translators: 1: Plugin installation instructions URL
    177 #: payment-gateway-wc-victoriabank-mia.php:274
     209#: payment-gateway-wc-victoriabank-mia.php:323
    178210#, php-format
    179211msgid ""
     
    184216"target=\"_blank\">instrucțiuni de instalare</a>."
    185217
    186 #: payment-gateway-wc-victoriabank-mia.php:275
     218#: payment-gateway-wc-victoriabank-mia.php:324
    187219msgid "Not configured"
    188220msgstr "Neconfigurat"
    189221
     222#. translators: 1: Field label
     223#: payment-gateway-wc-victoriabank-mia.php:342
     224#, php-format
     225msgid "%1$s field must be set."
     226msgstr "Câmpul %1$s trebuie setat."
     227
     228#. translators: 1: Field label, 2: Min value, 3: Max value
     229#: payment-gateway-wc-victoriabank-mia.php:357
     230#, php-format
     231msgid "%1$s field must be an integer between %2$d and %3$d."
     232msgstr "Câmpul %1$s trebuie să fie un număr întreg între %2$d și %3$d."
     233
     234#. translators: 1: Field label
     235#: payment-gateway-wc-victoriabank-mia.php:377
     236#, php-format
     237msgid "Invalid %1$s field."
     238msgstr "Câmp %1$s nevalid."
     239
     240#. translators: 1: Field label
     241#: payment-gateway-wc-victoriabank-mia.php:392
     242#, php-format
     243msgid "Invalid %1$s field. Must start with MD and have 24 characters."
     244msgstr ""
     245"Câmp %1$s nevalid. Trebuie să înceapă cu MD și să aibă 24 de caractere."
     246
    190247#. translators: 1: Payment method title, 2: Plugin settings URL
    191 #: payment-gateway-wc-victoriabank-mia.php:305
     248#: payment-gateway-wc-victoriabank-mia.php:441
    192249#, php-format
    193250msgid ""
     
    199256
    200257#. translators: 1: Payment method title, 2: Plugin settings URL
    201 #: payment-gateway-wc-victoriabank-mia.php:312
     258#: payment-gateway-wc-victoriabank-mia.php:448
    202259#, php-format
    203260msgid ""
     
    209266
    210267#. translators: 1: Order ID, 2: Payment method title, 3: API response details
    211 #: payment-gateway-wc-victoriabank-mia.php:449
     268#: payment-gateway-wc-victoriabank-mia.php:613
    212269#, php-format
    213270msgid "Order #%1$s payment initiated via %2$s: %3$s"
     
    215272
    216273#. translators: 1: Order ID, 2: Payment method title
    217 #: payment-gateway-wc-victoriabank-mia.php:461
     274#: payment-gateway-wc-victoriabank-mia.php:625
    218275#, php-format
    219276msgid "Order #%1$s payment initiation failed via %2$s."
     
    221278
    222279#. translators: 1: Payment method title
    223 #: payment-gateway-wc-victoriabank-mia.php:485
     280#: payment-gateway-wc-victoriabank-mia.php:649
    224281#, php-format
    225282msgid "%1$s Callback URL"
    226283msgstr "%1$s Callback URL"
    227284
    228 #: payment-gateway-wc-victoriabank-mia.php:508
     285#: payment-gateway-wc-victoriabank-mia.php:672
    229286msgid "Payment notification callback"
    230287msgstr "Notificare de plată"
    231288
    232289#. translators: 1: QR Extension ID, 2: Payment method title
    233 #: payment-gateway-wc-victoriabank-mia.php:543
     290#: payment-gateway-wc-victoriabank-mia.php:707
    234291#, php-format
    235292msgid "Order not found by QR Extension ID: %1$s received from %2$s."
     
    237294
    238295#. translators: 1: Callback notification price, 2: Order total price
    239 #: payment-gateway-wc-victoriabank-mia.php:565
     296#: payment-gateway-wc-victoriabank-mia.php:729
    240297#, php-format
    241298msgid "Order amount mismatch: Callback: %1$s, Order: %2$s."
     
    243300
    244301#. translators: 1: Order ID
    245 #: payment-gateway-wc-victoriabank-mia.php:573
     302#: payment-gateway-wc-victoriabank-mia.php:737
    246303#, php-format
    247304msgid "Callback order #%1$s already fully paid."
     
    249306
    250307#. translators: 1: Order ID, 2: Payment method title, 3: Payment notification callback data
    251 #: payment-gateway-wc-victoriabank-mia.php:592
     308#: payment-gateway-wc-victoriabank-mia.php:756
    252309#, php-format
    253310msgid "Order #%1$s payment completed via %2$s: %3$s"
     
    255312
    256313#. translators: 1: Payment method title
    257 #: payment-gateway-wc-victoriabank-mia.php:616
     314#: payment-gateway-wc-victoriabank-mia.php:780
    258315#, php-format
    259316msgid "Partial refunds are not currently supported by %1$s."
     
    261318
    262319#. translators: 1: Order ID, 2: Refund amount, 3: Payment method title, 4: Error message
    263 #: payment-gateway-wc-victoriabank-mia.php:641
     320#: payment-gateway-wc-victoriabank-mia.php:805
    264321#, php-format
    265322msgid "Order #%1$s refund of %2$s via %3$s failed: %4$s"
     
    267324
    268325#. translators: 1: Order ID, 2: Refund amount, 3: Payment method title
    269 #: payment-gateway-wc-victoriabank-mia.php:652
     326#: payment-gateway-wc-victoriabank-mia.php:816
    270327#, php-format
    271328msgid "Order #%1$s refund of %2$s via %3$s approved."
     
    273330
    274331#. translators: 1: Original message
    275 #: payment-gateway-wc-victoriabank-mia.php:716
     332#: payment-gateway-wc-victoriabank-mia.php:880
    276333#, php-format
    277334msgid "TEST: %1$s"
    278335msgstr "TEST: %1$s"
    279336
    280 #: payment-gateway-wc-victoriabank-mia.php:836
     337#: payment-gateway-wc-victoriabank-mia.php:995
    281338msgid "Settings"
    282339msgstr "Setări"
  • payment-gateway-wc-victoriabank-mia/trunk/languages/payment-gateway-wc-victoriabank-mia-ru_RU.po

    r3423778 r3424882  
    44msgstr ""
    55"Project-Id-Version: Payment Gateway for Victoriabank MIA for WooCommerce "
    6 "1.0.1\n"
     6"1.0.2\n"
    77"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/payment-gateway-"
    88"wc-victoriabank-mia\n"
    9 "POT-Creation-Date: 2025-12-19 16:17+0200\n"
    10 "PO-Revision-Date: 2025-12-19 16:18+0200\n"
     9"POT-Creation-Date: 2025-12-21 19:55+0200\n"
     10"PO-Revision-Date: 2025-12-21 20:01+0200\n"
    1111"Last-Translator: Alexander Minza <[email protected]>\n"
    1212"Language-Team: \n"
     
    1717"X-Generator: Poedit 3.8\n"
    1818
     19#. Plugin Name of the plugin
     20#: payment-gateway-wc-victoriabank-mia.php
     21msgid "Payment Gateway for Victoriabank MIA for WooCommerce"
     22msgstr "Payment Gateway for Victoriabank MIA for WooCommerce"
     23
    1924#. Description of the plugin
    2025#: payment-gateway-wc-victoriabank-mia.php
     
    2429msgstr ""
    2530"Принимайте MIA мгновенные платежи прямо в своем магазине с помощью "
    26 "платежного шлюза maib MIA для WooCommerce."
    27 
    28 #: payment-gateway-wc-victoriabank-mia.php:118
     31"платежного шлюза Victoriabank MIA для WooCommerce."
     32
     33#: payment-gateway-wc-victoriabank-mia.php:75
     34msgid "Accept MIA Instant Payments through Victoriabank."
     35msgstr "Принимайте MIA мгновенные платежи через Victoriabank."
     36
     37#: payment-gateway-wc-victoriabank-mia.php:121
    2938msgid "Enable/Disable"
    3039msgstr "Включить/Выключить"
    3140
    32 #: payment-gateway-wc-victoriabank-mia.php:120
     41#: payment-gateway-wc-victoriabank-mia.php:123
    3342msgid "Enable this gateway"
    3443msgstr "Включить платежный шлюз"
    3544
    36 #: payment-gateway-wc-victoriabank-mia.php:124
     45#: payment-gateway-wc-victoriabank-mia.php:127
    3746msgid "Title"
    3847msgstr "Наименование"
    3948
    40 #: payment-gateway-wc-victoriabank-mia.php:126
     49#: payment-gateway-wc-victoriabank-mia.php:129
    4150msgid "Payment method title that the customer will see during checkout."
    42 msgstr "Заголовок, который видит пользователь в процессе оформления заказа."
    43 
    44 #: payment-gateway-wc-victoriabank-mia.php:131
     51msgstr ""
     52"Название способа оплаты, которое покупатель увидит при оформлении заказа."
     53
     54#: payment-gateway-wc-victoriabank-mia.php:137
    4555msgid "Description"
    4656msgstr "Описание"
    4757
    48 #: payment-gateway-wc-victoriabank-mia.php:133
     58#: payment-gateway-wc-victoriabank-mia.php:139
    4959msgid "Payment method description that the customer will see during checkout."
    5060msgstr ""
    51 "Описание метода оплаты, которое клиент будет видеть при оформлении заказа."
    52 
    53 #: payment-gateway-wc-victoriabank-mia.php:139
     61"Описание способа оплаты, которое покупатель увидит при оформлении заказа."
     62
     63#: payment-gateway-wc-victoriabank-mia.php:141
     64msgid ""
     65"Pay instantly by scanning the QR code using your bank's mobile application."
     66msgstr ""
     67"Оплатите мгновенно, отсканировав QR-код с помощью мобильного приложения "
     68"вашего банка."
     69
     70#: payment-gateway-wc-victoriabank-mia.php:145
    5471msgid "Test mode"
    5572msgstr "Тестовый режим"
    5673
    57 #: payment-gateway-wc-victoriabank-mia.php:141
     74#: payment-gateway-wc-victoriabank-mia.php:147
    5875msgid "Enabled"
    5976msgstr "Включен"
    6077
    61 #: payment-gateway-wc-victoriabank-mia.php:142
     78#: payment-gateway-wc-victoriabank-mia.php:148
    6279msgid ""
    6380"Use Test or Live bank gateway to process the payments. Disable when ready to "
     
    6784"Отключить, когда будете готовы принимать реальные платежи."
    6885
    69 #: payment-gateway-wc-victoriabank-mia.php:147
     86#: payment-gateway-wc-victoriabank-mia.php:153
    7087msgid "Debug mode"
    7188msgstr "Режим отладки"
    7289
    73 #: payment-gateway-wc-victoriabank-mia.php:149
     90#: payment-gateway-wc-victoriabank-mia.php:155
    7491msgid "Enable logging"
    7592msgstr "Включить журналирование"
    7693
    77 #: payment-gateway-wc-victoriabank-mia.php:151
     94#: payment-gateway-wc-victoriabank-mia.php:157
    7895msgid "View logs"
    7996msgstr "Просмотреть журналы"
    8097
    81 #: payment-gateway-wc-victoriabank-mia.php:152
     98#: payment-gateway-wc-victoriabank-mia.php:158
    8299msgid ""
    83100"Save debug messages to the WooCommerce System Status logs. Note: this may "
     
    89106"отладки и удалите журналы по завершению."
    90107
    91 #: payment-gateway-wc-victoriabank-mia.php:156
     108#: payment-gateway-wc-victoriabank-mia.php:162
    92109msgid "Order description"
    93110msgstr "Описание заказа"
    94111
    95112#. translators: 1: Example placeholder shown to user, represents Order ID
    96 #: payment-gateway-wc-victoriabank-mia.php:159
     113#: payment-gateway-wc-victoriabank-mia.php:165
    97114#, php-format
    98115msgid "Format: <code>%1$s</code> - Order ID"
    99116msgstr "Формат: <code>%1$s</code> - номер заказа"
    100117
    101 #: payment-gateway-wc-victoriabank-mia.php:160
    102 msgid "Order description that the customer will see on the bank payment page."
    103 msgstr ""
    104 "Описание заказа, которое клиент будет видеть при оплате на странице банка."
    105 
    106 #: payment-gateway-wc-victoriabank-mia.php:164
     118#: payment-gateway-wc-victoriabank-mia.php:166
     119msgid "Order description that the customer will see in the app during payment."
     120msgstr ""
     121"Описание заказа, которое покупатель увидит в приложении во время оплаты."
     122
     123#: payment-gateway-wc-victoriabank-mia.php:175
    107124msgid "Transaction validity"
    108125msgstr "Действительность транзакции"
    109126
    110 #: payment-gateway-wc-victoriabank-mia.php:166
    111 msgid "minutes"
    112 msgstr "минут"
    113 
    114 #: payment-gateway-wc-victoriabank-mia.php:171
    115 #: payment-gateway-wc-victoriabank-mia.php:275
     127#. translators: 1: Transaction validity in minutes
     128#: payment-gateway-wc-victoriabank-mia.php:178
     129#, php-format
     130msgid "Default: %1$s minutes"
     131msgstr "По умолчанию: %1$s мин."
     132
     133#: payment-gateway-wc-victoriabank-mia.php:179
     134msgid "QR code validity time in minutes."
     135msgstr "Время действия QR-кода в минутах."
     136
     137#: payment-gateway-wc-victoriabank-mia.php:190
     138#: payment-gateway-wc-victoriabank-mia.php:324
    116139msgid "Connection Settings"
    117140msgstr "Настройки подключения"
    118141
    119 #: payment-gateway-wc-victoriabank-mia.php:172
     142#: payment-gateway-wc-victoriabank-mia.php:191
    120143msgid "Payment gateway connection credentials are provided by the bank."
    121144msgstr ""
    122145"Учетные данные для подключения к платежному шлюзу предоставляются банком."
    123146
    124 #: payment-gateway-wc-victoriabank-mia.php:176
     147#: payment-gateway-wc-victoriabank-mia.php:195
    125148msgid "Username"
    126149msgstr "Логин"
    127150
    128 #: payment-gateway-wc-victoriabank-mia.php:180
     151#: payment-gateway-wc-victoriabank-mia.php:202
    129152msgid "Password"
    130153msgstr "Пароль"
    131154
    132 #: payment-gateway-wc-victoriabank-mia.php:184
     155#: payment-gateway-wc-victoriabank-mia.php:209
    133156msgid "Certificate"
    134157msgstr "Сертификат"
    135158
    136 #: payment-gateway-wc-victoriabank-mia.php:186
     159#: payment-gateway-wc-victoriabank-mia.php:212
    137160msgid ""
    138161"Victoriabank Public Key Certificate to validate the authenticity of the "
     
    142165"уведомлений о платежах."
    143166
    144 #: payment-gateway-wc-victoriabank-mia.php:190
     167#: payment-gateway-wc-victoriabank-mia.php:220
    145168msgid "Company Name"
    146169msgstr "Название компании"
    147170
    148 #: payment-gateway-wc-victoriabank-mia.php:194
     171#: payment-gateway-wc-victoriabank-mia.php:223
     172msgid "Commercial name that the customer will see in the app during payment."
     173msgstr ""
     174"Коммерческое название, которое покупатель увидит в приложении во время "
     175"оплаты."
     176
     177#: payment-gateway-wc-victoriabank-mia.php:232
    149178msgid "Creditor Account"
    150179msgstr "Кредиторский счет"
    151180
    152 #: payment-gateway-wc-victoriabank-mia.php:196
     181#: payment-gateway-wc-victoriabank-mia.php:234
    153182msgid "IBAN"
    154183msgstr "IBAN"
    155184
    156 #: payment-gateway-wc-victoriabank-mia.php:200
     185#: payment-gateway-wc-victoriabank-mia.php:235
     186msgid "IBAN account for receiving payments."
     187msgstr "IBAN-счет для получения платежей."
     188
     189#: payment-gateway-wc-victoriabank-mia.php:246
    157190msgid "Payment Notification"
    158191msgstr "Уведомление об оплате"
    159192
    160 #: payment-gateway-wc-victoriabank-mia.php:203
     193#: payment-gateway-wc-victoriabank-mia.php:250
    161194msgid "Provide this URL to the bank to enable online payment notifications."
    162195msgstr ""
     
    164197"платежах."
    165198
    166 #: payment-gateway-wc-victoriabank-mia.php:204
     199#: payment-gateway-wc-victoriabank-mia.php:251
    167200msgid "Callback URL"
    168201msgstr "URL обратного вызова (Callback URL)"
    169202
    170 #: payment-gateway-wc-victoriabank-mia.php:262
     203#: payment-gateway-wc-victoriabank-mia.php:311
    171204msgid "Unsupported store currency"
    172205msgstr "Валюта магазина не поддерживается"
    173206
    174 #: payment-gateway-wc-victoriabank-mia.php:264
     207#: payment-gateway-wc-victoriabank-mia.php:313
    175208msgid "Supported currencies"
    176209msgstr "Поддерживаемые валюты"
    177210
    178211#. translators: 1: Plugin installation instructions URL
    179 #: payment-gateway-wc-victoriabank-mia.php:274
     212#: payment-gateway-wc-victoriabank-mia.php:323
    180213#, php-format
    181214msgid ""
     
    186219"target=\"_blank\">инструкций по установке</a>."
    187220
    188 #: payment-gateway-wc-victoriabank-mia.php:275
     221#: payment-gateway-wc-victoriabank-mia.php:324
    189222msgid "Not configured"
    190223msgstr "Не настроено"
    191224
     225#. translators: 1: Field label
     226#: payment-gateway-wc-victoriabank-mia.php:342
     227#, php-format
     228msgid "%1$s field must be set."
     229msgstr "В поле %1$s должно быть задано значение."
     230
     231#. translators: 1: Field label, 2: Min value, 3: Max value
     232#: payment-gateway-wc-victoriabank-mia.php:357
     233#, php-format
     234msgid "%1$s field must be an integer between %2$d and %3$d."
     235msgstr "Поле %1$s должно быть целым числом от %2$d до %3$d."
     236
     237#. translators: 1: Field label
     238#: payment-gateway-wc-victoriabank-mia.php:377
     239#, php-format
     240msgid "Invalid %1$s field."
     241msgstr "Неверное поле %1$s."
     242
     243#. translators: 1: Field label
     244#: payment-gateway-wc-victoriabank-mia.php:392
     245#, php-format
     246msgid "Invalid %1$s field. Must start with MD and have 24 characters."
     247msgstr ""
     248"Недопустимое поле %1$s. Должно начинаться с MD и состоять из 24 символов."
     249
    192250#. translators: 1: Payment method title, 2: Plugin settings URL
    193 #: payment-gateway-wc-victoriabank-mia.php:305
     251#: payment-gateway-wc-victoriabank-mia.php:441
    194252#, php-format
    195253msgid ""
     
    201259
    202260#. translators: 1: Payment method title, 2: Plugin settings URL
    203 #: payment-gateway-wc-victoriabank-mia.php:312
     261#: payment-gateway-wc-victoriabank-mia.php:448
    204262#, php-format
    205263msgid ""
     
    211269
    212270#. translators: 1: Order ID, 2: Payment method title, 3: API response details
    213 #: payment-gateway-wc-victoriabank-mia.php:449
     271#: payment-gateway-wc-victoriabank-mia.php:613
    214272#, php-format
    215273msgid "Order #%1$s payment initiated via %2$s: %3$s"
     
    217275
    218276#. translators: 1: Order ID, 2: Payment method title
    219 #: payment-gateway-wc-victoriabank-mia.php:461
     277#: payment-gateway-wc-victoriabank-mia.php:625
    220278#, php-format
    221279msgid "Order #%1$s payment initiation failed via %2$s."
     
    223281
    224282#. translators: 1: Payment method title
    225 #: payment-gateway-wc-victoriabank-mia.php:485
     283#: payment-gateway-wc-victoriabank-mia.php:649
    226284#, php-format
    227285msgid "%1$s Callback URL"
    228286msgstr "%1$s Callback URL"
    229287
    230 #: payment-gateway-wc-victoriabank-mia.php:508
     288#: payment-gateway-wc-victoriabank-mia.php:672
    231289msgid "Payment notification callback"
    232290msgstr "Уведомление об оплате"
    233291
    234292#. translators: 1: QR Extension ID, 2: Payment method title
    235 #: payment-gateway-wc-victoriabank-mia.php:543
     293#: payment-gateway-wc-victoriabank-mia.php:707
    236294#, php-format
    237295msgid "Order not found by QR Extension ID: %1$s received from %2$s."
     
    239297
    240298#. translators: 1: Callback notification price, 2: Order total price
    241 #: payment-gateway-wc-victoriabank-mia.php:565
     299#: payment-gateway-wc-victoriabank-mia.php:729
    242300#, php-format
    243301msgid "Order amount mismatch: Callback: %1$s, Order: %2$s."
     
    245303
    246304#. translators: 1: Order ID
    247 #: payment-gateway-wc-victoriabank-mia.php:573
     305#: payment-gateway-wc-victoriabank-mia.php:737
    248306#, php-format
    249307msgid "Callback order #%1$s already fully paid."
     
    251309
    252310#. translators: 1: Order ID, 2: Payment method title, 3: Payment notification callback data
    253 #: payment-gateway-wc-victoriabank-mia.php:592
     311#: payment-gateway-wc-victoriabank-mia.php:756
    254312#, php-format
    255313msgid "Order #%1$s payment completed via %2$s: %3$s"
     
    257315
    258316#. translators: 1: Payment method title
    259 #: payment-gateway-wc-victoriabank-mia.php:616
     317#: payment-gateway-wc-victoriabank-mia.php:780
    260318#, php-format
    261319msgid "Partial refunds are not currently supported by %1$s."
     
    263321
    264322#. translators: 1: Order ID, 2: Refund amount, 3: Payment method title, 4: Error message
    265 #: payment-gateway-wc-victoriabank-mia.php:641
     323#: payment-gateway-wc-victoriabank-mia.php:805
    266324#, php-format
    267325msgid "Order #%1$s refund of %2$s via %3$s failed: %4$s"
     
    269327
    270328#. translators: 1: Order ID, 2: Refund amount, 3: Payment method title
    271 #: payment-gateway-wc-victoriabank-mia.php:652
     329#: payment-gateway-wc-victoriabank-mia.php:816
    272330#, php-format
    273331msgid "Order #%1$s refund of %2$s via %3$s approved."
     
    275333
    276334#. translators: 1: Original message
    277 #: payment-gateway-wc-victoriabank-mia.php:716
     335#: payment-gateway-wc-victoriabank-mia.php:880
    278336#, php-format
    279337msgid "TEST: %1$s"
    280338msgstr "ТЕСТ: %1$s"
    281339
    282 #: payment-gateway-wc-victoriabank-mia.php:836
     340#: payment-gateway-wc-victoriabank-mia.php:995
    283341msgid "Settings"
    284342msgstr "Настройки"
  • payment-gateway-wc-victoriabank-mia/trunk/languages/payment-gateway-wc-victoriabank-mia.pot

    r3423778 r3424882  
    44msgid ""
    55msgstr ""
    6 "Project-Id-Version: Payment Gateway for Victoriabank MIA for WooCommerce 1.0.1\n"
     6"Project-Id-Version: Payment Gateway for Victoriabank MIA for WooCommerce 1.0.2\n"
    77"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/payment-gateway-wc-victoriabank-mia\n"
    8 "POT-Creation-Date: 2025-12-19 16:17+0200\n"
     8"POT-Creation-Date: 2025-12-21 19:55+0200\n"
    99"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1010"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1515"X-Generator: Poedit 3.8\n"
    1616
     17#. Plugin Name of the plugin
     18#: payment-gateway-wc-victoriabank-mia.php
     19msgid "Payment Gateway for Victoriabank MIA for WooCommerce"
     20msgstr ""
     21
    1722#. Description of the plugin
    1823#: payment-gateway-wc-victoriabank-mia.php
     
    2025msgstr ""
    2126
    22 #: payment-gateway-wc-victoriabank-mia.php:118
     27#: payment-gateway-wc-victoriabank-mia.php:75
     28msgid "Accept MIA Instant Payments through Victoriabank."
     29msgstr ""
     30
     31#: payment-gateway-wc-victoriabank-mia.php:121
    2332msgid "Enable/Disable"
    2433msgstr ""
    2534
    26 #: payment-gateway-wc-victoriabank-mia.php:120
     35#: payment-gateway-wc-victoriabank-mia.php:123
    2736msgid "Enable this gateway"
    2837msgstr ""
    2938
    30 #: payment-gateway-wc-victoriabank-mia.php:124
     39#: payment-gateway-wc-victoriabank-mia.php:127
    3140msgid "Title"
    3241msgstr ""
    3342
    34 #: payment-gateway-wc-victoriabank-mia.php:126
     43#: payment-gateway-wc-victoriabank-mia.php:129
    3544msgid "Payment method title that the customer will see during checkout."
    3645msgstr ""
    3746
    38 #: payment-gateway-wc-victoriabank-mia.php:131
     47#: payment-gateway-wc-victoriabank-mia.php:137
    3948msgid "Description"
    4049msgstr ""
    4150
    42 #: payment-gateway-wc-victoriabank-mia.php:133
     51#: payment-gateway-wc-victoriabank-mia.php:139
    4352msgid "Payment method description that the customer will see during checkout."
    4453msgstr ""
    4554
    46 #: payment-gateway-wc-victoriabank-mia.php:139
     55#: payment-gateway-wc-victoriabank-mia.php:141
     56msgid "Pay instantly by scanning the QR code using your bank's mobile application."
     57msgstr ""
     58
     59#: payment-gateway-wc-victoriabank-mia.php:145
    4760msgid "Test mode"
    4861msgstr ""
    4962
    50 #: payment-gateway-wc-victoriabank-mia.php:141
     63#: payment-gateway-wc-victoriabank-mia.php:147
    5164msgid "Enabled"
    5265msgstr ""
    5366
    54 #: payment-gateway-wc-victoriabank-mia.php:142
     67#: payment-gateway-wc-victoriabank-mia.php:148
    5568msgid "Use Test or Live bank gateway to process the payments. Disable when ready to accept live payments."
    5669msgstr ""
    5770
    58 #: payment-gateway-wc-victoriabank-mia.php:147
     71#: payment-gateway-wc-victoriabank-mia.php:153
    5972msgid "Debug mode"
    6073msgstr ""
    6174
    62 #: payment-gateway-wc-victoriabank-mia.php:149
     75#: payment-gateway-wc-victoriabank-mia.php:155
    6376msgid "Enable logging"
    6477msgstr ""
    6578
    66 #: payment-gateway-wc-victoriabank-mia.php:151
     79#: payment-gateway-wc-victoriabank-mia.php:157
    6780msgid "View logs"
    6881msgstr ""
    6982
    70 #: payment-gateway-wc-victoriabank-mia.php:152
     83#: payment-gateway-wc-victoriabank-mia.php:158
    7184msgid "Save debug messages to the WooCommerce System Status logs. Note: this may log personal information. Use this for debugging purposes only and delete the logs when finished."
    7285msgstr ""
    7386
    74 #: payment-gateway-wc-victoriabank-mia.php:156
     87#: payment-gateway-wc-victoriabank-mia.php:162
    7588msgid "Order description"
    7689msgstr ""
    7790
    7891#. translators: 1: Example placeholder shown to user, represents Order ID
    79 #: payment-gateway-wc-victoriabank-mia.php:159
     92#: payment-gateway-wc-victoriabank-mia.php:165
    8093#, php-format
    8194msgid "Format: <code>%1$s</code> - Order ID"
    8295msgstr ""
    8396
    84 #: payment-gateway-wc-victoriabank-mia.php:160
    85 msgid "Order description that the customer will see on the bank payment page."
    86 msgstr ""
    87 
    88 #: payment-gateway-wc-victoriabank-mia.php:164
     97#: payment-gateway-wc-victoriabank-mia.php:166
     98msgid "Order description that the customer will see in the app during payment."
     99msgstr ""
     100
     101#: payment-gateway-wc-victoriabank-mia.php:175
    89102msgid "Transaction validity"
    90103msgstr ""
    91104
    92 #: payment-gateway-wc-victoriabank-mia.php:166
    93 msgid "minutes"
    94 msgstr ""
    95 
    96 #: payment-gateway-wc-victoriabank-mia.php:171
    97 #: payment-gateway-wc-victoriabank-mia.php:275
     105#. translators: 1: Transaction validity in minutes
     106#: payment-gateway-wc-victoriabank-mia.php:178
     107#, php-format
     108msgid "Default: %1$s minutes"
     109msgstr ""
     110
     111#: payment-gateway-wc-victoriabank-mia.php:179
     112msgid "QR code validity time in minutes."
     113msgstr ""
     114
     115#: payment-gateway-wc-victoriabank-mia.php:190
     116#: payment-gateway-wc-victoriabank-mia.php:324
    98117msgid "Connection Settings"
    99118msgstr ""
    100119
    101 #: payment-gateway-wc-victoriabank-mia.php:172
     120#: payment-gateway-wc-victoriabank-mia.php:191
    102121msgid "Payment gateway connection credentials are provided by the bank."
    103122msgstr ""
    104123
    105 #: payment-gateway-wc-victoriabank-mia.php:176
     124#: payment-gateway-wc-victoriabank-mia.php:195
    106125msgid "Username"
    107126msgstr ""
    108127
    109 #: payment-gateway-wc-victoriabank-mia.php:180
     128#: payment-gateway-wc-victoriabank-mia.php:202
    110129msgid "Password"
    111130msgstr ""
    112131
    113 #: payment-gateway-wc-victoriabank-mia.php:184
     132#: payment-gateway-wc-victoriabank-mia.php:209
    114133msgid "Certificate"
    115134msgstr ""
    116135
    117 #: payment-gateway-wc-victoriabank-mia.php:186
     136#: payment-gateway-wc-victoriabank-mia.php:212
    118137msgid "Victoriabank Public Key Certificate to validate the authenticity of the payment notifications."
    119138msgstr ""
    120139
    121 #: payment-gateway-wc-victoriabank-mia.php:190
     140#: payment-gateway-wc-victoriabank-mia.php:220
    122141msgid "Company Name"
    123142msgstr ""
    124143
    125 #: payment-gateway-wc-victoriabank-mia.php:194
     144#: payment-gateway-wc-victoriabank-mia.php:223
     145msgid "Commercial name that the customer will see in the app during payment."
     146msgstr ""
     147
     148#: payment-gateway-wc-victoriabank-mia.php:232
    126149msgid "Creditor Account"
    127150msgstr ""
    128151
    129 #: payment-gateway-wc-victoriabank-mia.php:196
     152#: payment-gateway-wc-victoriabank-mia.php:234
    130153msgid "IBAN"
    131154msgstr ""
    132155
    133 #: payment-gateway-wc-victoriabank-mia.php:200
     156#: payment-gateway-wc-victoriabank-mia.php:235
     157msgid "IBAN account for receiving payments."
     158msgstr ""
     159
     160#: payment-gateway-wc-victoriabank-mia.php:246
    134161msgid "Payment Notification"
    135162msgstr ""
    136163
    137 #: payment-gateway-wc-victoriabank-mia.php:203
     164#: payment-gateway-wc-victoriabank-mia.php:250
    138165msgid "Provide this URL to the bank to enable online payment notifications."
    139166msgstr ""
    140167
    141 #: payment-gateway-wc-victoriabank-mia.php:204
     168#: payment-gateway-wc-victoriabank-mia.php:251
    142169msgid "Callback URL"
    143170msgstr ""
    144171
    145 #: payment-gateway-wc-victoriabank-mia.php:262
     172#: payment-gateway-wc-victoriabank-mia.php:311
    146173msgid "Unsupported store currency"
    147174msgstr ""
    148175
    149 #: payment-gateway-wc-victoriabank-mia.php:264
     176#: payment-gateway-wc-victoriabank-mia.php:313
    150177msgid "Supported currencies"
    151178msgstr ""
    152179
    153180#. translators: 1: Plugin installation instructions URL
    154 #: payment-gateway-wc-victoriabank-mia.php:274
     181#: payment-gateway-wc-victoriabank-mia.php:323
    155182#, php-format
    156183msgid "See plugin documentation for <a href=\"%1$s\" target=\"_blank\">installation instructions</a>."
    157184msgstr ""
    158185
    159 #: payment-gateway-wc-victoriabank-mia.php:275
     186#: payment-gateway-wc-victoriabank-mia.php:324
    160187msgid "Not configured"
    161188msgstr ""
    162189
     190#. translators: 1: Field label
     191#: payment-gateway-wc-victoriabank-mia.php:342
     192#, php-format
     193msgid "%1$s field must be set."
     194msgstr ""
     195
     196#. translators: 1: Field label, 2: Min value, 3: Max value
     197#: payment-gateway-wc-victoriabank-mia.php:357
     198#, php-format
     199msgid "%1$s field must be an integer between %2$d and %3$d."
     200msgstr ""
     201
     202#. translators: 1: Field label
     203#: payment-gateway-wc-victoriabank-mia.php:377
     204#, php-format
     205msgid "Invalid %1$s field."
     206msgstr ""
     207
     208#. translators: 1: Field label
     209#: payment-gateway-wc-victoriabank-mia.php:392
     210#, php-format
     211msgid "Invalid %1$s field. Must start with MD and have 24 characters."
     212msgstr ""
     213
    163214#. translators: 1: Payment method title, 2: Plugin settings URL
    164 #: payment-gateway-wc-victoriabank-mia.php:305
     215#: payment-gateway-wc-victoriabank-mia.php:441
    165216#, php-format
    166217msgid "%1$s is not properly configured. Verify plugin <a href=\"%2$s\">Connection Settings</a>."
     
    168219
    169220#. translators: 1: Payment method title, 2: Plugin settings URL
    170 #: payment-gateway-wc-victoriabank-mia.php:312
     221#: payment-gateway-wc-victoriabank-mia.php:448
    171222#, php-format
    172223msgid "See <a href=\"%2$s\">%1$s settings</a> page for log details and setup instructions."
     
    174225
    175226#. translators: 1: Order ID, 2: Payment method title, 3: API response details
    176 #: payment-gateway-wc-victoriabank-mia.php:449
     227#: payment-gateway-wc-victoriabank-mia.php:613
    177228#, php-format
    178229msgid "Order #%1$s payment initiated via %2$s: %3$s"
     
    180231
    181232#. translators: 1: Order ID, 2: Payment method title
    182 #: payment-gateway-wc-victoriabank-mia.php:461
     233#: payment-gateway-wc-victoriabank-mia.php:625
    183234#, php-format
    184235msgid "Order #%1$s payment initiation failed via %2$s."
     
    186237
    187238#. translators: 1: Payment method title
    188 #: payment-gateway-wc-victoriabank-mia.php:485
     239#: payment-gateway-wc-victoriabank-mia.php:649
    189240#, php-format
    190241msgid "%1$s Callback URL"
    191242msgstr ""
    192243
    193 #: payment-gateway-wc-victoriabank-mia.php:508
     244#: payment-gateway-wc-victoriabank-mia.php:672
    194245msgid "Payment notification callback"
    195246msgstr ""
    196247
    197248#. translators: 1: QR Extension ID, 2: Payment method title
    198 #: payment-gateway-wc-victoriabank-mia.php:543
     249#: payment-gateway-wc-victoriabank-mia.php:707
    199250#, php-format
    200251msgid "Order not found by QR Extension ID: %1$s received from %2$s."
     
    202253
    203254#. translators: 1: Callback notification price, 2: Order total price
    204 #: payment-gateway-wc-victoriabank-mia.php:565
     255#: payment-gateway-wc-victoriabank-mia.php:729
    205256#, php-format
    206257msgid "Order amount mismatch: Callback: %1$s, Order: %2$s."
     
    208259
    209260#. translators: 1: Order ID
    210 #: payment-gateway-wc-victoriabank-mia.php:573
     261#: payment-gateway-wc-victoriabank-mia.php:737
    211262#, php-format
    212263msgid "Callback order #%1$s already fully paid."
     
    214265
    215266#. translators: 1: Order ID, 2: Payment method title, 3: Payment notification callback data
    216 #: payment-gateway-wc-victoriabank-mia.php:592
     267#: payment-gateway-wc-victoriabank-mia.php:756
    217268#, php-format
    218269msgid "Order #%1$s payment completed via %2$s: %3$s"
     
    220271
    221272#. translators: 1: Payment method title
    222 #: payment-gateway-wc-victoriabank-mia.php:616
     273#: payment-gateway-wc-victoriabank-mia.php:780
    223274#, php-format
    224275msgid "Partial refunds are not currently supported by %1$s."
     
    226277
    227278#. translators: 1: Order ID, 2: Refund amount, 3: Payment method title, 4: Error message
    228 #: payment-gateway-wc-victoriabank-mia.php:641
     279#: payment-gateway-wc-victoriabank-mia.php:805
    229280#, php-format
    230281msgid "Order #%1$s refund of %2$s via %3$s failed: %4$s"
     
    232283
    233284#. translators: 1: Order ID, 2: Refund amount, 3: Payment method title
    234 #: payment-gateway-wc-victoriabank-mia.php:652
     285#: payment-gateway-wc-victoriabank-mia.php:816
    235286#, php-format
    236287msgid "Order #%1$s refund of %2$s via %3$s approved."
     
    238289
    239290#. translators: 1: Original message
    240 #: payment-gateway-wc-victoriabank-mia.php:716
     291#: payment-gateway-wc-victoriabank-mia.php:880
    241292#, php-format
    242293msgid "TEST: %1$s"
    243294msgstr ""
    244295
    245 #: payment-gateway-wc-victoriabank-mia.php:836
     296#: payment-gateway-wc-victoriabank-mia.php:995
    246297msgid "Settings"
    247298msgstr ""
  • payment-gateway-wc-victoriabank-mia/trunk/payment-gateway-wc-victoriabank-mia.php

    r3423778 r3424882  
    55 * Description: Accept MIA Instant Payments directly on your store with the Payment Gateway for Victoriabank MIA for WooCommerce.
    66 * Plugin URI: https://github.com/alexminza/payment-gateway-wc-victoriabank-mia
    7  * Version: 1.0.1
     7 * Version: 1.0.2
    88 * Author: Alexander Minza
    99 * Author URI: https://profiles.wordpress.org/alexminza
     
    3838{
    3939    // https://developer.woocommerce.com/docs/features/payments/payment-gateway-plugin-base/
    40     // load_plugin_textdomain('payment-gateway-wc-victoriabank-mia', false, dirname(plugin_basename(__FILE__)) . '/languages');
    41 
    4240    if (!class_exists('WC_Payment_Gateway')) {
    4341        return;
     
    4846        //region Constants
    4947        const MOD_ID             = 'victoriabank_mia';
    50         const MOD_TITLE          = 'Victoriabank MIA';
    5148        const MOD_PREFIX         = 'victoriabank_mia_';
    52         const MOD_VERSION        = '1.0.1';
     49        const MOD_VERSION        = '1.0.2';
    5350
    5451        const SUPPORTED_CURRENCIES = array('MDL');
     
    6259
    6360        const DEFAULT_TIMEOUT  = 30; // seconds
    64         const DEFAULT_VALIDITY = 15; // minutes
     61        const DEFAULT_VALIDITY = 360; // minutes
     62        const MIN_VALIDITY     = 1;  //minutes
     63        const MAX_VALIDITY     = 1440; //minutes
    6564        //endregion
    6665
     
    7170        {
    7271            $this->id                 = self::MOD_ID;
    73             $this->method_title       = self::MOD_TITLE;
    74             $this->method_description = 'Payment Gateway for Victoriabank MIA';
     72            $this->method_title       = 'Victoriabank MIA';
     73            $this->method_description = __('Accept MIA Instant Payments through Victoriabank.', 'payment-gateway-wc-victoriabank-mia');
    7574            $this->has_fields         = false;
    7675            $this->supports           = array('products', 'refunds');
    7776
    78             //region Initialize user set variables
    79             $this->enabled            = $this->get_option('enabled', 'no');
    80             $this->title              = $this->get_option('title', $this->method_title);
    81             $this->description        = $this->get_option('description');
    82             $this->icon               = plugins_url('/assets/img/mia.svg', __FILE__);
    83 
    84             $this->testmode           = wc_string_to_bool($this->get_option('testmode', 'no'));
    85             $this->debug              = wc_string_to_bool($this->get_option('debug', 'no'));
    86             $this->logger             = new WC_Logger(null, $this->debug ? WC_Log_Levels::DEBUG : WC_Log_Levels::INFO);
     77            //region Initialize settings
     78            $this->init_form_fields();
     79            $this->init_settings();
     80
     81            $this->enabled     = $this->get_option('enabled', 'no');
     82            $this->title       = $this->get_option('title', $this->method_title);
     83            $this->description = $this->get_option('description');
     84            $this->icon        = plugins_url('/assets/img/mia.svg', __FILE__);
     85
     86            $this->testmode    = wc_string_to_bool($this->get_option('testmode', 'no'));
     87            $this->debug       = wc_string_to_bool($this->get_option('debug', 'no'));
     88            $this->logger      = new WC_Logger(null, $this->debug ? WC_Log_Levels::DEBUG : WC_Log_Levels::INFO);
    8789
    8890            if ($this->testmode) {
     
    9496
    9597            // https://github.com/alexminza/victoriabank-mia-sdk-php/blob/main/src/VictoriabankMia/VictoriabankMiaClient.php
    96             $this->victoriabank_mia_base_url    = $this->testmode ? VictoriabankMiaClient::TEST_BASE_URL : VictoriabankMiaClient::DEFAULT_BASE_URL;
    97             $this->victoriabank_mia_username    = $this->get_option('victoriabank_mia_username');
    98             $this->victoriabank_mia_password    = $this->get_option('victoriabank_mia_password');
    99             $this->victoriabank_mia_certificate = $this->get_option('victoriabank_mia_certificate');
     98            $this->victoriabank_mia_base_url         = $this->testmode ? VictoriabankMiaClient::TEST_BASE_URL : VictoriabankMiaClient::DEFAULT_BASE_URL;
     99            $this->victoriabank_mia_username         = $this->get_option('victoriabank_mia_username');
     100            $this->victoriabank_mia_password         = $this->get_option('victoriabank_mia_password');
     101            $this->victoriabank_mia_certificate      = $this->get_option('victoriabank_mia_certificate');
    100102            $this->victoriabank_mia_creditor_account = $this->get_option('victoriabank_mia_creditor_account');
    101103            $this->victoriabank_mia_company_name     = $this->get_option('victoriabank_mia_company_name');
    102104
    103             $this->init_form_fields();
    104             $this->init_settings();
    105             //endregion
    106 
    107105            if (is_admin()) {
    108106                add_action("woocommerce_update_options_payment_gateways_{$this->id}", array($this, 'process_admin_options'));
    109107            }
     108            //endregion
    110109
    111110            add_action("woocommerce_api_wc_{$this->id}", array($this, 'check_response'));
     
    114113        public function init_form_fields()
    115114        {
     115            $blog_info_name = get_bloginfo('name');
     116
    116117            $this->form_fields = array(
    117118                'enabled'         => array(
     
    126127                    'description' => __('Payment method title that the customer will see during checkout.', 'payment-gateway-wc-victoriabank-mia'),
    127128                    'desc_tip'    => true,
    128                     'default'     => self::MOD_TITLE,
     129                    'default'     => $this->method_title,
     130                    'custom_attributes' => array(
     131                        'required' => 'required',
     132                    ),
    129133                ),
    130134                'description'     => array(
     
    133137                    'description' => __('Payment method description that the customer will see during checkout.', 'payment-gateway-wc-victoriabank-mia'),
    134138                    'desc_tip'    => true,
    135                     'default'     => '',
     139                    'default'     => __('Pay instantly by scanning the QR code using your bank\'s mobile application.', 'payment-gateway-wc-victoriabank-mia'),
    136140                ),
    137141
     
    158162                    /* translators: 1: Example placeholder shown to user, represents Order ID */
    159163                    'description' => __('Format: <code>%1$s</code> - Order ID', 'payment-gateway-wc-victoriabank-mia'),
    160                     'desc_tip'    => __('Order description that the customer will see on the bank payment page.', 'payment-gateway-wc-victoriabank-mia'),
     164                    'desc_tip'    => __('Order description that the customer will see in the app during payment.', 'payment-gateway-wc-victoriabank-mia'),
    161165                    'default'     => self::ORDER_TEMPLATE,
     166                    'custom_attributes' => array(
     167                        'required' => 'required',
     168                        'minlength' => 2,
     169                        'maxlength' => 35,
     170                    ),
    162171                ),
    163172                'transaction_validity'  => array(
    164173                    'title'       => __('Transaction validity', 'payment-gateway-wc-victoriabank-mia'),
    165                     'type'        => 'decimal',
    166                     'description' => __('minutes', 'payment-gateway-wc-victoriabank-mia'),
     174                    'type'        => 'number',
     175                    /* translators: 1: Transaction validity in minutes */
     176                    'description' => sprintf(__('Default: %1$s minutes', 'payment-gateway-wc-victoriabank-mia'), self::DEFAULT_VALIDITY),
     177                    'desc_tip'    => __('QR code validity time in minutes.', 'payment-gateway-wc-victoriabank-mia'),
     178                    'custom_attributes' => array(
     179                        'min'      => self::MIN_VALIDITY,
     180                        'step'     => 1,
     181                        'max'      => self::MAX_VALIDITY,
     182                        'required' => 'required',
     183                    ),
    167184                    'default'     => self::DEFAULT_VALIDITY,
    168185                ),
     
    176193                    'title'       => __('Username', 'payment-gateway-wc-victoriabank-mia'),
    177194                    'type'        => 'text',
     195                    'custom_attributes' => array(
     196                        'required' => 'required',
     197                    ),
    178198                ),
    179199                'victoriabank_mia_password' => array(
    180200                    'title'       => __('Password', 'payment-gateway-wc-victoriabank-mia'),
    181201                    'type'        => 'password',
     202                    'custom_attributes' => array(
     203                        'required' => 'required',
     204                    ),
    182205                ),
    183206                'victoriabank_mia_certificate' => array(
    184207                    'title'       => __('Certificate', 'payment-gateway-wc-victoriabank-mia'),
    185208                    'type'        => 'textarea',
    186                     'description' => __('Victoriabank Public Key Certificate to validate the authenticity of the payment notifications.', 'payment-gateway-wc-victoriabank-mia'),
    187                     'desc_tip'    => true,
     209                    'description' => 'VBCA.crt',
     210                    'desc_tip'    => __('Victoriabank Public Key Certificate to validate the authenticity of the payment notifications.', 'payment-gateway-wc-victoriabank-mia'),
     211                    'placeholder' => "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----",
     212                    'class'       => 'code',
     213                    'custom_attributes' => array(
     214                        'required' => 'required',
     215                    ),
    188216                ),
    189217                'victoriabank_mia_company_name' => array(
    190218                    'title'       => __('Company Name', 'payment-gateway-wc-victoriabank-mia'),
    191219                    'type'        => 'text',
     220                    'description' => $blog_info_name,
     221                    'desc_tip'    => __('Commercial name that the customer will see in the app during payment.', 'payment-gateway-wc-victoriabank-mia'),
     222                    'custom_attributes' => array(
     223                        'required' => 'required',
     224                        'minlength' => 2,
     225                        'maxlength' => 25,
     226                    ),
     227                    'default'     => $blog_info_name,
    192228                ),
    193229                'victoriabank_mia_creditor_account' => array(
     
    195231                    'type'        => 'text',
    196232                    'description' => __('IBAN', 'payment-gateway-wc-victoriabank-mia'),
     233                    'desc_tip'    => __('IBAN account for receiving payments.', 'payment-gateway-wc-victoriabank-mia'),
     234                    'placeholder' => 'MD00XX000000000000000000',
     235                    'custom_attributes' => array(
     236                        'required'  => 'required',
     237                        'minlength' => 24,
     238                        'maxlength' => 24,
     239                        'pattern'   => '^MD.*',
     240                    ),
    197241                ),
    198242
    199243                'payment_notification' => array(
    200244                    'title'       => __('Payment Notification', 'payment-gateway-wc-victoriabank-mia'),
     245                    'type'        => 'title',
    201246                    'description' => sprintf(
    202247                        '%1$s<br /><br /><b>%2$s:</b> <code>%3$s</code>',
     
    205250                        esc_url($this->get_callback_url())
    206251                    ),
    207                     'type'        => 'title',
    208252                ),
    209253            );
     
    245289        }
    246290
     291        //region Settings validation
    247292        protected function check_settings()
    248293        {
    249294            return !empty($this->victoriabank_mia_username)
    250295                && !empty($this->victoriabank_mia_password)
    251                 && !empty($this->victoriabank_mia_certificate);
     296                && $this->validate_certificate($this->victoriabank_mia_certificate)
     297                && !empty($this->victoriabank_mia_company_name)
     298                && $this->validate_iban($this->victoriabank_mia_creditor_account);
    252299        }
    253300
     
    280327        }
    281328
     329        // https://developer.woocommerce.com/docs/extensions/settings-and-config/implementing-settings/
     330        protected function get_settings_field_label($key)
     331        {
     332            $form_fields = $this->get_form_fields();
     333            return $form_fields[$key]['title'];
     334        }
     335
     336        public function validate_required_field($key, $value)
     337        {
     338            if (isset($value) && empty($value)) {
     339                /* translators: 1: Field label */
     340                WC_Admin_Settings::add_error(sprintf(esc_html__('%1$s field must be set.', 'payment-gateway-wc-victoriabank-mia'), $this->get_settings_field_label($key)));
     341            }
     342
     343            return $value;
     344        }
     345
     346        public function validate_order_template_field($key, $value)
     347        {
     348            return $this->validate_required_field($key, $value);
     349        }
     350
     351        public function validate_transaction_validity_field($key, $value)
     352        {
     353            if (isset($value) && !$this->validate_transaction_validity($value)) {
     354                /* translators: 1: Field label, 2: Min value, 3: Max value */
     355                WC_Admin_Settings::add_error(sprintf(esc_html__('%1$s field must be an integer between %2$d and %3$d.', 'payment-gateway-wc-victoriabank-mia'), $this->get_settings_field_label($key), self::MIN_VALIDITY, self::MAX_VALIDITY));
     356            }
     357
     358            return $value;
     359        }
     360
     361        public function validate_victoriabank_mia_username_field($key, $value)
     362        {
     363            return $this->validate_required_field($key, $value);
     364        }
     365
     366        public function validate_victoriabank_mia_password_field($key, $value)
     367        {
     368            return $this->validate_required_field($key, $value);
     369        }
     370
     371        public function validate_victoriabank_mia_certificate_field($key, $value)
     372        {
     373            if (isset($value) && !$this->validate_certificate($value)) {
     374                /* translators: 1: Field label */
     375                WC_Admin_Settings::add_error(sprintf(esc_html__('Invalid %1$s field.', 'payment-gateway-wc-victoriabank-mia'), $this->get_settings_field_label($key)));
     376            }
     377
     378            return $value;
     379        }
     380
     381        public function validate_victoriabank_mia_company_name_field($key, $value)
     382        {
     383            return $this->validate_required_field($key, $value);
     384        }
     385
     386        public function validate_victoriabank_mia_creditor_account_field($key, $value)
     387        {
     388            if (isset($value) && !$this->validate_iban($value)) {
     389                /* translators: 1: Field label */
     390                WC_Admin_Settings::add_error(sprintf(esc_html__('Invalid %1$s field. Must start with MD and have 24 characters.', 'payment-gateway-wc-victoriabank-mia'), $this->get_settings_field_label($key)));
     391            }
     392
     393            return $value;
     394        }
     395
     396        protected function validate_transaction_validity($value)
     397        {
     398            $transaction_validity = intval($value);
     399            return $transaction_validity >= self::MIN_VALIDITY
     400                && $transaction_validity <= self::MAX_VALIDITY;
     401        }
     402
     403        protected function validate_certificate($value)
     404        {
     405            return !empty($value)
     406                && !empty(openssl_pkey_get_public($value));
     407        }
     408
     409        protected function validate_iban($value)
     410        {
     411            return !empty($value)
     412                && strlen($value) === 24
     413                && substr($value, 0, 2) === 'MD';
     414        }
     415
    282416        protected function logs_admin_website_notice()
    283417        {
     
    313447            return $message;
    314448        }
     449        //endregion
    315450
    316451        //region Victoriabank MIA
     
    404539                $auth_token = $this->victoriabank_mia_generate_token($client);
    405540
     541                //region Existing QR
     542                $qr_extension_id = strval($order->get_meta(self::MOD_QR_EXTENSION_ID, true));
     543                $qr_url = strval($order->get_meta(self::MOD_QR_URL, true));
     544
     545                if (!empty($qr_extension_id) && !empty($qr_url)) {
     546                    $qr_extension_status = $client->getQrExtensionStatus($qr_extension_id, $auth_token);
     547
     548                    if (!empty($qr_extension_status)) {
     549                        $qr_extension_status_value = strval($qr_extension_status['status']);
     550                        if (strtolower($qr_extension_status_value) === 'active') {
     551                            $qr_extension_status_ttl = (array) $qr_extension_status['ttl'];
     552                            $qr_extension_status_ttl_length = intval($qr_extension_status_ttl['length']);
     553                            $qr_extension_status_ttl_units = strval($qr_extension_status_ttl['units']);
     554
     555                            $qr_extension_status_ttl_minutes = strtolower($qr_extension_status_ttl_units) === 'mm'
     556                                ? $qr_extension_status_ttl_length
     557                                : intdiv($qr_extension_status_ttl_length, 60);
     558
     559                            if ($qr_extension_status_ttl_minutes >= intdiv($this->transaction_validity, 2)) {
     560                                return array(
     561                                    'result'   => 'success',
     562                                    'redirect' => $qr_url,
     563                                );
     564                            }
     565                        }
     566                    }
     567                }
     568                //endregion
     569
    406570                $create_qr_response = $this->victoriabank_mia_pay(
    407571                    $client,
     
    420584                    $create_qr_response['qrAsImage'] = null;
    421585                }
    422 
    423                 $this->log(self::print_var($create_qr_response));
    424586            } catch (Exception $ex) {
    425587                $this->log(
     
    481643        {
    482644            $request_method = isset($_SERVER['REQUEST_METHOD']) ? sanitize_text_field(wp_unslash($_SERVER['REQUEST_METHOD'])) : '';
    483             if ($request_method === 'GET') {
     645            if ('GET' === $request_method) {
    484646                /* translators: 1: Payment method title */
    485647                $message = sprintf(__('%1$s Callback URL', 'payment-gateway-wc-victoriabank-mia'), $this->method_title);
    486648                return self::return_response(WP_Http::OK, $message);
    487             } elseif ($request_method !== 'POST') {
     649            } elseif ('POST' !== $request_method) {
    488650                return self::return_response(WP_Http::METHOD_NOT_ALLOWED);
    489651            }
     
    606768
    607769            $order = wc_get_order($order_id);
    608             $payment_reference = $order->get_meta(self::MOD_PAYMENT_REFERENCE, true);
     770            $payment_reference = strval($order->get_meta(self::MOD_PAYMENT_REFERENCE, true));
    609771            $transaction_id = VictoriabankMiaClient::getPaymentTransactionId($payment_reference);
    610772            $order_total = $order->get_total();
     
    674836            $orders = wc_get_orders($args);
    675837            $orders_count = count($orders);
    676             if ($orders_count === 1) {
     838            if (1 === $orders_count) {
    677839                return $orders[0];
    678840            } elseif ($orders_count > 1) {
     
    777939        }
    778940
    779         /**
    780          * @param string $message
    781          * @param string $level
    782          * @param array  $additional_context
    783          */
    784         protected static function static_log($message, $level = WC_Log_Levels::DEBUG, $additional_context = null)
    785         {
    786             $log_context = array('source' => self::MOD_ID);
    787             if (!empty($additional_context)) {
    788                 $log_context = array_merge($log_context, $additional_context);
    789             }
    790 
    791             $logger = wc_get_logger();
    792             $logger->log($level, $message, $log_context);
    793         }
    794 
    795         protected static function print_var($expression)
     941        protected function log_var($message, $value)
     942        {
     943            $this->log(
     944                $message,
     945                WC_Log_Levels::DEBUG,
     946                array(
     947                    'value' => self::print_var($value),
     948                )
     949            );
     950        }
     951
     952        protected static function print_var($value)
    796953        {
    797954            // https://woocommerce.github.io/code-reference/namespaces/default.html#function_wc_print_r
    798             return wc_print_r($expression, true);
     955            return wc_print_r($value, true);
    799956        }
    800957
  • payment-gateway-wc-victoriabank-mia/trunk/phpcs.xml

    r3423778 r3424882  
    1313        <properties>
    1414            <property name="text_domain" type="array">
    15                 <element value="wc-victoriabank-mia"/>
     15                <element value="payment-gateway-wc-victoriabank-mia"/>
    1616            </property>
    1717        </properties>
  • payment-gateway-wc-victoriabank-mia/trunk/readme.txt

    r3423778 r3424882  
    44Requires at least: 4.8
    55Tested up to: 6.9
    6 Stable tag: 1.0.1
     6Stable tag: 1.0.2
    77Requires PHP: 7.2.5
    88License: GPLv3 or later
     
    6969See [payment-gateway-wc-victoriabank-mia project releases on GitHub](https://github.com/alexminza/payment-gateway-wc-victoriabank-mia/releases) for details.
    7070
     71= 1.0.2 =
     72Improved QR code generation logic and settings validation.
     73
    7174= 1.0.1 =
    7275Minor improvements.
     
    7780== Upgrade Notice ==
    7881
     82= 1.0.2 =
     83Improved QR code generation logic and settings validation.
     84
    7985= 1.0.1 =
    8086Minor improvements.
Note: See TracChangeset for help on using the changeset viewer.