Skip to content
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

Translate Templates to Bosnian #920

Merged
merged 5 commits into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions frontend/src/components/templates/bs/lowercase-note.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import Admonition from "../../Admonition";

export default function NoteLowercase({ name = "function" }) {
return (
<Admonition type="warning">
<p>Ovo {name} počinje malim slovom.</p>
</Admonition>
);
}
9 changes: 9 additions & 0 deletions frontend/src/components/templates/bs/npc-callbacks-tip.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import Admonition from "../../Admonition";

export default function TipNpcCallback() {
return (
<Admonition type="tip">
<p>Ovaj callback također može pozvati NPC.</p>
</Admonition>
);
}
18 changes: 18 additions & 0 deletions frontend/src/components/templates/bs/version-warning.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import Admonition from "../../Admonition";

export default function WarningVersion({
version,
name = "function",
}: {
version: string;
name: string;
}) {
return (
<Admonition type="warning">
<p>
Ovo {name} je dodano u {version} i neće raditi u ranijim
verzijama!
</p>
</Admonition>
);
}
7 changes: 7 additions & 0 deletions frontend/src/components/templates/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ import VersionWarnTR from "./tr/version-warning";
import LowercaseNoteTR from "./tr/lowercase-note";
import TipNPCCallbacksTR from "./tr/npc-callbacks-tip";

import VersionWarnBS from "./bs/version-warning";
import LowercaseNoteBS from "./bs/lowercase-note";
import TipNPCCallbacksBS from "./bs/npc-callbacks-tip";

import Image from "./Image";

const templates = {
Expand All @@ -44,6 +48,9 @@ const templates = {
VersionWarnTR,
LowercaseNoteTR,
TipNPCCallbacksTR,
VersionWarnBS,
LowercaseNoteBS,
TipNPCCallbacksBS,
};

export default templates;