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

feat(lang): Add Urdu language support #67

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft
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
2 changes: 1 addition & 1 deletion src/client/i18next-toolkit.config.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @type {import('@i18next-toolkit/cli').I18nextToolkitConfig} */
const config = {
locales: ['en', 'zh', 'jp', 'fr', 'de', 'pl', 'pt', 'ru'],
locales: ['en', 'zh', 'jp', 'fr', 'de', 'pl', 'pt', 'ru', 'ur'],
verbose: true,
namespaces: ['translation'],
translator: {
Expand Down
310 changes: 310 additions & 0 deletions src/client/public/locales/ur/translation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,310 @@
{
"k10336b1": "Nothing more to load",
"k10c85f27": "Ignore TLS Error",
"k112a7174": "Usage",
"k1192dd43": "Please Select Workspace",
"k11d3633a": "ID",
"k11e887ab": "Is delete this item?",
"k11f09c87": "views",
"k1286421": "Username",
"k134e0d97": "Current",
"k13507cf4": "Add Survey",
"k139b5f9a": "Vistor Map",
"k14c6c425": "Result",
"k158336d6": "Request Timeout(s)",
"k1598e726": "current visitor",
"k15ae36a6": "Browser",
"k16c8909f": "Display Name",
"k172a09c3": "Suggestions",
"k1777bbf2": "Manual",
"k186365b3": "{{monitorName}}'s Chart",
"k1964b988": "Stop",
"k1bd89236": "run reporter with",
"k1c33c293": "Settings",
"k1eb5b3ed": "Overview",
"k20edf271": "24h",
"k21077124": "Edit",
"k2264aac": "This year",
"k246063be": "Chat ID",
"k2497052e": "Chart",
"k25b3dc00": "Script JS Code",
"k264de775": "Loading more...",
"k26535370": "Email",
"k277e2626": "Available",
"k28059d49": "Current Workspace Id",
"k2813d1f7": "This Month",
"k2a6a7d8f": "DOWN",
"k2b1255ec": "Example code",
"k2b2d40d4": "Test Code",
"k2b463d4b": "Are you sure you want to do this?",
"k2b4b1284": "Webhook URL",
"k2b605d42": "More",
"k2cecf817": "Type",
"k2dad13e3": "Language",
"k2e6dbf02": "To Email",
"k2ea8a019": "Monitor",
"k30b5f01b": "Workspaces",
"k30e234ee": "You have not dashboard item yet, please enter edit mode and add you item.",
"k310fee": "Last 30 days",
"k32344f64": "Clear Data",
"k3260f019": "Logout",
"k340547f0": "Sorry, but something went wrong",
"k3471e956": "New Password Repeat",
"k34981fea": "Docker is adrift at sea, unable to find its way. Please start Docker to get back on course.",
"k34f2290b": "Survey Name to Display",
"k3542f88c": "Telemetry name: {{name}} | events: {{num}}",
"k37b57158": "Trending Mode",
"k3834d1a6": "Add Page",
"k389db675": "Submit",
"k38c62888": "Please select monitor",
"k3bda65c8": "Advanced Mode",
"k3cedb797": "Security",
"k3d1822c5": "Confirm action",
"k3d3baf52": "average visit time",
"k3dbe79b1": "Delete",
"k3de768a1": "Change password",
"k3df6240e": "Custom Domain",
"k3e53a1e9": "Survey name: {{name}} | data count: {{num}}",
"k3e757ddf": "Here is no monitor yet.",
"k3e8b13f8": "Join Discord",
"k3f36e17e": "Follow Twitter",
"k406e9ad8": "Confirm",
"k42347b91": "Website Event Count",
"k42831fc1": "Add Telemetry",
"k43e21ee9": "Download Client Reportor",
"k44186b66": "Count",
"k44cad477": "(Current)",
"k46f0adde": "Visitor Map",
"k47f43dbc": "{{monitorName}}'s Health",
"k47fe1f95": "Add this example code into your project",
"k48186ce": "Back to Homepage",
"k4905ed7b": "NONE",
"k490ada32": "Add Website",
"k49e5f1d2": "1w",
"k4a369f75": "It will permanently delete the relevant data",
"k4ac4dd36": "Referrers",
"k4c5eeff6": "Select",
"k4de48e75": "Max Retries",
"k4e08cf58": "Show Detail Number",
"k4eea9393": "Profile",
"k4fc2b5b": "Image",
"k4fe1b4de": "Telemetry",
"k506a90b2": "Your server domain, or ip.",
"k517747e1": "Last 24 hours",
"k51bac044": "Cancel",
"k53ae02a5": "New",
"k542b527c": "Events",
"k54419e3e": "Docker in running in this server",
"k56b4c80c": "Theme",
"k58267a45": "Source",
"k58f90514": "Bot Token",
"k593cf342": "Did you sure delete this monitor?",
"k5a839f71": "Uptime",
"k5eb87a8b": "Start",
"k5ec0de4": "For HTTPS monitoring, if any notification method is assigned, notifications will be sent at 1, 3, 7 and 14 days before expiration.",
"k5ecf04b0": "View",
"k6067f0ff": "Ignore TLS/SSL error",
"k611549c6": "Country or Region",
"k621317b5": "New page",
"k6252fdff": "State",
"k62e19375": "Last updated at: {{date}}",
"k646a3a80": "{{monitorName}}'s Metrics",
"k659b065": "For example: https://open.feishu.cn/open-apis/bot/v2/hook/00000000-0000-0000-0000-000000000000",
"k67c5a895": "Yesterday",
"k683be220": "Run",
"k691b7170": "Stopped",
"k6acf5248": "Recent",
"k6b36580f": "Apprise URL",
"k6bc9e414": "Login",
"k6e96fc3": "Form Info",
"k6ea11aff": "Get!",
"k6f15bcc3": "Host",
"k721589c1": "Today",
"k7350bd93": "At the same time, we can also use it in some client-side application scenarios, such as collecting the frequency of cli usage, such as collecting the installation of selfhosted apps, and so on.",
"k74a240": "Health Bar",
"k75581e13": "CC",
"k75bfaaa6": "Add this code into your website head script",
"k763816ac": "Preview",
"k784dd132": "Test",
"k7927b824": "Are you sure to clear all offline node?",
"k7a132ce8": "Sorry, but this page is not found",
"k7ac44a6e": "Session Key",
"k7b74a43f": "visitors",
"k7c95e6a5": "Did you sure delete this page?",
"k7cac602a": "Status",
"k7f01b47c": "Audit Log",
"k7f29bae5": "pageview",
"k7f4bcf6b": "Monitors",
"k8037cc6b": "Servers",
"k816ce026": "Download",
"k819633bc": "Use for storage",
"k8202c669": "Visitors",
"k845abd5b": "Next step",
"k84ce1618": "(24 hour)",
"k85344b23": "Load",
"k85c5fd4c": "No any monitor has been set",
"k873c90e6": "Display Label",
"k8746ec38": "Select monitor",
"k87615a96": "Confirm to delete this page?",
"k87cffe9f": "Confirm to delete this survey?",
"k887ae5cd": "Create",
"k88a9bf01": "Show Badge",
"k88d2647b": "Website",
"k89056082": "(30 days)",
"k899fd0cd": "ports",
"k89d54f7a": "Monitor Execution Count",
"k8a44833f": "Services",
"k8bac6ae0": "6h",
"k8ef56a20": "Maximum retries before the service is marked as down and a notification is sent",
"k8f8fbf6": "Share with...",
"k8ff3a55a": "Warning",
"k9022468f": "Clear Offline",
"k90873752": "Old Password",
"k90a82c67": "Register Account",
"k90aa60ff": "Pick a date",
"k90b668e5": "Last 24 Hours",
"k93374bc9": "Delete Website",
"k951a939a": "Website Accepted Count",
"k97ddb155": "Show Current Response",
"k98f433ee": "Download reporter from",
"k9991c290": "Community",
"k9a272ecf": "Is this your servers?",
"k9a3cc801": "Accept characters",
"k9add1fac": "Traffic",
"k9bb908f9": "Text",
"k9be2209c": "Website Name to Display",
"k9e32beea": "online",
"k9e759f8": "Notification List",
"k9f89304e": "Update",
"k9fa794aa": "Website Name",
"ka0051b3d": "Domain",
"ka0ddbfb": "Website Info",
"ka2b9bc3c": "Previous period",
"ka2fae1c6": "User Id",
"ka349cb17": "No results found.",
"ka388d3bf": "You can bind a monitor which will display health status in website overview",
"ka3a22795": "Telemetry Name",
"ka40aea11": "Or you wanna report server status in windows server? switch to Manual tab",
"ka44150a0": "Last 90 days",
"ka68f2242": "Register",
"ka6ee7455": "Website ID",
"ka71c12e1": "The two passwords are not consistent",
"ka765ad32": "Notification",
"ka7fe5937": "Disk read/write",
"ka8e41156": "Search and quick jump",
"ka9d081ac": "Check Interval(s)",
"kaa0788e9": "Layout saved success",
"kaa0ccaab": "From Email",
"kaadb73f3": "Light",
"kaaf39eca": "Survey",
"kab56db46": "Heartbeats",
"kab662431": "Path",
"kabd2be3b": "Copied into clipboard!",
"kacbdae07": "Avg. Response",
"kad9ea10d": "Confirm to delete this telemetry: [{{name}}]",
"kadef6c48": "Previous {{label}}",
"kaf39be20": "Network",
"kb01f4f95": "Done",
"kb0e351e0": "Refreshed",
"kb15a6374": "You can config your status page in your own domain, for example: status.example.com",
"kb320aac4": "Monitored for {{dayNum}} days",
"kb35cde91": "Search",
"kb5673707": "Last 7 days",
"kb659c1bc": "Cert Exp.",
"kb8de8c50": "BCC",
"kbb31d3db": "Statistic Date",
"kbb4e12c5": "Dark",
"kbb58c99c": "Delete Success",
"kbcf67f53": "New Password",
"kbd1e7dee": "Usage: {{usage}}ms",
"kbd425e0e": "updatedAt",
"kc00cf2c7": "This will show your recent result of your monitor",
"kc0c6a913": "Node Name",
"kc1f1f6c9": "Notification Type",
"kc45a417b": "OS",
"kc4910af7": "Change Password",
"kc4ab7848": "Clear Offline Node",
"kc4e91854": "Are you sure want to delete all heartbeats for this monitor?",
"kc5573507": "Add",
"kc5e6293a": "Survey Name",
"kc5f82d53": "For example: pushdeer://pushKey",
"kc6888ac4": "Auto",
"kc6cac621": "(None)",
"kc70d69ad": "Response",
"kc9b446d1": "Run Completed",
"kcacbfde1": "Create Now",
"kcaf5c873": "Actions",
"kcb8fd4ce": "No server online",
"kcbc00b39": "Select your date range",
"kcc3b034e": "Url",
"kcc50957": "Add new Monitor",
"kccaa732a": "No consecutive dashes",
"kccb42483": "Password",
"kd031b383": "Views",
"kd044d5d4": "session",
"kd1f7e695": "Confirm to logout",
"kd211e2d4": "Releases Page",
"kd3262a4a": "Config",
"kd3396544": "Generally, we will use a one-pixel blank image so that it will not affect the user's normal use.",
"kd37efb26": "Notifications",
"kd46ab159": "No events",
"kd7279fa6": "Code",
"kd7985726": "{{num}} users",
"kd92fa3e7": "Host Name",
"kdaa949e5": "{{monitorName}}'s Events",
"kdb61adbb": "Hide Offline",
"kdc51b5db": "Websites",
"kdd44ac01": "Telemetry Name to Display",
"kdd55936a": "Resolver Port",
"kde37bc27": "Back to Admin",
"kde657d5b": "Dashboard",
"kdeba7706": "Devices",
"kdeecbfea": "Resolver Server",
"kdf5da1d2": "None / STARTTLS",
"kdf97690e": "Countries",
"ke188f24b": "bounce rate",
"ke1b5ca71": "Pages",
"ke20a92c7": "Resouce Record Type",
"ke2fe505b": "This week",
"ke349bd66": "Confirm to delete this telemetry?",
"ke3a3f2f2": "Port",
"ke46232fe": "Add Server",
"ke5b015e9": "You can get a token from https://t.me/BotFather.",
"ke6797c65": "You can get your chat ID by sending a message to the bot and going to this URL to view the chat_id",
"ke8a4e98f": "Show All",
"ke9ada492": "Y Axis will not start from zero",
"ke9d2fef3": "This month",
"ke9dcaa64": "Not found any notification",
"kea954889": "Continue",
"keaf7576f": "Title",
"keb78cff1": "Description",
"ked37937b": "Metrics",
"ked7eea1a": "UP",
"ked8814bc": "Copy",
"kedc13103": "Memory",
"kedc69eb6": "Tracking code",
"kef701e50": "Add Monitor",
"kefa8c37": "Created At",
"kefe27782": "Telemetry is a technology that reports access data even on pages that are not under your control. As long as the other website allows the insertion of third-party images (e.g., forums, blogs, and various rich-text editors), then the data can be collected and used to analyze the images when they are loaded by the user.",
"kf19c917a": "Not any website has been exist",
"kf1d60bfc": "Waiting for receive report pack",
"kf22813ad": "Custom",
"kf3b749ef": "Support Direct Chat / Group / Channel's Chat ID",
"kf55495e0": "Save",
"kf5bbb568": "'s visitor map",
"kf6bc1610": "Monitor Type",
"kf6db9ea5": "3h",
"kf7878d19": "Website Overview",
"kf7d5dbf8": "Read more",
"kf85b9b7d": "Type a command or search...",
"kf8a5d26d": "Add Website Now",
"kf94a5800": "Download survey data with csv for further use.",
"kf97b6f71": "Run this command in your linux machine",
"kf9877f28": "View Details",
"kfc98929b": "{{num}} days",
"kfd33c459": "Copy success!",
"kfdaf0bb3": "Last online: {{time}}",
"kfe11d138": "Name",
"kfedb6cd8": "Are you sure want to delete all events for this monitor?",
"kff849f78": "Auto Fetch"
}
4 changes: 4 additions & 0 deletions src/client/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,8 @@ export const languages = [
label: '简体中文',
key: 'zh',
},
{
label: 'Urdu',
key: 'ur',
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think adhering to alphabetical order is a good choice

];