Skip to content

Commit 7d3bd4a

Browse files
committed
Add Belarusian language support
* Add Belarusian language descriptor Signed-off-by: Olga <137053456+ImenaOphelia@users.noreply.github.com> * Add 'be' language descriptor with preprocessors Signed-off-by: Olga <137053456+ImenaOphelia@users.noreply.github.com> --------- Signed-off-by: Olga <137053456+ImenaOphelia@users.noreply.github.com> <rikaitan.link>YzBhYmI5ZTk4YTE1YWViNmI2ZjhmNmUyZDkxZmU1ZTU0MjQwYjU0YQo=</rikaitan.link>
1 parent cb450d3 commit 7d3bd4a

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

ext/js/language/language-descriptors.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,13 @@ const languageDescriptors = [
114114
},
115115
languageTransforms: arabicTransforms,
116116
},
117+
{
118+
iso: 'be',
119+
iso639_3: 'bel',
120+
name: 'Belarusian',
121+
exampleText: 'чытаць',
122+
textPreprocessors: capitalizationPreprocessors,
123+
},
117124
{
118125
iso: 'bg',
119126
iso639_3: 'bul',

types/ext/language-descriptors.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ type AllTextProcessors = {
9797
convertHaToTaMarbuta: TextProcessor<boolean>;
9898
};
9999
};
100+
be: {
101+
pre: CapitalizationPreprocessors;
102+
};
100103
bg: {
101104
pre: CapitalizationPreprocessors;
102105
};

0 commit comments

Comments
 (0)