Commit 84ef4d89 authored by ytsurk's avatar ytsurk Committed by bojanz
Browse files

Issue #3095119 by ytsurk, bojanz: Add translation for administrative area type CANTON

parent cde1f24e
......@@ -6,7 +6,7 @@
"license": "GPL-2.0+",
"require": {
"drupal/core": "^8.7.7 || ^9",
"commerceguys/addressing": "^1.0.0"
"commerceguys/addressing": "^1.0.7"
},
"require-dev": {
"drupal/token": "^1.0"
......
{
"require": {
"commerceguys/addressing": {
"version": "v1.0.6",
"url": "https://github.com/commerceguys/addressing/archive/v1.0.6.zip"
"version": "v1.0.7",
"url": "https://github.com/commerceguys/addressing/archive/v1.0.7.zip"
}
}
}
......@@ -102,6 +102,7 @@ class LabelHelper {
public static function getAdministrativeAreaLabels() {
return [
AdministrativeAreaType::AREA => t('Area', [], ['context' => 'Address label']),
AdministrativeAreaType::CANTON => t('Canton', [], ['context' => 'Address label']),
AdministrativeAreaType::COUNTY => t('County', [], ['context' => 'Address label']),
AdministrativeAreaType::DEPARTMENT => t('Department', [], ['context' => 'Address label']),
AdministrativeAreaType::DISTRICT => t('District', [], ['context' => 'Address label']),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment