diff --git a/src/app/page.tsx b/src/app/page.tsx index f132c2f..26f00a4 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,4 +1,5 @@ import type { Metadata } from "next"; +import Link from "next/link"; import PublicPreviewWrapper from "@/uhm/components/preview/PublicPreviewWrapper"; export const metadata: Metadata = { @@ -27,10 +28,10 @@ export default function Page() { {/* Header (SSR & SEO) */}
@@ -43,9 +44,9 @@ export default function Page() {

Tính năng chính bao gồm: - - Xem bản đồ lịch sử theo dòng thời gian (Timeline). - - Trình phát diễn biến lịch sử và chiến trận (Replay). - - Tra cứu thông tin sự kiện lịch sử (Wiki & Entities). + - Xem bản đồ lịch sử theo dòng thời gian. + - Trình phát diễn biến lịch sử và chiến trận. + - Tra cứu thông tin sự kiện lịch sử.

@@ -55,7 +56,7 @@ export default function Page() { {/* Footer (SSR & SEO) */} ); diff --git a/src/uhm/components/Map.tsx b/src/uhm/components/Map.tsx index c168846..77e728a 100644 --- a/src/uhm/components/Map.tsx +++ b/src/uhm/components/Map.tsx @@ -333,7 +333,7 @@ const Map = memo(forwardRef(function Map({ }} >
- Map khong khoi tao duoc + Không khởi tạo được bản đồ
{fatalInitError} @@ -478,8 +478,8 @@ const Map = memo(forwardRef(function Map({
diff --git a/src/uhm/components/preview/GeometrySelectionPanel.tsx b/src/uhm/components/preview/GeometrySelectionPanel.tsx index 88a3c57..43f067f 100644 --- a/src/uhm/components/preview/GeometrySelectionPanel.tsx +++ b/src/uhm/components/preview/GeometrySelectionPanel.tsx @@ -83,7 +83,7 @@ export default function GeometrySelectionPanel({ color: "#94a3b8", }} > - Geometry + Hình bản đồ
- Chọn entity để zoom + Chọn thực thể để phóng tới
{wikiSlug ? (
x @@ -234,7 +234,7 @@ export default function GeometrySelectionPanel({
) : (
- Wiki này chưa có entity hoặc geometry liên quan. + Wiki này chưa có thực thể hoặc hình bản đồ liên quan.
)} diff --git a/src/uhm/components/preview/MapPlaceholder.tsx b/src/uhm/components/preview/MapPlaceholder.tsx index 05705a9..f09e405 100644 --- a/src/uhm/components/preview/MapPlaceholder.tsx +++ b/src/uhm/components/preview/MapPlaceholder.tsx @@ -28,7 +28,7 @@ export default function MapPlaceholder({ onEnter }: MapPlaceholderProps) { {/* eslint-disable-next-line @next/next/no-img-element */} Map Background - hiện dự án chỉ đang hỗ trợ người dùng máy tính, các phiên bản di động hiên không ổn định + Hiện dự án chỉ hỗ trợ tốt trên máy tính; phiên bản di động chưa ổn định.

diff --git a/src/uhm/components/preview/PreviewLayout.tsx b/src/uhm/components/preview/PreviewLayout.tsx index f69d5d1..1702257 100644 --- a/src/uhm/components/preview/PreviewLayout.tsx +++ b/src/uhm/components/preview/PreviewLayout.tsx @@ -186,7 +186,7 @@ const PreviewLayout = forwardRef(({ ) { return null; } - return `Stage #${replayPreviewActiveCursor.stageId} · Step ${replayPreviewActiveCursor.stepIndex + 1}`; + return `Cảnh #${replayPreviewActiveCursor.stageId} · Bước ${replayPreviewActiveCursor.stepIndex + 1}`; }, [replayPreviewActiveCursor.stageId, replayPreviewActiveCursor.stepIndex]); // Active wiki snapshot diff --git a/src/uhm/components/preview/PreviewMapShell.tsx b/src/uhm/components/preview/PreviewMapShell.tsx index a052275..22ad7a3 100644 --- a/src/uhm/components/preview/PreviewMapShell.tsx +++ b/src/uhm/components/preview/PreviewMapShell.tsx @@ -300,12 +300,12 @@ export default function PreviewMapShell({ type="button" onClick={() => { if (isMobileOrTablet) { - alert("Tính năng quản trị và chỉnh sửa chỉ hỗ trợ trên máy tính (Desktop)"); + alert("Tính năng quản trị và chỉnh sửa chỉ hỗ trợ trên máy tính."); } else { window.location.href = "/user"; } }} - title={isMobileOrTablet ? "Tính năng này chỉ hoạt động trên Desktop" : "Quản trị & Chỉnh sửa (Edit)"} + title={isMobileOrTablet ? "Tính năng này chỉ hoạt động trên máy tính" : "Quản trị và chỉnh sửa"} style={{ ...menuOptionStyle, opacity: isMobileOrTablet ? 0.5 : 1, @@ -349,7 +349,7 @@ export default function PreviewMapShell({ {onPlayPreviewReplay ? ( @@ -1307,11 +1307,11 @@ function PublicMapZoomPanel({ type="button" onClick={onPlayPreviewReplay} className="uhm-public-play-btn" - aria-label="Play selected replay" - title="Play replay cua geometry dang chon" + aria-label="Phát diễn biến đã chọn" + title="Phát diễn biến của hình đang chọn" >