chore(release): automatic release v1.4.0
This commit is contained in:
@@ -32,7 +32,4 @@ DB_URL='FULL_PATH_TO_YOUR_SQLITE_DB_FILE'
|
|||||||
# If it is used, please use the full path to the directory where the certificates are stored.
|
# If it is used, please use the full path to the directory where the certificates are stored.
|
||||||
# LOCAL_CERTIFICATE_PATH='FULL_PATH_TO_CERTIFICATES'
|
# LOCAL_CERTIFICATE_PATH='FULL_PATH_TO_CERTIFICATES'
|
||||||
|
|
||||||
TURBO_TELEMETRY_DISABLED=1
|
TURBO_TELEMETRY_DISABLED=1
|
||||||
|
|
||||||
# Configure logging to use winston logger
|
|
||||||
NODE_OPTIONS='-r @homarr/log/override'
|
|
||||||
1
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
1
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@@ -31,6 +31,7 @@ body:
|
|||||||
label: Version
|
label: Version
|
||||||
description: What version of Homarr are you running?
|
description: What version of Homarr are you running?
|
||||||
options:
|
options:
|
||||||
|
- 1.3.1
|
||||||
- 1.3.0
|
- 1.3.0
|
||||||
- 1.2.0
|
- 1.2.0
|
||||||
- 1.1.0
|
- 1.1.0
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ ENV DB_URL='/appdata/db/db.sqlite'
|
|||||||
ENV DB_DIALECT='sqlite'
|
ENV DB_DIALECT='sqlite'
|
||||||
ENV DB_DRIVER='better-sqlite3'
|
ENV DB_DRIVER='better-sqlite3'
|
||||||
ENV AUTH_PROVIDERS='credentials'
|
ENV AUTH_PROVIDERS='credentials'
|
||||||
|
ENV NODE_ENV='production'
|
||||||
|
|
||||||
ENTRYPOINT [ "/app/entrypoint.sh" ]
|
ENTRYPOINT [ "/app/entrypoint.sh" ]
|
||||||
CMD ["sh", "run.sh"]
|
CMD ["sh", "run.sh"]
|
||||||
@@ -51,9 +51,9 @@
|
|||||||
"@million/lint": "1.0.14",
|
"@million/lint": "1.0.14",
|
||||||
"@t3-oss/env-nextjs": "^0.12.0",
|
"@t3-oss/env-nextjs": "^0.12.0",
|
||||||
"@tabler/icons-react": "^3.29.0",
|
"@tabler/icons-react": "^3.29.0",
|
||||||
"@tanstack/react-query": "^5.65.1",
|
"@tanstack/react-query": "^5.66.0",
|
||||||
"@tanstack/react-query-devtools": "^5.65.1",
|
"@tanstack/react-query-devtools": "^5.66.0",
|
||||||
"@tanstack/react-query-next-experimental": "^5.65.1",
|
"@tanstack/react-query-next-experimental": "^5.66.0",
|
||||||
"@trpc/client": "next",
|
"@trpc/client": "next",
|
||||||
"@trpc/next": "next",
|
"@trpc/next": "next",
|
||||||
"@trpc/react-query": "next",
|
"@trpc/react-query": "next",
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
"dotenv": "^16.4.7",
|
"dotenv": "^16.4.7",
|
||||||
"flag-icons": "^7.3.2",
|
"flag-icons": "^7.3.2",
|
||||||
"glob": "^11.0.1",
|
"glob": "^11.0.1",
|
||||||
"jotai": "^2.11.1",
|
"jotai": "^2.11.2",
|
||||||
"mantine-react-table": "2.0.0-beta.8",
|
"mantine-react-table": "2.0.0-beta.8",
|
||||||
"next": "15.1.6",
|
"next": "15.1.6",
|
||||||
"postcss-preset-mantine": "^1.17.0",
|
"postcss-preset-mantine": "^1.17.0",
|
||||||
@@ -86,12 +86,12 @@
|
|||||||
"@homarr/eslint-config": "workspace:^0.2.0",
|
"@homarr/eslint-config": "workspace:^0.2.0",
|
||||||
"@homarr/prettier-config": "workspace:^0.1.0",
|
"@homarr/prettier-config": "workspace:^0.1.0",
|
||||||
"@homarr/tsconfig": "workspace:^0.1.0",
|
"@homarr/tsconfig": "workspace:^0.1.0",
|
||||||
"@types/chroma-js": "3.1.0",
|
"@types/chroma-js": "3.1.1",
|
||||||
"@types/node": "^22.12.0",
|
"@types/node": "^22.12.0",
|
||||||
"@types/prismjs": "^1.26.5",
|
"@types/prismjs": "^1.26.5",
|
||||||
"@types/react": "19.0.8",
|
"@types/react": "19.0.8",
|
||||||
"@types/react-dom": "19.0.3",
|
"@types/react-dom": "19.0.3",
|
||||||
"@types/swagger-ui-react": "^4.19.0",
|
"@types/swagger-ui-react": "^5.18.0",
|
||||||
"concurrently": "^9.1.2",
|
"concurrently": "^9.1.2",
|
||||||
"eslint": "^9.19.0",
|
"eslint": "^9.19.0",
|
||||||
"node-loader": "^2.1.0",
|
"node-loader": "^2.1.0",
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ import superjson from "superjson";
|
|||||||
import type { SuperJSONResult } from "superjson";
|
import type { SuperJSONResult } from "superjson";
|
||||||
|
|
||||||
import type { AppRouter } from "@homarr/api";
|
import type { AppRouter } from "@homarr/api";
|
||||||
import { clientApi, getTrpcUrl } from "@homarr/api/client";
|
import { clientApi } from "@homarr/api/client";
|
||||||
import { createHeadersCallbackForSource } from "@homarr/api/shared";
|
import { createHeadersCallbackForSource, getTrpcUrl } from "@homarr/api/shared";
|
||||||
|
|
||||||
import { env } from "~/env";
|
import { env } from "~/env";
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import "~/styles/gridstack.scss";
|
|||||||
import { IntegrationProvider } from "@homarr/auth/client";
|
import { IntegrationProvider } from "@homarr/auth/client";
|
||||||
import { auth } from "@homarr/auth/next";
|
import { auth } from "@homarr/auth/next";
|
||||||
import { getIntegrationsWithPermissionsAsync } from "@homarr/auth/server";
|
import { getIntegrationsWithPermissionsAsync } from "@homarr/auth/server";
|
||||||
|
import { isNullOrWhitespace } from "@homarr/common";
|
||||||
import { getI18n } from "@homarr/translation/server";
|
import { getI18n } from "@homarr/translation/server";
|
||||||
|
|
||||||
import { createMetaTitle } from "~/metadata";
|
import { createMetaTitle } from "~/metadata";
|
||||||
@@ -48,11 +49,13 @@ export const createBoardContentPage = <TParams extends Record<string, unknown>>(
|
|||||||
return {
|
return {
|
||||||
title: board.metaTitle ?? createMetaTitle(t("board.content.metaTitle", { boardName: board.name })),
|
title: board.metaTitle ?? createMetaTitle(t("board.content.metaTitle", { boardName: board.name })),
|
||||||
icons: {
|
icons: {
|
||||||
icon: board.faviconImageUrl ?? undefined,
|
icon: !isNullOrWhitespace(board.faviconImageUrl) ? board.faviconImageUrl : undefined,
|
||||||
apple: board.faviconImageUrl ?? undefined,
|
apple: !isNullOrWhitespace(board.faviconImageUrl) ? board.faviconImageUrl : undefined,
|
||||||
},
|
},
|
||||||
appleWebApp: {
|
appleWebApp: {
|
||||||
startupImage: { url: board.faviconImageUrl ?? "/logo/logo.png" },
|
startupImage: {
|
||||||
|
url: !isNullOrWhitespace(board.faviconImageUrl) ? board.faviconImageUrl : "/logo/logo.png",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import { fetchRequestHandler } from "@trpc/server/adapters/fetch";
|
import { fetchRequestHandler } from "@trpc/server/adapters/fetch";
|
||||||
|
|
||||||
import { appRouter, createTRPCContext } from "@homarr/api";
|
import { appRouter, createTRPCContext } from "@homarr/api";
|
||||||
|
import { trpcPath } from "@homarr/api/shared";
|
||||||
import { auth } from "@homarr/auth/next";
|
import { auth } from "@homarr/auth/next";
|
||||||
import { logger } from "@homarr/log";
|
import { logger } from "@homarr/log";
|
||||||
|
|
||||||
@@ -25,7 +26,7 @@ export function OPTIONS() {
|
|||||||
|
|
||||||
const handler = auth(async (req) => {
|
const handler = auth(async (req) => {
|
||||||
const response = await fetchRequestHandler({
|
const response = await fetchRequestHandler({
|
||||||
endpoint: "/api/trpc",
|
endpoint: trpcPath,
|
||||||
router: appRouter,
|
router: appRouter,
|
||||||
req,
|
req,
|
||||||
createContext: () => createTRPCContext({ session: req.auth, headers: req.headers }),
|
createContext: () => createTRPCContext({ session: req.auth, headers: req.headers }),
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { createTRPCClient, httpLink } from "@trpc/client";
|
|||||||
import SuperJSON from "superjson";
|
import SuperJSON from "superjson";
|
||||||
|
|
||||||
import type { AppRouter } from "@homarr/api";
|
import type { AppRouter } from "@homarr/api";
|
||||||
import { createHeadersCallbackForSource } from "@homarr/api/shared";
|
import { createHeadersCallbackForSource, getTrpcUrl } from "@homarr/api/shared";
|
||||||
import { createI18nMiddleware } from "@homarr/translation/middleware";
|
import { createI18nMiddleware } from "@homarr/translation/middleware";
|
||||||
|
|
||||||
export async function middleware(request: NextRequest) {
|
export async function middleware(request: NextRequest) {
|
||||||
@@ -34,7 +34,7 @@ export const config = {
|
|||||||
export const serverFetchApi = createTRPCClient<AppRouter>({
|
export const serverFetchApi = createTRPCClient<AppRouter>({
|
||||||
links: [
|
links: [
|
||||||
httpLink({
|
httpLink({
|
||||||
url: `http://${process.env.HOSTNAME ?? "localhost"}:3000/api/trpc`,
|
url: getTrpcUrl(),
|
||||||
transformer: SuperJSON,
|
transformer: SuperJSON,
|
||||||
headers: createHeadersCallbackForSource("server-fetch"),
|
headers: createHeadersCallbackForSource("server-fetch"),
|
||||||
}),
|
}),
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { createTRPCReact } from "@trpc/react-query";
|
|||||||
import SuperJSON from "superjson";
|
import SuperJSON from "superjson";
|
||||||
|
|
||||||
import type { AppRouter } from ".";
|
import type { AppRouter } from ".";
|
||||||
import { createHeadersCallbackForSource } from "./shared";
|
import { createHeadersCallbackForSource, getTrpcUrl } from "./shared";
|
||||||
|
|
||||||
export const clientApi = createTRPCReact<AppRouter>();
|
export const clientApi = createTRPCReact<AppRouter>();
|
||||||
export const fetchApi = createTRPCClient<AppRouter>({
|
export const fetchApi = createTRPCClient<AppRouter>({
|
||||||
@@ -17,16 +17,3 @@ export const fetchApi = createTRPCClient<AppRouter>({
|
|||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
||||||
function getBaseUrl() {
|
|
||||||
if (typeof window !== "undefined") return window.location.origin;
|
|
||||||
return `http://localhost:${process.env.PORT ?? 3000}`;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates the full url for the trpc api endpoint
|
|
||||||
* @returns
|
|
||||||
*/
|
|
||||||
export function getTrpcUrl() {
|
|
||||||
return `${getBaseUrl()}/api/trpc`;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import { createTRPCRouter, publicProcedure } from "../../trpc";
|
|||||||
export const weatherRouter = createTRPCRouter({
|
export const weatherRouter = createTRPCRouter({
|
||||||
atLocation: publicProcedure.input(validation.widget.weather.atLocationInput).query(async ({ input }) => {
|
atLocation: publicProcedure.input(validation.widget.weather.atLocationInput).query(async ({ input }) => {
|
||||||
const res = await fetchWithTimeout(
|
const res = await fetchWithTimeout(
|
||||||
`https://api.open-meteo.com/v1/forecast?latitude=${input.latitude}&longitude=${input.longitude}&daily=weathercode,temperature_2m_max,temperature_2m_min¤t_weather=true&timezone=auto`,
|
`https://api.open-meteo.com/v1/forecast?latitude=${input.latitude}&longitude=${input.longitude}&daily=weathercode,temperature_2m_max,temperature_2m_min,sunrise,sunset,wind_speed_10m_max,wind_gusts_10m_max¤t_weather=true&timezone=auto`,
|
||||||
);
|
);
|
||||||
const json: unknown = await res.json();
|
const json: unknown = await res.json();
|
||||||
const weather = await validation.widget.weather.atLocationOutput.parseAsync(json);
|
const weather = await validation.widget.weather.atLocationOutput.parseAsync(json);
|
||||||
@@ -18,6 +18,10 @@ export const weatherRouter = createTRPCRouter({
|
|||||||
weatherCode: weather.daily.weathercode[index] ?? 404,
|
weatherCode: weather.daily.weathercode[index] ?? 404,
|
||||||
maxTemp: weather.daily.temperature_2m_max[index],
|
maxTemp: weather.daily.temperature_2m_max[index],
|
||||||
minTemp: weather.daily.temperature_2m_min[index],
|
minTemp: weather.daily.temperature_2m_min[index],
|
||||||
|
sunrise: weather.daily.sunrise[index],
|
||||||
|
sunset: weather.daily.sunset[index],
|
||||||
|
maxWindSpeed: weather.daily.wind_speed_10m_max[index],
|
||||||
|
maxWindGusts: weather.daily.wind_gusts_10m_max[index],
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -36,3 +36,18 @@ async function importCookiesAsync() {
|
|||||||
.map(({ name, value }) => `${name}=${value}`)
|
.map(({ name, value }) => `${name}=${value}`)
|
||||||
.join(";");
|
.join(";");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function getBaseUrl() {
|
||||||
|
if (typeof window !== "undefined") return window.location.origin;
|
||||||
|
return `http://${process.env.HOSTNAME ?? "localhost"}:3000`;
|
||||||
|
}
|
||||||
|
|
||||||
|
export const trpcPath = "/api/trpc";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates the full url for the trpc api endpoint
|
||||||
|
* @returns
|
||||||
|
*/
|
||||||
|
export function getTrpcUrl() {
|
||||||
|
return `${getBaseUrl()}${trpcPath}`;
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
export const capitalize = <T extends string>(str: T) => {
|
export const capitalize = <T extends string>(str: T) => {
|
||||||
return (str.charAt(0).toUpperCase() + str.slice(1)) as Capitalize<T>;
|
return (str.charAt(0).toUpperCase() + str.slice(1)) as Capitalize<T>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const isNullOrWhitespace = (value: string | null): value is null => {
|
||||||
|
return value == null || value.trim() === "";
|
||||||
|
};
|
||||||
|
|||||||
@@ -47,8 +47,8 @@
|
|||||||
"@testcontainers/mysql": "^10.17.2",
|
"@testcontainers/mysql": "^10.17.2",
|
||||||
"better-sqlite3": "^11.8.1",
|
"better-sqlite3": "^11.8.1",
|
||||||
"dotenv": "^16.4.7",
|
"dotenv": "^16.4.7",
|
||||||
"drizzle-kit": "^0.30.3",
|
"drizzle-kit": "^0.30.4",
|
||||||
"drizzle-orm": "^0.39.0",
|
"drizzle-orm": "^0.39.1",
|
||||||
"drizzle-zod": "^0.7.0",
|
"drizzle-zod": "^0.7.0",
|
||||||
"mysql2": "3.12.0"
|
"mysql2": "3.12.0"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -77,6 +77,8 @@ const optionMapping: OptionMapping = {
|
|||||||
forecastDayCount: (oldOptions) => oldOptions.forecastDays,
|
forecastDayCount: (oldOptions) => oldOptions.forecastDays,
|
||||||
hasForecast: (oldOptions) => oldOptions.displayWeekly,
|
hasForecast: (oldOptions) => oldOptions.displayWeekly,
|
||||||
isFormatFahrenheit: (oldOptions) => oldOptions.displayInFahrenheit,
|
isFormatFahrenheit: (oldOptions) => oldOptions.displayInFahrenheit,
|
||||||
|
disableTemperatureDecimals: () => undefined,
|
||||||
|
showCurrentWindSpeed: () => undefined,
|
||||||
location: (oldOptions) => oldOptions.location,
|
location: (oldOptions) => oldOptions.location,
|
||||||
showCity: (oldOptions) => oldOptions.displayCityName,
|
showCity: (oldOptions) => oldOptions.displayCityName,
|
||||||
dateFormat: (oldOptions) => (oldOptions.dateFormat === "hide" ? undefined : oldOptions.dateFormat),
|
dateFormat: (oldOptions) => (oldOptions.dateFormat === "hide" ? undefined : oldOptions.dateFormat),
|
||||||
|
|||||||
@@ -22,8 +22,10 @@
|
|||||||
},
|
},
|
||||||
"prettier": "@homarr/prettier-config",
|
"prettier": "@homarr/prettier-config",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@homarr/certificates": "workspace:^0.1.0",
|
||||||
"@homarr/common": "workspace:^0.1.0",
|
"@homarr/common": "workspace:^0.1.0",
|
||||||
"@homarr/log": "workspace:^0.1.0"
|
"@homarr/log": "workspace:^0.1.0",
|
||||||
|
"pretty-print-error": "^1.1.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@homarr/eslint-config": "workspace:^0.2.0",
|
"@homarr/eslint-config": "workspace:^0.2.0",
|
||||||
|
|||||||
@@ -1,13 +1,34 @@
|
|||||||
import { extractErrorMessage, fetchWithTimeout } from "@homarr/common";
|
import { formatError } from "pretty-print-error";
|
||||||
|
import type { fetch } from "undici";
|
||||||
|
|
||||||
|
import { fetchWithTrustedCertificatesAsync } from "@homarr/certificates/server";
|
||||||
import { logger } from "@homarr/log";
|
import { logger } from "@homarr/log";
|
||||||
|
|
||||||
export const sendPingRequestAsync = async (url: string) => {
|
export const sendPingRequestAsync = async (url: string) => {
|
||||||
try {
|
try {
|
||||||
return await fetchWithTimeout(url).then((response) => ({ statusCode: response.status }));
|
return await fetchWithTimeoutAndCertificates(url).then((response) => ({ statusCode: response.status }));
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
logger.error("packages/ping/src/index.ts:", error);
|
logger.error("packages/ping/src/index.ts:", formatError(error));
|
||||||
return {
|
return {
|
||||||
error: extractErrorMessage(error),
|
error: formatError(error),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Same as fetch, but with a timeout of 10 seconds.
|
||||||
|
* Also respects certificates.
|
||||||
|
* https://stackoverflow.com/questions/46946380/fetch-api-request-timeout
|
||||||
|
* @param param0 fetch arguments
|
||||||
|
* @returns fetch response
|
||||||
|
*/
|
||||||
|
export const fetchWithTimeoutAndCertificates = (...[url, requestInit]: Parameters<typeof fetch>) => {
|
||||||
|
const controller = new AbortController();
|
||||||
|
|
||||||
|
// 10 seconds timeout:
|
||||||
|
const timeoutId = setTimeout(() => controller.abort(), 10000);
|
||||||
|
|
||||||
|
return fetchWithTrustedCertificatesAsync(url, { signal: controller.signal, ...requestInit }).finally(() => {
|
||||||
|
clearTimeout(timeoutId);
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
"@mantine/hooks": "^7.16.2",
|
"@mantine/hooks": "^7.16.2",
|
||||||
"@mantine/spotlight": "^7.16.2",
|
"@mantine/spotlight": "^7.16.2",
|
||||||
"@tabler/icons-react": "^3.29.0",
|
"@tabler/icons-react": "^3.29.0",
|
||||||
"jotai": "^2.11.1",
|
"jotai": "^2.11.2",
|
||||||
"next": "15.1.6",
|
"next": "15.1.6",
|
||||||
"react": "19.0.0",
|
"react": "19.0.0",
|
||||||
"react-dom": "19.0.0",
|
"react-dom": "19.0.0",
|
||||||
|
|||||||
3247
packages/translation/src/lang/ca.json
Normal file
3247
packages/translation/src/lang/ca.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": "华氏温度"
|
"label": "华氏温度"
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "天气位置"
|
"label": "天气位置"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": "日期应该是什么样的"
|
"description": "日期应该是什么样的"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "晴朗",
|
"clear": "晴朗",
|
||||||
"mainlyClear": "晴朗为主",
|
"mainlyClear": "晴朗为主",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": "Teplota ve Fahrenheitech"
|
"label": "Teplota ve Fahrenheitech"
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "Lokalita pro počasí"
|
"label": "Lokalita pro počasí"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": "Jak by datum mělo vypadat"
|
"description": "Jak by datum mělo vypadat"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "Jasno",
|
"clear": "Jasno",
|
||||||
"mainlyClear": "Převážně jasno",
|
"mainlyClear": "Převážně jasno",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": "Temperatur i Fahrenheit"
|
"label": "Temperatur i Fahrenheit"
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": "Deaktiver temperaturdecimaler"
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "Vis aktuel vindhastighed",
|
||||||
|
"description": "Kun på nuværende vejr"
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "Vejr lokation"
|
"label": "Vejr lokation"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": "Hvordan datoen skal se ud"
|
"description": "Hvordan datoen skal se ud"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "{currentWindSpeed} km/t",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "Solopgang",
|
||||||
|
"sunset": "Solnedgang",
|
||||||
|
"maxWindSpeed": "Maks. vindhastighed: {maxWindSpeed} km/t",
|
||||||
|
"maxWindGusts": "Maks. vindstød {maxWindGusts} km/t"
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "Skyfrit",
|
"clear": "Skyfrit",
|
||||||
"mainlyClear": "Hovedsageligt skyfrit",
|
"mainlyClear": "Hovedsageligt skyfrit",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": "Temperatur in Fahrenheit"
|
"label": "Temperatur in Fahrenheit"
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "Wetterstandort"
|
"label": "Wetterstandort"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": "Wie das Datum aussehen sollte"
|
"description": "Wie das Datum aussehen sollte"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "Klar",
|
"clear": "Klar",
|
||||||
"mainlyClear": "Überwiegend klar",
|
"mainlyClear": "Überwiegend klar",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "Τοποθεσία καιρού"
|
"label": "Τοποθεσία καιρού"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": ""
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "Καθαρός",
|
"clear": "Καθαρός",
|
||||||
"mainlyClear": "Κυρίως καθαρός",
|
"mainlyClear": "Κυρίως καθαρός",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": "Temperature in Fahrenheit"
|
"label": "Temperature in Fahrenheit"
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": "Disable temperature decimals"
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "Show current wind speed",
|
||||||
|
"description": "Only on current weather"
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "Weather location"
|
"label": "Weather location"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": "How the date should look like"
|
"description": "How the date should look like"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "{currentWindSpeed} km/h",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "Sunrise",
|
||||||
|
"sunset": "Sunset",
|
||||||
|
"maxWindSpeed": "Max wind speed: {maxWindSpeed} km/h",
|
||||||
|
"maxWindGusts": "Max wind gusts: {maxWindGusts} km/h"
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "Clear",
|
"clear": "Clear",
|
||||||
"mainlyClear": "Mainly clear",
|
"mainlyClear": "Mainly clear",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "Ubicación"
|
"label": "Ubicación"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": ""
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "Despejado",
|
"clear": "Despejado",
|
||||||
"mainlyClear": "Mayormente despejado",
|
"mainlyClear": "Mayormente despejado",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": ""
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "",
|
"clear": "",
|
||||||
"mainlyClear": "",
|
"mainlyClear": "",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "Lieu de la météo"
|
"label": "Lieu de la météo"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": ""
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "Clair",
|
"clear": "Clair",
|
||||||
"mainlyClear": "Principalement clair",
|
"mainlyClear": "Principalement clair",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": "טמפרטורה בפרנהייט"
|
"label": "טמפרטורה בפרנהייט"
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "מיקום מזג האוויר"
|
"label": "מיקום מזג האוויר"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": "איך צריך להיראות התאריך"
|
"description": "איך צריך להיראות התאריך"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "בהיר",
|
"clear": "בהיר",
|
||||||
"mainlyClear": "בהיר בעיקר",
|
"mainlyClear": "בהיר בעיקר",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "Lokacija vremenske prognoze"
|
"label": "Lokacija vremenske prognoze"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": ""
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "Vedro",
|
"clear": "Vedro",
|
||||||
"mainlyClear": "Uglavnom vedro",
|
"mainlyClear": "Uglavnom vedro",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "Időjárás helye"
|
"label": "Időjárás helye"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": "Hogyan nézzen ki a dátum"
|
"description": "Hogyan nézzen ki a dátum"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "Tiszta",
|
"clear": "Tiszta",
|
||||||
"mainlyClear": "Főként tiszta",
|
"mainlyClear": "Főként tiszta",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "Località meteo"
|
"label": "Località meteo"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": ""
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "Sereno",
|
"clear": "Sereno",
|
||||||
"mainlyClear": "Per lo più sereno",
|
"mainlyClear": "Per lo più sereno",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "天候の場所"
|
"label": "天候の場所"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": ""
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "クリア",
|
"clear": "クリア",
|
||||||
"mainlyClear": "主なクリア事項",
|
"mainlyClear": "主なクリア事項",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "날씨 위치"
|
"label": "날씨 위치"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": ""
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "맑음",
|
"clear": "맑음",
|
||||||
"mainlyClear": "대체로 맑음",
|
"mainlyClear": "대체로 맑음",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": ""
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "",
|
"clear": "",
|
||||||
"mainlyClear": "",
|
"mainlyClear": "",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "Laikapstākļu atrašānās vieta"
|
"label": "Laikapstākļu atrašānās vieta"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": ""
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "Skaidrs",
|
"clear": "Skaidrs",
|
||||||
"mainlyClear": "Galvenokārt skaidrs",
|
"mainlyClear": "Galvenokārt skaidrs",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": "Temperatuur in fahrenheit"
|
"label": "Temperatuur in fahrenheit"
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "Weerlocatie"
|
"label": "Weerlocatie"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": "Hoe de datum eruit moet zien"
|
"description": "Hoe de datum eruit moet zien"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "Wissen",
|
"clear": "Wissen",
|
||||||
"mainlyClear": "Overwegend helder",
|
"mainlyClear": "Overwegend helder",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": "Temperatur i Fahrenheit"
|
"label": "Temperatur i Fahrenheit"
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "Vær plassering"
|
"label": "Vær plassering"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": "Hvordan datoen skal se ut"
|
"description": "Hvordan datoen skal se ut"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "Tøm",
|
"clear": "Tøm",
|
||||||
"mainlyClear": "Klar himmel",
|
"mainlyClear": "Klar himmel",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": "Temperatura w Fahrenheit"
|
"label": "Temperatura w Fahrenheit"
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "Lokalizacja pogody"
|
"label": "Lokalizacja pogody"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": "Jak powinna wyglądać data"
|
"description": "Jak powinna wyglądać data"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "Bezchmurnie",
|
"clear": "Bezchmurnie",
|
||||||
"mainlyClear": "Częściowe zachmurzenie",
|
"mainlyClear": "Częściowe zachmurzenie",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "Localização do tempo"
|
"label": "Localização do tempo"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": ""
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "Limpar",
|
"clear": "Limpar",
|
||||||
"mainlyClear": "Principalmente claro",
|
"mainlyClear": "Principalmente claro",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "Locație meteo"
|
"label": "Locație meteo"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": ""
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "Senin",
|
"clear": "Senin",
|
||||||
"mainlyClear": "Parțial noros",
|
"mainlyClear": "Parțial noros",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": "Температура в градусах Фаренгейта"
|
"label": "Температура в градусах Фаренгейта"
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "Местоположение"
|
"label": "Местоположение"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": "Как должна отображаться дата"
|
"description": "Как должна отображаться дата"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "Ясно",
|
"clear": "Ясно",
|
||||||
"mainlyClear": "Преимущественно ясно",
|
"mainlyClear": "Преимущественно ясно",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": "Teplota vo stupňoch Fahrenheita"
|
"label": "Teplota vo stupňoch Fahrenheita"
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "Poloha počasia"
|
"label": "Poloha počasia"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": "Ako by mal dátum vyzerať"
|
"description": "Ako by mal dátum vyzerať"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "Jasno",
|
"clear": "Jasno",
|
||||||
"mainlyClear": "Prevažne jasno",
|
"mainlyClear": "Prevažne jasno",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "Lokacija vremena"
|
"label": "Lokacija vremena"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": ""
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "Počisti",
|
"clear": "Počisti",
|
||||||
"mainlyClear": "Večinoma jasno",
|
"mainlyClear": "Večinoma jasno",
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "Plats för väder"
|
"label": "Plats för väder"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": ""
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "Klart",
|
"clear": "Klart",
|
||||||
"mainlyClear": "Främst klart",
|
"mainlyClear": "Främst klart",
|
||||||
|
|||||||
@@ -153,10 +153,10 @@
|
|||||||
"label": "Pingler İçin Simgeler Kullanın"
|
"label": "Pingler İçin Simgeler Kullanın"
|
||||||
},
|
},
|
||||||
"defaultSearchEngine": {
|
"defaultSearchEngine": {
|
||||||
"label": ""
|
"label": "Öntanımlı arama motoru"
|
||||||
},
|
},
|
||||||
"openSearchInNewTab": {
|
"openSearchInNewTab": {
|
||||||
"label": ""
|
"label": "Arama sonucunu yeni sekmede aç"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
@@ -219,10 +219,10 @@
|
|||||||
"changeSearchPreferences": {
|
"changeSearchPreferences": {
|
||||||
"notification": {
|
"notification": {
|
||||||
"success": {
|
"success": {
|
||||||
"message": ""
|
"message": "Arama tercihleri başarıyla değiştirildi"
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"message": ""
|
"message": "Arama tercihleri değiştirilemiyor"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": "Fahrenheit cinsinden sıcaklık"
|
"label": "Fahrenheit cinsinden sıcaklık"
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": "Sıcaklık ondalıklarını devre dışı bırak"
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "Mevcut rüzgar hızını göster",
|
||||||
|
"description": "Yalnızca mevcut hava durumunda"
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "Hava durumu konumu"
|
"label": "Hava durumu konumu"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": "Tarihin nasıl görüneceği"
|
"description": "Tarihin nasıl görüneceği"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "{currentWindSpeed} km/s",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "Gün Doğumu",
|
||||||
|
"sunset": "Gün Batımı",
|
||||||
|
"maxWindSpeed": "Maks. Rüzgar Hızı: {maxWindSpeed} km/s",
|
||||||
|
"maxWindGusts": "Maks. Rüzgar Hamlesi: {maxWindGusts} km/h"
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "Temiz",
|
"clear": "Temiz",
|
||||||
"mainlyClear": "Genel olarak açık",
|
"mainlyClear": "Genel olarak açık",
|
||||||
@@ -2287,7 +2301,7 @@
|
|||||||
"mobile": "Mobil"
|
"mobile": "Mobil"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"search": "",
|
"search": "Ara",
|
||||||
"firstDayOfWeek": "Haftanın ilk günü",
|
"firstDayOfWeek": "Haftanın ilk günü",
|
||||||
"accessibility": "Erişilebilirlik"
|
"accessibility": "Erişilebilirlik"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -153,10 +153,10 @@
|
|||||||
"label": "Використовувати значки для ping"
|
"label": "Використовувати значки для ping"
|
||||||
},
|
},
|
||||||
"defaultSearchEngine": {
|
"defaultSearchEngine": {
|
||||||
"label": ""
|
"label": "Стандартна система пошуку"
|
||||||
},
|
},
|
||||||
"openSearchInNewTab": {
|
"openSearchInNewTab": {
|
||||||
"label": ""
|
"label": "Відкрити результати пошуку в новій вкладці"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
@@ -222,7 +222,7 @@
|
|||||||
"message": ""
|
"message": ""
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"message": ""
|
"message": "Не вдалося змінити налаштування пошуку"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": "Температура за Фаренгейтом"
|
"label": "Температура за Фаренгейтом"
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "Погодна локація"
|
"label": "Погодна локація"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": ""
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "Ясно",
|
"clear": "Ясно",
|
||||||
"mainlyClear": "Здебільшого ясно",
|
"mainlyClear": "Здебільшого ясно",
|
||||||
@@ -1575,8 +1589,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"mediaServer": {
|
"mediaServer": {
|
||||||
"name": "",
|
"name": "Поточні потоки медіасервера",
|
||||||
"description": "",
|
"description": "Показує поточні потоки з ваших медіасерверів",
|
||||||
"option": {},
|
"option": {},
|
||||||
"items": {
|
"items": {
|
||||||
"user": "Користувач",
|
"user": "Користувач",
|
||||||
@@ -1674,7 +1688,7 @@
|
|||||||
},
|
},
|
||||||
"state": {
|
"state": {
|
||||||
"columnTitle": "Стан",
|
"columnTitle": "Стан",
|
||||||
"detailsTitle": ""
|
"detailsTitle": "Стан"
|
||||||
},
|
},
|
||||||
"time": {
|
"time": {
|
||||||
"columnTitle": "Час завершення",
|
"columnTitle": "Час завершення",
|
||||||
@@ -1682,7 +1696,7 @@
|
|||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"columnTitle": "Тип",
|
"columnTitle": "Тип",
|
||||||
"detailsTitle": ""
|
"detailsTitle": "Тип клієнта"
|
||||||
},
|
},
|
||||||
"upSpeed": {
|
"upSpeed": {
|
||||||
"columnTitle": "Віддача",
|
"columnTitle": "Віддача",
|
||||||
@@ -1696,10 +1710,10 @@
|
|||||||
"completed": "Завершено",
|
"completed": "Завершено",
|
||||||
"failed": "Невдало",
|
"failed": "Невдало",
|
||||||
"processing": "В обробці",
|
"processing": "В обробці",
|
||||||
"leeching": "",
|
"leeching": "Завантажується",
|
||||||
"stalled": "",
|
"stalled": "",
|
||||||
"unknown": "Невідомо",
|
"unknown": "Невідомо",
|
||||||
"seeding": ""
|
"seeding": "Роздається"
|
||||||
},
|
},
|
||||||
"actions": {
|
"actions": {
|
||||||
"clients": {
|
"clients": {
|
||||||
@@ -1828,7 +1842,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rssFeed": {
|
"rssFeed": {
|
||||||
"name": "",
|
"name": "RSS-канали",
|
||||||
"description": "",
|
"description": "",
|
||||||
"option": {
|
"option": {
|
||||||
"feedUrls": {
|
"feedUrls": {
|
||||||
@@ -2079,20 +2093,20 @@
|
|||||||
"rename": {
|
"rename": {
|
||||||
"label": "Перейменувати дошку",
|
"label": "Перейменувати дошку",
|
||||||
"description": "",
|
"description": "",
|
||||||
"button": "",
|
"button": "Змінити назву",
|
||||||
"modal": {
|
"modal": {
|
||||||
"title": ""
|
"title": "Перейменувати дошку"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"visibility": {
|
"visibility": {
|
||||||
"label": "",
|
"label": "Змінити видимість дошки",
|
||||||
"description": {
|
"description": {
|
||||||
"public": "",
|
"public": "Ця дошка є загальнодоступною.",
|
||||||
"private": ""
|
"private": "Ця дошка є приватною."
|
||||||
},
|
},
|
||||||
"button": {
|
"button": {
|
||||||
"public": "",
|
"public": "Зробити приватною",
|
||||||
"private": ""
|
"private": "Зробити загальнодоступною"
|
||||||
},
|
},
|
||||||
"confirm": {
|
"confirm": {
|
||||||
"public": {
|
"public": {
|
||||||
@@ -2281,13 +2295,13 @@
|
|||||||
"item": {
|
"item": {
|
||||||
"language": "Мова та Регіон",
|
"language": "Мова та Регіон",
|
||||||
"board": {
|
"board": {
|
||||||
"title": "",
|
"title": "Домашня дошка",
|
||||||
"type": {
|
"type": {
|
||||||
"general": "",
|
"general": "",
|
||||||
"mobile": ""
|
"mobile": "Мобільна"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"search": "",
|
"search": "Пошук",
|
||||||
"firstDayOfWeek": "Перший день тижня",
|
"firstDayOfWeek": "Перший день тижня",
|
||||||
"accessibility": "Доступність"
|
"accessibility": "Доступність"
|
||||||
}
|
}
|
||||||
@@ -2304,11 +2318,11 @@
|
|||||||
"title": "Користувачі"
|
"title": "Користувачі"
|
||||||
},
|
},
|
||||||
"edit": {
|
"edit": {
|
||||||
"metaTitle": ""
|
"metaTitle": "Редагувати користувача {username}"
|
||||||
},
|
},
|
||||||
"create": {
|
"create": {
|
||||||
"metaTitle": "Створити користувача",
|
"metaTitle": "Створити користувача",
|
||||||
"title": "",
|
"title": "Створити нового користувача",
|
||||||
"step": {
|
"step": {
|
||||||
"personalInformation": {
|
"personalInformation": {
|
||||||
"label": ""
|
"label": ""
|
||||||
@@ -2317,23 +2331,23 @@
|
|||||||
"label": "Безпека"
|
"label": "Безпека"
|
||||||
},
|
},
|
||||||
"groups": {
|
"groups": {
|
||||||
"label": "",
|
"label": "Групи",
|
||||||
"title": "",
|
"title": "Виберіть усі групи, учасником яких має бути користувач",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
"review": {
|
"review": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
"completed": {
|
"completed": {
|
||||||
"title": ""
|
"title": "Користувача створено"
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"title": ""
|
"title": "Не вдалося створити користувача"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
"createAnother": "",
|
"createAnother": "Створити іншого користувача",
|
||||||
"back": ""
|
"back": "Повернутися до списку користувачів"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"invite": {
|
"invite": {
|
||||||
@@ -2371,23 +2385,23 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"group": {
|
"group": {
|
||||||
"back": "",
|
"back": "Назад до груп",
|
||||||
"setting": {
|
"setting": {
|
||||||
"general": {
|
"general": {
|
||||||
"title": "Загальне",
|
"title": "Загальне",
|
||||||
"owner": "Власник",
|
"owner": "Власник",
|
||||||
"ownerOfGroup": "",
|
"ownerOfGroup": "Власник цієї групи",
|
||||||
"ownerOfGroupDeleted": ""
|
"ownerOfGroupDeleted": "Власника цієї групи видалено. Наразі не має власника."
|
||||||
},
|
},
|
||||||
"members": {
|
"members": {
|
||||||
"title": "",
|
"title": "Учасники",
|
||||||
"search": "",
|
"search": "Знайти учасника",
|
||||||
"notFound": ""
|
"notFound": "Учасників не знайдено"
|
||||||
},
|
},
|
||||||
"permissions": {
|
"permissions": {
|
||||||
"title": "",
|
"title": "Дозволи",
|
||||||
"form": {
|
"form": {
|
||||||
"unsavedChanges": ""
|
"unsavedChanges": "У вас є незбережені зміни!"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2477,7 +2491,7 @@
|
|||||||
},
|
},
|
||||||
"tool": {
|
"tool": {
|
||||||
"tasks": {
|
"tasks": {
|
||||||
"title": "",
|
"title": "Завдання",
|
||||||
"status": {
|
"status": {
|
||||||
"idle": "",
|
"idle": "",
|
||||||
"running": "Запущено",
|
"running": "Запущено",
|
||||||
@@ -2485,13 +2499,13 @@
|
|||||||
},
|
},
|
||||||
"job": {
|
"job": {
|
||||||
"minecraftServerStatus": {
|
"minecraftServerStatus": {
|
||||||
"label": ""
|
"label": "Статус сервера Minecraft"
|
||||||
},
|
},
|
||||||
"iconsUpdater": {
|
"iconsUpdater": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
"analytics": {
|
"analytics": {
|
||||||
"label": ""
|
"label": "Аналітика"
|
||||||
},
|
},
|
||||||
"smartHomeEntityState": {
|
"smartHomeEntityState": {
|
||||||
"label": ""
|
"label": ""
|
||||||
@@ -2591,7 +2605,7 @@
|
|||||||
"table": {
|
"table": {
|
||||||
"updated": "Оновлено {when}",
|
"updated": "Оновлено {when}",
|
||||||
"search": "",
|
"search": "",
|
||||||
"selected": ""
|
"selected": "Вибрано {selectCount} із {totalCount} контейнерів"
|
||||||
},
|
},
|
||||||
"field": {
|
"field": {
|
||||||
"name": {
|
"name": {
|
||||||
@@ -2852,25 +2866,25 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"integration": {
|
"integration": {
|
||||||
"title": ""
|
"title": "Інтеграції"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"command": {
|
"command": {
|
||||||
"help": "",
|
"help": "Активувати командний режим",
|
||||||
"group": {
|
"group": {
|
||||||
"localCommand": {
|
"localCommand": {
|
||||||
"title": ""
|
"title": "Локальні команди"
|
||||||
},
|
},
|
||||||
"globalCommand": {
|
"globalCommand": {
|
||||||
"title": "",
|
"title": "",
|
||||||
"option": {
|
"option": {
|
||||||
"colorScheme": {
|
"colorScheme": {
|
||||||
"light": "",
|
"light": "Перемикнути на світлу тему",
|
||||||
"dark": ""
|
"dark": "Перемикнути на темну тему"
|
||||||
},
|
},
|
||||||
"language": {
|
"language": {
|
||||||
"label": "",
|
"label": "Змінити мову",
|
||||||
"children": {
|
"children": {
|
||||||
"detail": {
|
"detail": {
|
||||||
"title": ""
|
"title": ""
|
||||||
@@ -2881,53 +2895,53 @@
|
|||||||
"label": "Створити нову дошку"
|
"label": "Створити нову дошку"
|
||||||
},
|
},
|
||||||
"importBoard": {
|
"importBoard": {
|
||||||
"label": ""
|
"label": "Імпортувати дошку"
|
||||||
},
|
},
|
||||||
"newApp": {
|
"newApp": {
|
||||||
"label": ""
|
"label": "Створити новий додаток"
|
||||||
},
|
},
|
||||||
"newIntegration": {
|
"newIntegration": {
|
||||||
"label": "",
|
"label": "Створити нову інтеграцію",
|
||||||
"children": {
|
"children": {
|
||||||
"detail": {
|
"detail": {
|
||||||
"title": ""
|
"title": "Виберіть тип інтеграції, який потрібно створити"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"newUser": {
|
"newUser": {
|
||||||
"label": ""
|
"label": "Створити нового користувача"
|
||||||
},
|
},
|
||||||
"newInvite": {
|
"newInvite": {
|
||||||
"label": "Створити нове запрошення"
|
"label": "Створити нове запрошення"
|
||||||
},
|
},
|
||||||
"newGroup": {
|
"newGroup": {
|
||||||
"label": ""
|
"label": "Створити нову групу"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"media": {
|
"media": {
|
||||||
"requestMovie": "",
|
"requestMovie": "Запросити фільм",
|
||||||
"requestSeries": "",
|
"requestSeries": "Запросити серіал",
|
||||||
"openIn": ""
|
"openIn": "Відкрити в {kind}"
|
||||||
},
|
},
|
||||||
"external": {
|
"external": {
|
||||||
"help": "Використовувати зовнішню пошукову систему",
|
"help": "Використовувати зовнішню пошукову систему",
|
||||||
"group": {
|
"group": {
|
||||||
"searchEngine": {
|
"searchEngine": {
|
||||||
"title": "",
|
"title": "Пошукові системи",
|
||||||
"children": {
|
"children": {
|
||||||
"action": {
|
"action": {
|
||||||
"search": {
|
"search": {
|
||||||
"label": ""
|
"label": "Шукати з {name}"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"detail": {
|
"detail": {
|
||||||
"title": ""
|
"title": "Виберіть дію для пошукової системи"
|
||||||
},
|
},
|
||||||
"searchResults": {
|
"searchResults": {
|
||||||
"title": ""
|
"title": "Виберіть результат пошуку для дій"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"option": {
|
"option": {
|
||||||
@@ -3053,7 +3067,7 @@
|
|||||||
"label": "Про програму"
|
"label": "Про програму"
|
||||||
},
|
},
|
||||||
"homeBoard": {
|
"homeBoard": {
|
||||||
"label": ""
|
"label": "Домашня дошка"
|
||||||
},
|
},
|
||||||
"preferences": {
|
"preferences": {
|
||||||
"label": "Ваші уподобання"
|
"label": "Ваші уподобання"
|
||||||
@@ -3139,21 +3153,21 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"edit": {
|
"edit": {
|
||||||
"title": "",
|
"title": "Редагувати систему пошуку",
|
||||||
"notification": {
|
"notification": {
|
||||||
"success": {
|
"success": {
|
||||||
"title": "",
|
"title": "Зміни успішно застосовано",
|
||||||
"message": ""
|
"message": "Пошукову систему успішно збережено"
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"title": "",
|
"title": "Не вдалося застосувати зміни",
|
||||||
"message": ""
|
"message": "Не вдалося зберегти пошукову систему"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"configControl": "",
|
"configControl": "Конфігурація",
|
||||||
"searchEngineType": {
|
"searchEngineType": {
|
||||||
"generic": "",
|
"generic": "",
|
||||||
"fromIntegration": ""
|
"fromIntegration": "З інтеграції"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"delete": {
|
"delete": {
|
||||||
@@ -3182,7 +3196,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"button": {
|
"button": {
|
||||||
"send": ""
|
"send": "Надіслати запит"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3195,36 +3209,36 @@
|
|||||||
"title": "",
|
"title": "",
|
||||||
"description": "",
|
"description": "",
|
||||||
"noResults": {
|
"noResults": {
|
||||||
"title": ""
|
"title": "Сертифікати відсутні"
|
||||||
},
|
},
|
||||||
"expires": ""
|
"expires": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"action": {
|
"action": {
|
||||||
"create": {
|
"create": {
|
||||||
"label": "",
|
"label": "Додати сертифікат",
|
||||||
"notification": {
|
"notification": {
|
||||||
"success": {
|
"success": {
|
||||||
"title": "",
|
"title": "Додано сертифікат",
|
||||||
"message": ""
|
"message": "Сертифікат було успішно додано"
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"title": "",
|
"title": "Не вдалося додати сертифікат",
|
||||||
"message": ""
|
"message": "Не вдалося додати сертифікат"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"remove": {
|
"remove": {
|
||||||
"label": "",
|
"label": "Видалити сертифікат",
|
||||||
"confirm": "",
|
"confirm": "Ви впевнені, що хочете видалити сертифікат?",
|
||||||
"notification": {
|
"notification": {
|
||||||
"success": {
|
"success": {
|
||||||
"title": "",
|
"title": "Сертифікат видалено",
|
||||||
"message": ""
|
"message": "Сертифікат успішно видалено"
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"title": "",
|
"title": "Сертификат не видалено",
|
||||||
"message": ""
|
"message": "Не вдалося видалити сертифікат"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": ""
|
"label": ""
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "Vị trí thời tiết"
|
"label": "Vị trí thời tiết"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": ""
|
"description": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "Quang đãng",
|
"clear": "Quang đãng",
|
||||||
"mainlyClear": "Thông thoáng",
|
"mainlyClear": "Thông thoáng",
|
||||||
|
|||||||
@@ -153,10 +153,10 @@
|
|||||||
"label": "為 Pings 使用 icon"
|
"label": "為 Pings 使用 icon"
|
||||||
},
|
},
|
||||||
"defaultSearchEngine": {
|
"defaultSearchEngine": {
|
||||||
"label": ""
|
"label": "預設搜尋引擎"
|
||||||
},
|
},
|
||||||
"openSearchInNewTab": {
|
"openSearchInNewTab": {
|
||||||
"label": ""
|
"label": "於新分頁中開啟搜尋結果"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
@@ -219,10 +219,10 @@
|
|||||||
"changeSearchPreferences": {
|
"changeSearchPreferences": {
|
||||||
"notification": {
|
"notification": {
|
||||||
"success": {
|
"success": {
|
||||||
"message": ""
|
"message": "搜尋設定更改成功"
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"message": ""
|
"message": "無法更改搜尋設定"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -1373,6 +1373,13 @@
|
|||||||
"isFormatFahrenheit": {
|
"isFormatFahrenheit": {
|
||||||
"label": "華氏溫度"
|
"label": "華氏溫度"
|
||||||
},
|
},
|
||||||
|
"disableTemperatureDecimals": {
|
||||||
|
"label": ""
|
||||||
|
},
|
||||||
|
"showCurrentWindSpeed": {
|
||||||
|
"label": "",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
"location": {
|
"location": {
|
||||||
"label": "天氣位置"
|
"label": "天氣位置"
|
||||||
},
|
},
|
||||||
@@ -1391,6 +1398,13 @@
|
|||||||
"description": "日期應該是什麼樣式"
|
"description": "日期應該是什麼樣式"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"currentWindSpeed": "",
|
||||||
|
"dailyForecast": {
|
||||||
|
"sunrise": "",
|
||||||
|
"sunset": "",
|
||||||
|
"maxWindSpeed": "",
|
||||||
|
"maxWindGusts": ""
|
||||||
|
},
|
||||||
"kind": {
|
"kind": {
|
||||||
"clear": "晴朗",
|
"clear": "晴朗",
|
||||||
"mainlyClear": "大多晴朗",
|
"mainlyClear": "大多晴朗",
|
||||||
@@ -1426,8 +1440,8 @@
|
|||||||
"name": "系統健康監測",
|
"name": "系統健康監測",
|
||||||
"description": "顯示系統運行狀態",
|
"description": "顯示系統運行狀態",
|
||||||
"tab": {
|
"tab": {
|
||||||
"system": "",
|
"system": "系統",
|
||||||
"cluster": ""
|
"cluster": "叢集"
|
||||||
},
|
},
|
||||||
"option": {
|
"option": {
|
||||||
"fahrenheit": {
|
"fahrenheit": {
|
||||||
@@ -2287,7 +2301,7 @@
|
|||||||
"mobile": "移動裝置"
|
"mobile": "移動裝置"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"search": "",
|
"search": "搜尋",
|
||||||
"firstDayOfWeek": "一周的第一天",
|
"firstDayOfWeek": "一周的第一天",
|
||||||
"accessibility": "無障礙服務"
|
"accessibility": "無障礙服務"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,12 +9,17 @@ export const atLocationOutput = z.object({
|
|||||||
current_weather: z.object({
|
current_weather: z.object({
|
||||||
weathercode: z.number(),
|
weathercode: z.number(),
|
||||||
temperature: z.number(),
|
temperature: z.number(),
|
||||||
|
windspeed: z.number(),
|
||||||
}),
|
}),
|
||||||
daily: z.object({
|
daily: z.object({
|
||||||
time: z.array(z.string()),
|
time: z.array(z.string()),
|
||||||
weathercode: z.array(z.number()),
|
weathercode: z.array(z.number()),
|
||||||
temperature_2m_max: z.array(z.number()),
|
temperature_2m_max: z.array(z.number()),
|
||||||
temperature_2m_min: z.array(z.number()),
|
temperature_2m_min: z.array(z.number()),
|
||||||
|
sunrise: z.array(z.string()),
|
||||||
|
sunset: z.array(z.string()),
|
||||||
|
wind_speed_10m_max: z.array(z.number()),
|
||||||
|
wind_gusts_10m_max: z.array(z.number()),
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -44,21 +44,21 @@
|
|||||||
"@mantine/core": "^7.16.2",
|
"@mantine/core": "^7.16.2",
|
||||||
"@mantine/hooks": "^7.16.2",
|
"@mantine/hooks": "^7.16.2",
|
||||||
"@tabler/icons-react": "^3.29.0",
|
"@tabler/icons-react": "^3.29.0",
|
||||||
"@tiptap/extension-color": "2.11.3",
|
"@tiptap/extension-color": "2.11.5",
|
||||||
"@tiptap/extension-highlight": "2.11.3",
|
"@tiptap/extension-highlight": "2.11.5",
|
||||||
"@tiptap/extension-image": "2.11.3",
|
"@tiptap/extension-image": "2.11.5",
|
||||||
"@tiptap/extension-link": "^2.11.3",
|
"@tiptap/extension-link": "^2.11.5",
|
||||||
"@tiptap/extension-table": "2.11.3",
|
"@tiptap/extension-table": "2.11.5",
|
||||||
"@tiptap/extension-table-cell": "2.11.3",
|
"@tiptap/extension-table-cell": "2.11.5",
|
||||||
"@tiptap/extension-table-header": "2.11.3",
|
"@tiptap/extension-table-header": "2.11.5",
|
||||||
"@tiptap/extension-table-row": "2.11.3",
|
"@tiptap/extension-table-row": "2.11.5",
|
||||||
"@tiptap/extension-task-item": "2.11.3",
|
"@tiptap/extension-task-item": "2.11.5",
|
||||||
"@tiptap/extension-task-list": "2.11.3",
|
"@tiptap/extension-task-list": "2.11.5",
|
||||||
"@tiptap/extension-text-align": "2.11.3",
|
"@tiptap/extension-text-align": "2.11.5",
|
||||||
"@tiptap/extension-text-style": "2.11.3",
|
"@tiptap/extension-text-style": "2.11.5",
|
||||||
"@tiptap/extension-underline": "2.11.3",
|
"@tiptap/extension-underline": "2.11.5",
|
||||||
"@tiptap/react": "^2.11.3",
|
"@tiptap/react": "^2.11.5",
|
||||||
"@tiptap/starter-kit": "^2.11.3",
|
"@tiptap/starter-kit": "^2.11.5",
|
||||||
"clsx": "^2.1.1",
|
"clsx": "^2.1.1",
|
||||||
"dayjs": "^1.11.13",
|
"dayjs": "^1.11.13",
|
||||||
"mantine-react-table": "2.0.0-beta.8",
|
"mantine-react-table": "2.0.0-beta.8",
|
||||||
|
|||||||
@@ -318,14 +318,15 @@ export const matchFileSystemAndSmart = (fileSystems: FileSystem[], smartData: Sm
|
|||||||
|
|
||||||
const CpuRing = ({ cpuUtilization }: { cpuUtilization: number }) => {
|
const CpuRing = ({ cpuUtilization }: { cpuUtilization: number }) => {
|
||||||
const { width, ref } = useElementSize();
|
const { width, ref } = useElementSize();
|
||||||
|
const fallbackWidth = width || 1; // See https://github.com/homarr-labs/homarr/issues/2196
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Box ref={ref} w="100%" h="100%" className="health-monitoring-cpu">
|
<Box ref={ref} w="100%" h="100%" className="health-monitoring-cpu">
|
||||||
<RingProgress
|
<RingProgress
|
||||||
className="health-monitoring-cpu-utilization"
|
className="health-monitoring-cpu-utilization"
|
||||||
roundCaps
|
roundCaps
|
||||||
size={width * 0.95}
|
size={fallbackWidth * 0.95}
|
||||||
thickness={width / 10}
|
thickness={fallbackWidth / 10}
|
||||||
label={
|
label={
|
||||||
<Center style={{ flexDirection: "column" }}>
|
<Center style={{ flexDirection: "column" }}>
|
||||||
<Text
|
<Text
|
||||||
@@ -348,13 +349,14 @@ const CpuRing = ({ cpuUtilization }: { cpuUtilization: number }) => {
|
|||||||
|
|
||||||
const CpuTempRing = ({ fahrenheit, cpuTemp }: { fahrenheit: boolean; cpuTemp: number }) => {
|
const CpuTempRing = ({ fahrenheit, cpuTemp }: { fahrenheit: boolean; cpuTemp: number }) => {
|
||||||
const { width, ref } = useElementSize();
|
const { width, ref } = useElementSize();
|
||||||
|
const fallbackWidth = width || 1; // See https://github.com/homarr-labs/homarr/issues/2196
|
||||||
return (
|
return (
|
||||||
<Box ref={ref} w="100%" h="100%" className="health-monitoring-cpu-temperature">
|
<Box ref={ref} w="100%" h="100%" className="health-monitoring-cpu-temperature">
|
||||||
<RingProgress
|
<RingProgress
|
||||||
className="health-monitoring-cpu-temp"
|
className="health-monitoring-cpu-temp"
|
||||||
roundCaps
|
roundCaps
|
||||||
size={width * 0.95}
|
size={fallbackWidth * 0.95}
|
||||||
thickness={width / 10}
|
thickness={fallbackWidth / 10}
|
||||||
label={
|
label={
|
||||||
<Center style={{ flexDirection: "column" }}>
|
<Center style={{ flexDirection: "column" }}>
|
||||||
<Text className="health-monitoring-cpu-temp-value" size="3cqmin">
|
<Text className="health-monitoring-cpu-temp-value" size="3cqmin">
|
||||||
@@ -376,6 +378,7 @@ const CpuTempRing = ({ fahrenheit, cpuTemp }: { fahrenheit: boolean; cpuTemp: nu
|
|||||||
|
|
||||||
const MemoryRing = ({ available, used }: { available: string; used: string }) => {
|
const MemoryRing = ({ available, used }: { available: string; used: string }) => {
|
||||||
const { width, ref } = useElementSize();
|
const { width, ref } = useElementSize();
|
||||||
|
const fallbackWidth = width || 1; // See https://github.com/homarr-labs/homarr/issues/2196
|
||||||
const memoryUsage = formatMemoryUsage(available, used);
|
const memoryUsage = formatMemoryUsage(available, used);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@@ -383,8 +386,8 @@ const MemoryRing = ({ available, used }: { available: string; used: string }) =>
|
|||||||
<RingProgress
|
<RingProgress
|
||||||
className="health-monitoring-memory-use"
|
className="health-monitoring-memory-use"
|
||||||
roundCaps
|
roundCaps
|
||||||
size={width * 0.95}
|
size={fallbackWidth * 0.95}
|
||||||
thickness={width / 10}
|
thickness={fallbackWidth / 10}
|
||||||
label={
|
label={
|
||||||
<Center style={{ flexDirection: "column" }}>
|
<Center style={{ flexDirection: "column" }}>
|
||||||
<Text className="health-monitoring-memory-value" size="3cqmin">
|
<Text className="health-monitoring-memory-value" size="3cqmin">
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import { Box, Group, HoverCard, Space, Stack, Text } from "@mantine/core";
|
import { Box, Group, HoverCard, Space, Stack, Text } from "@mantine/core";
|
||||||
import { IconArrowDownRight, IconArrowUpRight, IconMapPin } from "@tabler/icons-react";
|
import { IconArrowDownRight, IconArrowUpRight, IconMapPin, IconWind } from "@tabler/icons-react";
|
||||||
import combineClasses from "clsx";
|
import combineClasses from "clsx";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
|
|
||||||
import type { RouterOutputs } from "@homarr/api";
|
import type { RouterOutputs } from "@homarr/api";
|
||||||
import { clientApi } from "@homarr/api/client";
|
import { clientApi } from "@homarr/api/client";
|
||||||
|
import { useScopedI18n } from "@homarr/translation/client";
|
||||||
|
|
||||||
import type { WidgetComponentProps } from "../definition";
|
import type { WidgetComponentProps } from "../definition";
|
||||||
import { WeatherDescription, WeatherIcon } from "./icon";
|
import { WeatherDescription, WeatherIcon } from "./icon";
|
||||||
@@ -47,6 +48,7 @@ interface WeatherProps extends Pick<WidgetComponentProps<"weather">, "options">
|
|||||||
}
|
}
|
||||||
|
|
||||||
const DailyWeather = ({ options, weather }: WeatherProps) => {
|
const DailyWeather = ({ options, weather }: WeatherProps) => {
|
||||||
|
const t = useScopedI18n("widget.weather");
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Group className="weather-day-group" gap="1cqmin">
|
<Group className="weather-day-group" gap="1cqmin">
|
||||||
@@ -60,15 +62,32 @@ const DailyWeather = ({ options, weather }: WeatherProps) => {
|
|||||||
<WeatherDescription weatherOnly weatherCode={weather.current.weathercode} />
|
<WeatherDescription weatherOnly weatherCode={weather.current.weathercode} />
|
||||||
</HoverCard.Dropdown>
|
</HoverCard.Dropdown>
|
||||||
</HoverCard>
|
</HoverCard>
|
||||||
<Text fz="17.5cqmin">{getPreferredUnit(weather.current.temperature, options.isFormatFahrenheit)}</Text>
|
<Text fz="17.5cqmin">
|
||||||
|
{getPreferredUnit(
|
||||||
|
weather.current.temperature,
|
||||||
|
options.isFormatFahrenheit,
|
||||||
|
options.disableTemperatureDecimals,
|
||||||
|
)}
|
||||||
|
</Text>
|
||||||
</Group>
|
</Group>
|
||||||
<Space h="1cqmin" />
|
<Space h="1cqmin" />
|
||||||
|
{options.showCurrentWindSpeed && (
|
||||||
|
<Group className="weather-current-wind-speed-group" wrap="nowrap" gap="1cqmin">
|
||||||
|
<IconWind size="12.5cqmin" />
|
||||||
|
<Text fz="10cqmin">{t("currentWindSpeed", { currentWindSpeed: weather.current.windspeed })}</Text>
|
||||||
|
</Group>
|
||||||
|
)}
|
||||||
|
<Space h="1cqmin" />
|
||||||
<Group className="weather-max-min-temp-group" wrap="nowrap" gap="1cqmin">
|
<Group className="weather-max-min-temp-group" wrap="nowrap" gap="1cqmin">
|
||||||
<IconArrowUpRight size="12.5cqmin" />
|
<IconArrowUpRight size="12.5cqmin" />
|
||||||
<Text fz="10cqmin">{getPreferredUnit(weather.daily[0]?.maxTemp, options.isFormatFahrenheit)}</Text>
|
<Text fz="10cqmin">
|
||||||
|
{getPreferredUnit(weather.daily[0]?.maxTemp, options.isFormatFahrenheit, options.disableTemperatureDecimals)}
|
||||||
|
</Text>
|
||||||
<Space w="2.5cqmin" />
|
<Space w="2.5cqmin" />
|
||||||
<IconArrowDownRight size="12.5cqmin" />
|
<IconArrowDownRight size="12.5cqmin" />
|
||||||
<Text fz="10cqmin">{getPreferredUnit(weather.daily[0]?.minTemp, options.isFormatFahrenheit)}</Text>
|
<Text fz="10cqmin">
|
||||||
|
{getPreferredUnit(weather.daily[0]?.minTemp, options.isFormatFahrenheit, options.disableTemperatureDecimals)}
|
||||||
|
</Text>
|
||||||
</Group>
|
</Group>
|
||||||
{options.showCity && (
|
{options.showCity && (
|
||||||
<>
|
<>
|
||||||
@@ -108,7 +127,13 @@ const WeeklyForecast = ({ options, weather }: WeatherProps) => {
|
|||||||
<WeatherDescription weatherOnly weatherCode={weather.current.weathercode} />
|
<WeatherDescription weatherOnly weatherCode={weather.current.weathercode} />
|
||||||
</HoverCard.Dropdown>
|
</HoverCard.Dropdown>
|
||||||
</HoverCard>
|
</HoverCard>
|
||||||
<Text fz="20cqmin">{getPreferredUnit(weather.current.temperature, options.isFormatFahrenheit)}</Text>
|
<Text fz="20cqmin">
|
||||||
|
{getPreferredUnit(
|
||||||
|
weather.current.temperature,
|
||||||
|
options.isFormatFahrenheit,
|
||||||
|
options.disableTemperatureDecimals,
|
||||||
|
)}
|
||||||
|
</Text>
|
||||||
</Group>
|
</Group>
|
||||||
<Space h="2.5cqmin" />
|
<Space h="2.5cqmin" />
|
||||||
<Forecast weather={weather} options={options} />
|
<Forecast weather={weather} options={options} />
|
||||||
@@ -134,7 +159,9 @@ function Forecast({ weather, options }: WeatherProps) {
|
|||||||
>
|
>
|
||||||
<Text fz="10cqmin">{dayjs(dayWeather.time).format("dd")}</Text>
|
<Text fz="10cqmin">{dayjs(dayWeather.time).format("dd")}</Text>
|
||||||
<WeatherIcon size="15cqmin" code={dayWeather.weatherCode} />
|
<WeatherIcon size="15cqmin" code={dayWeather.weatherCode} />
|
||||||
<Text fz="10cqmin">{getPreferredUnit(dayWeather.maxTemp, options.isFormatFahrenheit)}</Text>
|
<Text fz="10cqmin">
|
||||||
|
{getPreferredUnit(dayWeather.maxTemp, options.isFormatFahrenheit, options.disableTemperatureDecimals)}
|
||||||
|
</Text>
|
||||||
</Stack>
|
</Stack>
|
||||||
</HoverCard.Target>
|
</HoverCard.Target>
|
||||||
<HoverCard.Dropdown>
|
<HoverCard.Dropdown>
|
||||||
@@ -142,8 +169,20 @@ function Forecast({ weather, options }: WeatherProps) {
|
|||||||
dateFormat={dateFormat}
|
dateFormat={dateFormat}
|
||||||
time={dayWeather.time}
|
time={dayWeather.time}
|
||||||
weatherCode={dayWeather.weatherCode}
|
weatherCode={dayWeather.weatherCode}
|
||||||
maxTemp={getPreferredUnit(dayWeather.maxTemp, options.isFormatFahrenheit)}
|
maxTemp={getPreferredUnit(
|
||||||
minTemp={getPreferredUnit(dayWeather.minTemp, options.isFormatFahrenheit)}
|
dayWeather.maxTemp,
|
||||||
|
options.isFormatFahrenheit,
|
||||||
|
options.disableTemperatureDecimals,
|
||||||
|
)}
|
||||||
|
minTemp={getPreferredUnit(
|
||||||
|
dayWeather.minTemp,
|
||||||
|
options.isFormatFahrenheit,
|
||||||
|
options.disableTemperatureDecimals,
|
||||||
|
)}
|
||||||
|
sunrise={dayjs(dayWeather.sunrise).format("HH:mm")}
|
||||||
|
sunset={dayjs(dayWeather.sunset).format("HH:mm")}
|
||||||
|
maxWindSpeed={dayWeather.maxWindSpeed}
|
||||||
|
maxWindGusts={dayWeather.maxWindGusts}
|
||||||
/>
|
/>
|
||||||
</HoverCard.Dropdown>
|
</HoverCard.Dropdown>
|
||||||
</HoverCard>
|
</HoverCard>
|
||||||
@@ -152,5 +191,9 @@ function Forecast({ weather, options }: WeatherProps) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const getPreferredUnit = (value?: number, isFahrenheit = false): string =>
|
const getPreferredUnit = (value?: number, isFahrenheit = false, disableTemperatureDecimals = false): string =>
|
||||||
value ? (isFahrenheit ? `${(value * (9 / 5) + 32).toFixed(1)}°F` : `${value.toFixed(1)}°C`) : "?";
|
value
|
||||||
|
? isFahrenheit
|
||||||
|
? `${(value * (9 / 5) + 32).toFixed(disableTemperatureDecimals ? 0 : 1)}°F`
|
||||||
|
: `${value.toFixed(disableTemperatureDecimals ? 0 : 1)}°C`
|
||||||
|
: "?";
|
||||||
|
|||||||
@@ -1,13 +1,17 @@
|
|||||||
import { Stack, Text } from "@mantine/core";
|
import { List, Stack, Text } from "@mantine/core";
|
||||||
import {
|
import {
|
||||||
IconCloud,
|
IconCloud,
|
||||||
IconCloudFog,
|
IconCloudFog,
|
||||||
IconCloudRain,
|
IconCloudRain,
|
||||||
IconCloudSnow,
|
IconCloudSnow,
|
||||||
IconCloudStorm,
|
IconCloudStorm,
|
||||||
|
IconMoon,
|
||||||
IconQuestionMark,
|
IconQuestionMark,
|
||||||
IconSnowflake,
|
IconSnowflake,
|
||||||
IconSun,
|
IconSun,
|
||||||
|
IconTemperatureMinus,
|
||||||
|
IconTemperaturePlus,
|
||||||
|
IconWind,
|
||||||
} from "@tabler/icons-react";
|
} from "@tabler/icons-react";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
|
|
||||||
@@ -41,6 +45,10 @@ interface WeatherDescriptionProps {
|
|||||||
weatherCode: number;
|
weatherCode: number;
|
||||||
maxTemp?: string;
|
maxTemp?: string;
|
||||||
minTemp?: string;
|
minTemp?: string;
|
||||||
|
sunrise?: string;
|
||||||
|
sunset?: string;
|
||||||
|
maxWindSpeed?: number;
|
||||||
|
maxWindGusts?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -50,6 +58,10 @@ interface WeatherDescriptionProps {
|
|||||||
* @param weatherCode weather code from api
|
* @param weatherCode weather code from api
|
||||||
* @param maxTemp preformatted string for max temperature
|
* @param maxTemp preformatted string for max temperature
|
||||||
* @param minTemp preformatted string for min temperature
|
* @param minTemp preformatted string for min temperature
|
||||||
|
* @param sunrise preformatted string for sunrise time
|
||||||
|
* @param sunset preformatted string for sunset time
|
||||||
|
* @param maxWindSpeed maximum wind speed
|
||||||
|
* @param maxWindGusts maximum wind gusts
|
||||||
* @returns Content for a HoverCard dropdown presenting weather information
|
* @returns Content for a HoverCard dropdown presenting weather information
|
||||||
*/
|
*/
|
||||||
export const WeatherDescription = ({
|
export const WeatherDescription = ({
|
||||||
@@ -59,6 +71,10 @@ export const WeatherDescription = ({
|
|||||||
weatherCode,
|
weatherCode,
|
||||||
maxTemp,
|
maxTemp,
|
||||||
minTemp,
|
minTemp,
|
||||||
|
sunrise,
|
||||||
|
sunset,
|
||||||
|
maxWindSpeed,
|
||||||
|
maxWindGusts,
|
||||||
}: WeatherDescriptionProps) => {
|
}: WeatherDescriptionProps) => {
|
||||||
const t = useScopedI18n("widget.weather");
|
const t = useScopedI18n("widget.weather");
|
||||||
const tCommon = useScopedI18n("common");
|
const tCommon = useScopedI18n("common");
|
||||||
@@ -73,8 +89,14 @@ export const WeatherDescription = ({
|
|||||||
<Stack align="center" gap="0">
|
<Stack align="center" gap="0">
|
||||||
<Text fz="24px">{dayjs(time).format(dateFormat)}</Text>
|
<Text fz="24px">{dayjs(time).format(dateFormat)}</Text>
|
||||||
<Text fz="16px">{t(`kind.${name}`)}</Text>
|
<Text fz="16px">{t(`kind.${name}`)}</Text>
|
||||||
<Text fz="16px">{`${tCommon("information.max")}: ${maxTemp}`}</Text>
|
<List>
|
||||||
<Text fz="16px">{`${tCommon("information.min")}: ${minTemp}`}</Text>
|
<List.Item icon={<IconTemperaturePlus size={15} />}>{`${tCommon("information.max")}: ${maxTemp}`}</List.Item>
|
||||||
|
<List.Item icon={<IconTemperatureMinus size={15} />}>{`${tCommon("information.min")}: ${minTemp}`}</List.Item>
|
||||||
|
<List.Item icon={<IconSun size={15} />}>{`${t("dailyForecast.sunrise")}: ${sunrise}`}</List.Item>
|
||||||
|
<List.Item icon={<IconMoon size={15} />}>{`${t("dailyForecast.sunset")}: ${sunset}`}</List.Item>
|
||||||
|
<List.Item icon={<IconWind size={15} />}>{t("dailyForecast.maxWindSpeed", { maxWindSpeed })}</List.Item>
|
||||||
|
<List.Item icon={<IconWind size={15} />}>{t("dailyForecast.maxWindGusts", { maxWindGusts })}</List.Item>
|
||||||
|
</List>
|
||||||
</Stack>
|
</Stack>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ export const { definition, componentLoader } = createWidgetDefinition("weather",
|
|||||||
options: optionsBuilder.from(
|
options: optionsBuilder.from(
|
||||||
(factory) => ({
|
(factory) => ({
|
||||||
isFormatFahrenheit: factory.switch(),
|
isFormatFahrenheit: factory.switch(),
|
||||||
|
disableTemperatureDecimals: factory.switch(),
|
||||||
|
showCurrentWindSpeed: factory.switch({ withDescription: true }),
|
||||||
location: factory.location({
|
location: factory.location({
|
||||||
defaultValue: {
|
defaultValue: {
|
||||||
name: "Paris",
|
name: "Paris",
|
||||||
|
|||||||
586
pnpm-lock.yaml
generated
586
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user