Skip to content

Commit

Permalink
Tidy up (#81)
Browse files Browse the repository at this point in the history
* Bump packages

* Tabs > Spaces

* Add test cases
  • Loading branch information
surfinzap authored Nov 1, 2024
1 parent dd288e1 commit 475f1ca
Show file tree
Hide file tree
Showing 47 changed files with 7,197 additions and 7,515 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
root = true

[*]
indent_style = tab
indent_style = space
indent_size = 2
end_of_line = crlf
charset = utf-8
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## 2.5.9 //

### 🔨 Maintenance
- Reorganie the folder structure
- Reorganize the folder structure
- Update NPM packages to their latest versions


Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@
"node": ">=6.9.4"
},
"devDependencies": {
"@babel/cli": "^7.25.7",
"@babel/core": "^7.25.7",
"@babel/preset-env": "^7.25.7",
"@babel/register": "^7.25.7",
"@babel/cli": "^7.25.9",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/register": "^7.25.9",
"babelify": "^10.0.0",
"browser-sync": "^3.0.3",
"browserify": "^17.0.1",
"eslint": "^9.11.1",
"eslint": "^9.13.0",
"gulp": "^5.0.0",
"gulp-babel": "^8.0.0",
"gulp-cli": "^3.0.0",
Expand All @@ -59,7 +59,7 @@
"gulp-uglify": "^3.0.2",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"mocha": "^10.7.3",
"mocha": "^10.8.2",
"vinyl-buffer": "^1.0.1",
"vinyl-source-stream": "^2.0.0"
}
Expand Down
1,693 changes: 687 additions & 1,006 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

50 changes: 25 additions & 25 deletions src/locale/cs.js
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
const quotes = {
leftDoubleQuote : "„",
rightDoubleQuote : "“",
leftSingleQuote : "‚",
rightSingleQuote : "‘",
leftDoubleQuote : "„",
rightDoubleQuote : "“",
leftSingleQuote : "‚",
rightSingleQuote : "‘",
};

const numbers = {
ordinalIndicator : "\\.",
romanOrdinalIndicator : "\\.",
ordinalIndicator : "\\.",
romanOrdinalIndicator : "\\.",
}

const singleWordAbbreviations = [
"č",
"s",
"fol",
"str",
"r",
"par",
"odst",
"např",
"sv",
"tj",
"tzv",
"č",
"s",
"fol",
"str",
"r",
"par",
"odst",
"např",
"sv",
"tj",
"tzv",
]

// Disregard correct spelling in your locale
// and provide abbreviations in format “abbr abbr abbr…”
const multipleWordAbbreviations = [
"hl m",
"n l",
"p n l",
"př n l",
"hl m",
"n l",
"p n l",
"př n l",

]

export default {
quotes,
numbers,
singleWordAbbreviations,
multipleWordAbbreviations
quotes,
numbers,
singleWordAbbreviations,
multipleWordAbbreviations
}
106 changes: 53 additions & 53 deletions src/locale/de-de.js
Original file line number Diff line number Diff line change
@@ -1,70 +1,70 @@
const quotes = {
leftDoubleQuote : "„",
rightDoubleQuote : "“",
leftSingleQuote : "‚",
rightSingleQuote : "‘",
leftDoubleQuote : "„",
rightDoubleQuote : "“",
leftSingleQuote : "‚",
rightSingleQuote : "‘",
};

const numbers = {
ordinalIndicator : "\\.",
romanOrdinalIndicator : "\\.",
ordinalIndicator : "\\.",
romanOrdinalIndicator : "\\.",
}

const singleWordAbbreviations = [
"S",
"z",
"St",
"Stk",
"Mo",
"Di",
"Mi",
"Do",
"Fr",
"Sa",
"So",
"Bhf",
"Hbf",
"Nr",
"ca",
"usw",
"geb",
"gest",
"u"
"S",
"z",
"St",
"Stk",
"Mo",
"Di",
"Mi",
"Do",
"Fr",
"Sa",
"So",
"Bhf",
"Hbf",
"Nr",
"ca",
"usw",
"geb",
"gest",
"u"
]

// Disregard correct spelling in your locale
// and provide abbreviations in format “abbr abbr abbr…”
const multipleWordAbbreviations = [
"b w",
"d h",
"d i",
"e V",
"n Chr",
"s a",
"s o",
"s u",
"u a",
"u ä",
"u Ä",
"u dgl",
"u U",
"u z",
"u zw",
"v a",
"v Chr",
"z B",
"z T",
"z Zt",
"n u Z",
"u a m",
"v u Z",
"Ges m b H",
"b w",
"d h",
"d i",
"e V",
"n Chr",
"s a",
"s o",
"s u",
"u a",
"u ä",
"u Ä",
"u dgl",
"u U",
"u z",
"u zw",
"v a",
"v Chr",
"z B",
"z T",
"z Zt",
"n u Z",
"u a m",
"v u Z",
"Ges m b H",
]


export default {
quotes,
numbers,
singleWordAbbreviations,
multipleWordAbbreviations
quotes,
numbers,
singleWordAbbreviations,
multipleWordAbbreviations
}
38 changes: 19 additions & 19 deletions src/locale/en-us.js
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
const quotes = {
leftDoubleQuote : "“",
rightDoubleQuote : "”",
leftSingleQuote : "‘",
rightSingleQuote : "’",
leftDoubleQuote : "“",
rightDoubleQuote : "”",
leftSingleQuote : "‘",
rightSingleQuote : "’",
};

const numbers = {
ordinalIndicator : "st|nd|rd|th",
romanOrdinalIndicator : "",
ordinalIndicator : "st|nd|rd|th",
romanOrdinalIndicator : "",
}

const singleWordAbbreviations = [
"p",
"pp",
"no",
"vol"
"p",
"pp",
"no",
"vol"
]

// Disregard correct spelling in your locale
// and provide abbreviations in format “abbr abbr abbr…”
const multipleWordAbbreviations = [
"U S",
"e g",
"i e",
"a m",
"p m",
"U S",
"e g",
"i e",
"a m",
"p m",
]

export default {
quotes,
numbers,
singleWordAbbreviations,
multipleWordAbbreviations
quotes,
numbers,
singleWordAbbreviations,
multipleWordAbbreviations
}
48 changes: 24 additions & 24 deletions src/locale/rue.js
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
const quotes = {
leftDoubleQuote : "«",
rightDoubleQuote : "»",
leftSingleQuote : "‹",
rightSingleQuote : "›",
leftDoubleQuote : "«",
rightDoubleQuote : "»",
leftSingleQuote : "‹",
rightSingleQuote : "›",
};

const numbers = {
ordinalIndicator : "\\.",
romanOrdinalIndicator : "\\.",
ordinalIndicator : "\\.",
romanOrdinalIndicator : "\\.",
}

const singleWordAbbreviations = [
"ціт",
"ст",
"канц",
"абз",
"тзв",
"Зб",
"ч",
"напр"
"ціт",
"ст",
"канц",
"абз",
"тзв",
"Зб",
"ч",
"напр"

]

// Disregard correct spelling in your locale
// and provide abbreviations in format “abbr abbr abbr…”
const multipleWordAbbreviations = [
"т зн",
"Е Ч",
"евід ч",
"род ч",
"т ч",
"т д",
"т зн",
"Е Ч",
"евід ч",
"род ч",
"т ч",
"т д",
]

export default {
quotes,
numbers,
singleWordAbbreviations,
multipleWordAbbreviations
quotes,
numbers,
singleWordAbbreviations,
multipleWordAbbreviations
}
Loading

0 comments on commit 475f1ca

Please sign in to comment.