Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix nl_BE translations #2

Merged
merged 2 commits into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Hyvä checkout NL translations
# Hyvä checkout nl_NL and nl_BE translations
This module contains the Dutch translations for the [Hyvä checkout](https://www.hyva.io/hyva-checkout.html) module for [Mage-OS](https://mage-os.org/).

This module includes a fallback for the Dutch language in Belgium (nl_BE) as well.

## Installation
```bash
composer require vendic/hyva-checkout-translations-nl-nl
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"type": "magento2-language",
"autoload": {
"files": [
"src/registration.php"
"src/nl_NL/registration.php",
"src/nl_BE/registration.php"
]
}
}
61 changes: 0 additions & 61 deletions src/nl_BE.csv

This file was deleted.

9 changes: 9 additions & 0 deletions src/nl_BE/language.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<language xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:App/Language/package.xsd">
<code>nl_BE</code>
<vendor>vendic</vendor>
<package>hyva-checkout-nl-be</package>
<sort_order>100</sort_order>
<use vendor="vendic" package="hyva-checkout-nl-nl"/>
</language>
2 changes: 1 addition & 1 deletion src/registration.php → src/nl_BE/registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

ComponentRegistrar::register(
ComponentRegistrar::LANGUAGE,
'vendic_hyva-checkout-nl',
'vendic_hyva-checkout-nl-be',
__DIR__
);
File renamed without changes.
2 changes: 1 addition & 1 deletion src/language.xml → src/nl_NL/language.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
xsi:noNamespaceSchemaLocation="urn:magento:framework:App/Language/package.xsd">
<code>nl_NL</code>
<vendor>vendic</vendor>
<package>hyva-checkout-nl</package>
<package>hyva-checkout-nl-nl</package>
<sort_order>200</sort_order>
</language>
File renamed without changes.
9 changes: 9 additions & 0 deletions src/nl_NL/registration.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

use Magento\Framework\Component\ComponentRegistrar;

ComponentRegistrar::register(
ComponentRegistrar::LANGUAGE,
'vendic_hyva-checkout-nl-nl',
__DIR__
);