-
-
Notifications
You must be signed in to change notification settings - Fork 218
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
Add czech lang #886
Merged
Merged
Add czech lang #886
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
8204e7a
chore(i18n): add czech (cs) language
ivan-mihalic 1682d3e
chore(i18n): add czech (cs) language
ivan-mihalic 4c1be2e
chore(i18n): fix typos and translation meaning
ivan-mihalic f4180f9
Merge branch 'main' into add-czech-lang
fabian-hiller 8395edf
Add Czech (cs) translations to various files
fabian-hiller File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
import type { Language } from './types'; | ||
|
||
// prettier-ignore | ||
const language: Language = { | ||
code: 'cs', | ||
schema: (issue) => `Neplatný typ: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
specific: { | ||
base64: (issue) => `Neplatný Base64: Obdrženo ${issue.received}`, | ||
bic: (issue) => `Neplatný BIC: Obdrženo ${issue.received}`, | ||
bytes: (issue) => `Neplatné bajty: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
check: (issue) => `Neplatný vstup: Obdrženo ${issue.received}`, | ||
checkAsync: (issue) => `Neplatný vstup: Obdrženo ${issue.received}`, | ||
checkItems: (issue) => `Neplatná položka: Obdrženo ${issue.received}`, | ||
creditCard: (issue) => `Neplatná hodnota kreditní karty: Obdrženo ${issue.received}`, | ||
cuid2: (issue) => `Neplatné Cuid2: Obdrženo ${issue.received}`, | ||
decimal: (issue) => `Neplatné desetinné číslo: Obdrženo ${issue.received}`, | ||
digits: (issue) => `Neplatné číslice: Obdrženo ${issue.received}`, | ||
email: (issue) => `Neplatný email: Obdrženo ${issue.received}`, | ||
emoji: (issue) => `Neplatné emoji: Obdrženo ${issue.received}`, | ||
empty: (issue) => `Neplatná délka: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
endsWith: (issue) => `Neplatný konec: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
everyItem: (issue) => `Neplatná položka: Obdrženo ${issue.received}`, | ||
excludes: (issue) => `Neplatný obsah: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
finite: (issue) => `Neplatné konečné číslo: Obdrženo ${issue.received}`, | ||
hash: (issue) => `Neplatný hash: Obdrženo ${issue.received}`, | ||
hexColor: (issue) => `Neplatná hexadecimální barva: Obdrženo ${issue.received}`, | ||
hexadecimal: (issue) => `Neplatné hexadecimální číslo: Obdrženo ${issue.received}`, | ||
imei: (issue) => `Neplatné IMEI: Obdrženo ${issue.received}`, | ||
includes: (issue) => `Neplatný obsah: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
integer: (issue) => `Neplatné celé číslo: Obdrženo ${issue.received}`, | ||
ip: (issue) => `Neplatná IP adresa: Obdrženo ${issue.received}`, | ||
ipv4: (issue) => `Neplatná IPv4 adresa: Obdrženo ${issue.received}`, | ||
ipv6: (issue) => `Neplatná IPv6 adresa: Obdrženo ${issue.received}`, | ||
isoDate: (issue) => `Neplatné datum: Obdrženo ${issue.received}`, | ||
isoDateTime: (issue) => `Neplatné datum a čas: Obdrženo ${issue.received}`, | ||
isoTime: (issue) => `Neplatný čas: Očekáváno "hh:mm", ale obdrženo ${issue.received}`, | ||
isoTimeSecond: (issue) => `Neplatný čas: Očekáváno "hh:mm:ss", ale obdrženo ${issue.received}`, | ||
isoTimestamp: (issue) => `Neplatný časový údaj: Očekáván ISO 8601 formát, ale obdrženo ${issue.received}`, | ||
isoWeek: (issue) => `Neplatný týden: Obdrženo ${issue.received}`, | ||
length: (issue) => `Neplatná délka: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
mac: (issue) => `Neplatná MAC adresa: Obdrženo ${issue.received}`, | ||
mac48: (issue) => `Neplatná 48-bitová MAC adresa: Obdrženo ${issue.received}`, | ||
mac64: (issue) => `Neplatná 64-bitová MAC adresa: Obdrženo ${issue.received}`, | ||
maxBytes: (issue) => `Překočena maximální v bajtech (bytes): Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
ivan-mihalic marked this conversation as resolved.
Show resolved
Hide resolved
|
||
maxLength: (issue) => `Překočena maximální délka: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
maxSize: (issue) => `Překočena maximální velikost: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
maxValue: (issue) => `Překočena maximální hodnota: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
ivan-mihalic marked this conversation as resolved.
Show resolved
Hide resolved
|
||
mimeType: (issue) => `Neplatný MIME typ: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
minBytes: (issue) => `Nedostatečná minimální délka: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
minLength: (issue) => `Nedostatečná minimální délka: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
minSize: (issue) => `Nedostatečná minimální velikost: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
minValue: (issue) => `Nedostatečná minimální hodnota: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
multipleOf: (issue) => `Neplatný násobek: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
nanoid: (issue) => `Neplatné Nano ID: Obdrženo ${issue.received}`, | ||
nonEmpty: (issue) => `Nedostatečná délka: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
notBytes: (issue) => `Nedostatečná minimální délka (bytes): Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
notLength: (issue) => `Nedostatečná délka: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
notSize: (issue) => `Nedostatečná minimální velikost: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
notValue: (issue) => `Nedostatečná minimální hodnota: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
octal: (issue) => `Neplatné osmičkové číslo: Obdrženo ${issue.received}`, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does it make sense to use "osmičkové" when "hexadecimální" is used? Wouldn't "oktalové" make more sense? |
||
partialCheck: (issue) => `Neplatný vstup: Obdrženo ${issue.received}`, | ||
regex: (issue) => `Neplatný formát: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
safeInteger: (issue) => `Neplatné bezpečné celé číslo: Obdrženo ${issue.received}`, | ||
size: (issue) => `Neplatná velikost: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
someItem: (issue) => `Neplatná položka: Obdrženo ${issue.received}`, | ||
startsWith: (issue) => `Neplatný začátek: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What about "Neplatny zacatek textu"? |
||
ulid: (issue) => `Neplatné ULID: Obdrženo ${issue.received}`, | ||
url: (issue) => `Neplatná URL: Obdrženo ${issue.received}`, | ||
uuid: (issue) => `Neplatné UUID: Obdrženo ${issue.received}`, | ||
value: (issue) => `Neplatná hodnota: Očekáváno ${issue.expected}, ale obdrženo ${issue.received}`, | ||
}, | ||
}; | ||
|
||
export default language; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ export type Language = { | |
code: | ||
| 'ar' | ||
| 'ca' | ||
| 'cs' | ||
| 'de' | ||
| 'en' | ||
| 'es' | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about "neplatný konec textu"?