From 014ff7d261ab1f5f1ca4cec396e24cec8d672bde Mon Sep 17 00:00:00 2001 From: Mykola Nicholas Date: Wed, 13 Mar 2019 16:39:32 +0300 Subject: [PATCH 1/2] Added new constant to russian language --- src/PhpWord/Style/Language.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/PhpWord/Style/Language.php b/src/PhpWord/Style/Language.php index dd3ed819..98593394 100644 --- a/src/PhpWord/Style/Language.php +++ b/src/PhpWord/Style/Language.php @@ -70,6 +70,9 @@ final class Language extends AbstractStyle const UK_UA = 'uk-UA'; const UK_UA_ID = 1058; + + const RU_RU = 'ru-RU'; + const RU_RU_ID = 1049; /** * Language ID, used for RTF document generation From 8cea3221dcca66a16420eee6966a8f6fd237f70c Mon Sep 17 00:00:00 2001 From: troosan Date: Sun, 31 Mar 2019 13:20:51 +0200 Subject: [PATCH 2/2] remove trailing spaces --- src/PhpWord/Style/Language.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhpWord/Style/Language.php b/src/PhpWord/Style/Language.php index 98593394..18ef8897 100644 --- a/src/PhpWord/Style/Language.php +++ b/src/PhpWord/Style/Language.php @@ -70,7 +70,7 @@ final class Language extends AbstractStyle const UK_UA = 'uk-UA'; const UK_UA_ID = 1058; - + const RU_RU = 'ru-RU'; const RU_RU_ID = 1049;