mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-03 12:25:51 +01:00
Compare commits
70 Commits
improve_co
...
aakansha-i
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eda35a25b3 | ||
|
|
bc414ccaaf | ||
|
|
0cf5f1ac1f | ||
|
|
e9cb7ee77c | ||
|
|
86c036505b | ||
|
|
39e7b8cf4f | ||
|
|
e0ece680a6 | ||
|
|
8dfea49ec1 | ||
|
|
d7f314cda8 | ||
|
|
6adb45ef5a | ||
|
|
b0eeb8e6e6 | ||
|
|
c3c20b6087 | ||
|
|
0faec7efb6 | ||
|
|
aff817c667 | ||
|
|
9a3a3ecb44 | ||
|
|
81f8039ec7 | ||
|
|
14759d5b72 | ||
|
|
b997e69ebc | ||
|
|
4a89aba682 | ||
|
|
34dcf998bd | ||
|
|
325d1bec91 | ||
|
|
b917e42694 | ||
|
|
eb9e67e36a | ||
|
|
f14ae52e94 | ||
|
|
f93eb658d6 | ||
|
|
9bac44ee75 | ||
|
|
91b4109f67 | ||
|
|
6e45cb95db | ||
|
|
5edf82898b | ||
|
|
60b82e3055 | ||
|
|
5d6590c200 | ||
|
|
d3bebbc68d | ||
|
|
4ff8f3b006 | ||
|
|
abbc756887 | ||
|
|
10e07e434c | ||
|
|
fb582b45db | ||
|
|
23f21434ff | ||
|
|
7e9fdf85a0 | ||
|
|
98c26642d0 | ||
|
|
2b434db062 | ||
|
|
f919907855 | ||
|
|
bfeb3c7dfd | ||
|
|
8729ab3c54 | ||
|
|
37f53bccbf | ||
|
|
c783763307 | ||
|
|
f151f45df8 | ||
|
|
f33880e005 | ||
|
|
29ed50f6ea | ||
|
|
ce52c18382 | ||
|
|
7c3e1d8d1b | ||
|
|
0d15934a96 | ||
|
|
a0069d04f0 | ||
|
|
3b86944365 | ||
|
|
4c7b1a2269 | ||
|
|
60864ace54 | ||
|
|
4b32c03994 | ||
|
|
222dbdcc00 | ||
|
|
1346227d30 | ||
|
|
ecbddd214c | ||
|
|
4999ca5c82 | ||
|
|
174638889d | ||
|
|
480998582e | ||
|
|
94544e458c | ||
|
|
f664ba9e1e | ||
|
|
015a60638e | ||
|
|
7abb80530f | ||
|
|
5abe9b93e8 | ||
|
|
59cff0f219 | ||
|
|
81c17a56fb | ||
|
|
802b8c50d5 |
37
.github/dependabot.yml
vendored
Normal file
37
.github/dependabot.yml
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: npm
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: weekly
|
||||
day: sunday
|
||||
time: "01:00"
|
||||
open-pull-requests-limit: 99
|
||||
reviewers:
|
||||
- lipis
|
||||
assignees:
|
||||
- lipis
|
||||
|
||||
- package-ecosystem: npm
|
||||
directory: "/src/packages/excalidraw/"
|
||||
schedule:
|
||||
interval: weekly
|
||||
day: sunday
|
||||
time: "01:00"
|
||||
open-pull-requests-limit: 99
|
||||
reviewers:
|
||||
- ad1992
|
||||
assignees:
|
||||
- ad1992
|
||||
|
||||
- package-ecosystem: npm
|
||||
directory: "/src/packages/utils/"
|
||||
schedule:
|
||||
interval: weekly
|
||||
day: sunday
|
||||
time: "01:00"
|
||||
open-pull-requests-limit: 99
|
||||
reviewers:
|
||||
- ad1992
|
||||
assignees:
|
||||
- ad1992
|
||||
1
.github/workflows/build-docker.yml
vendored
1
.github/workflows/build-docker.yml
vendored
@@ -4,7 +4,6 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build-docker:
|
||||
|
||||
33
.github/workflows/codeql-analysis.yml
vendored
33
.github/workflows/codeql-analysis.yml
vendored
@@ -1,33 +0,0 @@
|
||||
name: "CodeQL"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
schedule:
|
||||
- cron: "18 7 * * 0"
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: ["typescript"]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v1
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v1
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v1
|
||||
15
.github/workflows/locales-coverage.yml
vendored
15
.github/workflows/locales-coverage.yml
vendored
@@ -30,3 +30,18 @@ jobs:
|
||||
git commit -am "Auto commit: Calculate translation coverage"
|
||||
git push
|
||||
fi
|
||||
- name: Construct comment body
|
||||
id: getCommentBody
|
||||
run: |
|
||||
body=$(npm run locales-coverage:description | grep '^[^>]')
|
||||
body="${body//'%'/'%25'}"
|
||||
body="${body//$'\n'/'%0A'}"
|
||||
body="${body//$'\r'/'%0D'}"
|
||||
echo ::set-output name=body::$body
|
||||
|
||||
- name: Update description with coverage
|
||||
uses: kt3k/update-pr-description@v1.0.1
|
||||
with:
|
||||
pr_body: ${{ steps.getCommentBody.outputs.body }}
|
||||
pr_title: "chore: New Crowdin updates"
|
||||
github_token: ${{ secrets.PUSH_TRANSLATIONS_COVERAGE_PAT }}
|
||||
|
||||
16
.github/workflows/semantic-pr-title.yml
vendored
Normal file
16
.github/workflows/semantic-pr-title.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
name: "Semantic PR title"
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
types:
|
||||
- opened
|
||||
- edited
|
||||
- synchronize
|
||||
|
||||
jobs:
|
||||
main:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: amannn/action-semantic-pull-request@v2.1.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
969
package-lock.json
generated
969
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
28
package.json
28
package.json
@@ -19,18 +19,18 @@
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@sentry/browser": "5.28.0",
|
||||
"@sentry/integrations": "5.28.0",
|
||||
"@sentry/browser": "5.29.2",
|
||||
"@sentry/integrations": "5.29.2",
|
||||
"@testing-library/jest-dom": "5.11.6",
|
||||
"@testing-library/react": "11.2.2",
|
||||
"@types/jest": "26.0.16",
|
||||
"@types/jest": "26.0.19",
|
||||
"@types/nanoid": "2.1.0",
|
||||
"@types/react": "17.0.0",
|
||||
"@types/react-dom": "17.0.0",
|
||||
"@types/socket.io-client": "1.4.34",
|
||||
"browser-nativefs": "0.11.1",
|
||||
"browser-nativefs": "0.12.0",
|
||||
"clsx": "1.1.1",
|
||||
"firebase": "8.1.2",
|
||||
"firebase": "8.2.1",
|
||||
"i18next-browser-languagedetector": "6.0.1",
|
||||
"lodash.throttle": "4.1.1",
|
||||
"nanoid": "2.1.11",
|
||||
@@ -47,19 +47,18 @@
|
||||
"react-scripts": "4.0.1",
|
||||
"roughjs": "4.3.1",
|
||||
"socket.io-client": "2.3.1",
|
||||
"typescript": "4.0.5"
|
||||
"typescript": "4.1.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/lodash.throttle": "4.1.6",
|
||||
"@types/pako": "1.0.1",
|
||||
"asar": "3.0.3",
|
||||
"eslint-config-prettier": "7.0.0",
|
||||
"eslint-plugin-prettier": "3.1.4",
|
||||
"firebase-tools": "8.17.0",
|
||||
"husky": "4.3.0",
|
||||
"eslint-config-prettier": "7.1.0",
|
||||
"eslint-plugin-prettier": "3.3.0",
|
||||
"firebase-tools": "9.0.1",
|
||||
"husky": "4.3.6",
|
||||
"jest-canvas-mock": "2.3.0",
|
||||
"lint-staged": "10.5.3",
|
||||
"pepjs": "0.5.2",
|
||||
"pepjs": "0.5.3",
|
||||
"prettier": "2.2.1",
|
||||
"rewire": "5.0.0"
|
||||
},
|
||||
@@ -84,13 +83,14 @@
|
||||
"build-node": "node ./scripts/build-node.js",
|
||||
"build:app:docker": "REACT_APP_INCLUDE_GTAG=false REACT_APP_DISABLE_SENTRY=true react-scripts build",
|
||||
"build:app": "REACT_APP_INCLUDE_GTAG=true REACT_APP_GIT_SHA=$NOW_GITHUB_COMMIT_SHA react-scripts build",
|
||||
"build:zip": "node ./scripts/build-version.js",
|
||||
"build": "npm run build:app && npm run build:zip",
|
||||
"build:version": "node ./scripts/build-version.js",
|
||||
"build": "npm run build:app && npm run build:version",
|
||||
"eject": "react-scripts eject",
|
||||
"fix:code": "npm run test:code -- --fix",
|
||||
"fix:other": "npm run prettier -- --write",
|
||||
"fix": "npm run fix:other && npm run fix:code",
|
||||
"locales-coverage": "node scripts/build-locales-coverage.js",
|
||||
"locales-coverage:description": "node scripts/locales-coverage-description.js",
|
||||
"prettier": "prettier \"**/*.{css,scss,json,md,html,yml}\" --ignore-path=.eslintignore",
|
||||
"start": "react-scripts start",
|
||||
"test:all": "npm run test:typecheck && npm run test:code && npm run test:other && npm run test:app -- --watchAll=false",
|
||||
|
||||
@@ -55,6 +55,8 @@
|
||||
<meta name="twitter:image" content="https://excalidraw.com/og-image.png" />
|
||||
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
|
||||
|
||||
<!-- Excalidraw version -->
|
||||
<meta name="version" content="{version}" />
|
||||
<link
|
||||
rel="preload"
|
||||
href="FG_Virgil.woff2"
|
||||
|
||||
@@ -25,5 +25,6 @@
|
||||
"application/vnd.excalidraw+json": [".excalidraw"]
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"capture_links": "new_client"
|
||||
}
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
const asar = require("asar");
|
||||
const versionFile = path.join("build", "version.json");
|
||||
const indexFile = path.join("build", "index.html");
|
||||
|
||||
const zero = (digit) => `0${digit}`.slice(-2);
|
||||
|
||||
@@ -20,18 +21,24 @@ const now = new Date();
|
||||
|
||||
const data = JSON.stringify(
|
||||
{
|
||||
asar: "excalidraw.asar",
|
||||
version: versionDate(now),
|
||||
},
|
||||
undefined,
|
||||
2,
|
||||
);
|
||||
|
||||
fs.writeFileSync(path.join("build", "version.json"), data);
|
||||
fs.writeFileSync(versionFile, data);
|
||||
|
||||
(async () => {
|
||||
const src = "build/";
|
||||
const dest = path.join("build", `excalidraw.asar`);
|
||||
// https://stackoverflow.com/a/14181136/8418
|
||||
fs.readFile(indexFile, "utf8", (error, data) => {
|
||||
if (error) {
|
||||
return console.error(error);
|
||||
}
|
||||
const result = data.replace(/{version}/g, versionDate(now));
|
||||
|
||||
await asar.createPackage(src, dest);
|
||||
})();
|
||||
fs.writeFile(indexFile, result, "utf8", (error) => {
|
||||
if (error) {
|
||||
return console.error(error);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
155
scripts/locales-coverage-description.js
Normal file
155
scripts/locales-coverage-description.js
Normal file
@@ -0,0 +1,155 @@
|
||||
const fs = require("fs");
|
||||
|
||||
const THRESSHOLD = 85;
|
||||
|
||||
const crowdinMap = {
|
||||
"ar-SA": "en-ar",
|
||||
"el-GR": "en-el",
|
||||
"fi-FI": "en-fi",
|
||||
"ja-JP": "en-ja",
|
||||
"bg-BG": "en-bg",
|
||||
"ca-ES": "en-ca",
|
||||
"de-DE": "en-de",
|
||||
"es-ES": "en-es",
|
||||
"fa-IR": "en-fa",
|
||||
"fr-FR": "en-fr",
|
||||
"he-IL": "en-he",
|
||||
"hi-IN": "en-hi",
|
||||
"hu-HU": "en-hu",
|
||||
"id-ID": "en-id",
|
||||
"it-IT": "en-it",
|
||||
"ko-KR": "en-ko",
|
||||
"my-MM": "en-my",
|
||||
"nb-NO": "en-nb",
|
||||
"nl-NL": "en-nl",
|
||||
"nn-NO": "en-nnno",
|
||||
"pl-PL": "en-pl",
|
||||
"pt-BR": "en-ptbr",
|
||||
"pt-PT": "en-pt",
|
||||
"ro-RO": "en-ro",
|
||||
"ru-RU": "en-ru",
|
||||
"sk-SK": "en-sk",
|
||||
"sv-SE": "en-sv",
|
||||
"tr-TR": "en-tr",
|
||||
"uk-UA": "en-uk",
|
||||
"zh-CN": "en-zhcn",
|
||||
"zh-TW": "en-zhtw",
|
||||
};
|
||||
|
||||
const flags = {
|
||||
"ar-SA": "🇸🇦",
|
||||
"bg-BG": "🇧🇬",
|
||||
"ca-ES": "🇪🇸",
|
||||
"de-DE": "🇩🇪",
|
||||
"el-GR": "🇬🇷",
|
||||
"es-ES": "🇪🇸",
|
||||
"fa-IR": "🇮🇷",
|
||||
"fi-FI": "🇫🇮",
|
||||
"fr-FR": "🇫🇷",
|
||||
"he-IL": "🇮🇱",
|
||||
"hi-IN": "🇮🇳",
|
||||
"hu-HU": "🇭🇺",
|
||||
"id-ID": "🇮🇩",
|
||||
"it-IT": "🇮🇹",
|
||||
"ja-JP": "🇯🇵",
|
||||
"ko-KR": "🇰🇷",
|
||||
"my-MM": "🇲🇲",
|
||||
"nb-NO": "🇳🇴",
|
||||
"nl-NL": "🇳🇱",
|
||||
"nn-NO": "🇳🇴",
|
||||
"pl-PL": "🇵🇱",
|
||||
"pt-BR": "🇧🇷",
|
||||
"pt-PT": "🇵🇹",
|
||||
"ro-RO": "🇷🇴",
|
||||
"ru-RU": "🇷🇺",
|
||||
"sk-SK": "🇸🇰",
|
||||
"sv-SE": "🇸🇪",
|
||||
"tr-TR": "🇹🇷",
|
||||
"uk-UA": "🇺🇦",
|
||||
"zh-CN": "🇨🇳",
|
||||
"zh-TW": "🇹🇼",
|
||||
};
|
||||
|
||||
const languages = {
|
||||
"ar-SA": "العربية",
|
||||
"bg-BG": "Български",
|
||||
"ca-ES": "Catalan",
|
||||
"de-DE": "Deutsch",
|
||||
"el-GR": "Ελληνικά",
|
||||
"es-ES": "Español",
|
||||
"fa-IR": "فارسی",
|
||||
"fi-FI": "Suomi",
|
||||
"fr-FR": "Français",
|
||||
"he-IL": "עברית",
|
||||
"hi-IN": "हिन्दी",
|
||||
"hu-HU": "Magyar",
|
||||
"id-ID": "Bahasa Indonesia",
|
||||
"it-IT": "Italiano",
|
||||
"ja-JP": "日本語",
|
||||
"ko-KR": "한국어",
|
||||
"my-MM": "Burmese",
|
||||
"nb-NO": "Norsk bokmål",
|
||||
"nl-NL": "Nederlands",
|
||||
"nn-NO": "Norsk nynorsk",
|
||||
"pl-PL": "Polski",
|
||||
"pt-BR": "Português Brasileiro",
|
||||
"pt-PT": "Português",
|
||||
"ro-RO": "Română",
|
||||
"ru-RU": "Русский",
|
||||
"sk-SK": "Slovenčina",
|
||||
"sv-SE": "Svenska",
|
||||
"tr-TR": "Türkçe",
|
||||
"uk-UA": "Українська",
|
||||
"zh-CN": "简体中文",
|
||||
"zh-TW": "繁體中文",
|
||||
};
|
||||
|
||||
const percentages = fs.readFileSync(
|
||||
`${__dirname}/../src/locales/percentages.json`,
|
||||
);
|
||||
const rowData = JSON.parse(percentages);
|
||||
|
||||
const coverages = Object.entries(rowData)
|
||||
.sort(([, a], [, b]) => b - a)
|
||||
.reduce((r, [k, v]) => ({ ...r, [k]: v }), {});
|
||||
|
||||
const boldIf = (text, condition) => (condition ? `**${text}**` : text);
|
||||
|
||||
const printHeader = () => {
|
||||
let result = "| | Flag | Locale | % |\n";
|
||||
result += "| :--: | :--: | -- | :--: |";
|
||||
return result;
|
||||
};
|
||||
|
||||
const printRow = (id, locale, coverage) => {
|
||||
const isOver = coverage >= THRESSHOLD;
|
||||
let result = `| ${isOver ? id : "..."} | `;
|
||||
result += `${locale in flags ? flags[locale] : ""} | `;
|
||||
const language = locale in languages ? languages[locale] : locale;
|
||||
if (locale in crowdinMap && crowdinMap[locale]) {
|
||||
result += `[${boldIf(
|
||||
language,
|
||||
isOver,
|
||||
)}](https://crowdin.com/translate/excalidraw/10/${crowdinMap[locale]}) | `;
|
||||
} else {
|
||||
result += `${boldIf(language, isOver)} | `;
|
||||
}
|
||||
result += `${coverage === 100 ? "✅" : boldIf(coverage, isOver)} |`;
|
||||
return result;
|
||||
};
|
||||
|
||||
console.info(
|
||||
`Each language must be at least **${THRESSHOLD}%** translated in order to appear on Excalidraw. Join us on [Crowdin](https://crowdin.com/project/excalidraw) and help us translate your own language. **Can't find yours yet?** Open an [issue](https://github.com/excalidraw/excalidraw/issues/new) and we'll add it to the list.`,
|
||||
);
|
||||
console.info("\n\r");
|
||||
console.info(printHeader());
|
||||
let index = 1;
|
||||
for (const coverage in coverages) {
|
||||
if (coverage === "en") {
|
||||
continue;
|
||||
}
|
||||
console.info(printRow(index, coverage, coverages[coverage]));
|
||||
index++;
|
||||
}
|
||||
console.info("\n\r");
|
||||
console.info("\\* Languages in **bold** are going to appear on production.");
|
||||
@@ -4,12 +4,14 @@ import { getDefaultAppState } from "../appState";
|
||||
import { trash, zoomIn, zoomOut, resetZoom } from "../components/icons";
|
||||
import { ToolButton } from "../components/ToolButton";
|
||||
import { t } from "../i18n";
|
||||
import { getNormalizedZoom } from "../scene";
|
||||
import { getNormalizedZoom, getSelectedElements } from "../scene";
|
||||
import { getNonDeletedElements } from "../element";
|
||||
import { CODES, KEYS } from "../keys";
|
||||
import { getShortcutKey } from "../utils";
|
||||
import useIsMobile from "../is-mobile";
|
||||
import { register } from "./register";
|
||||
import { newElementWith } from "../element/mutateElement";
|
||||
import { ExcalidrawElement } from "../element/types";
|
||||
import { AppState, NormalizedZoomValue } from "../types";
|
||||
import { getCommonBounds } from "../element";
|
||||
import { getNewZoom } from "../scene/zoom";
|
||||
@@ -93,6 +95,7 @@ export const actionZoomIn = register({
|
||||
const zoom = getNewZoom(
|
||||
getNormalizedZoom(appState.zoom.value + ZOOM_STEP),
|
||||
appState.zoom,
|
||||
{ left: appState.offsetLeft, top: appState.offsetTop },
|
||||
{ x: appState.width / 2, y: appState.height / 2 },
|
||||
);
|
||||
trackEvent(EVENT_ACTION, "zoom", "in", zoom.value * 100);
|
||||
@@ -126,6 +129,7 @@ export const actionZoomOut = register({
|
||||
const zoom = getNewZoom(
|
||||
getNormalizedZoom(appState.zoom.value - ZOOM_STEP),
|
||||
appState.zoom,
|
||||
{ left: appState.offsetLeft, top: appState.offsetTop },
|
||||
{ x: appState.width / 2, y: appState.height / 2 },
|
||||
);
|
||||
|
||||
@@ -161,10 +165,15 @@ export const actionResetZoom = register({
|
||||
return {
|
||||
appState: {
|
||||
...appState,
|
||||
zoom: getNewZoom(1 as NormalizedZoomValue, appState.zoom, {
|
||||
x: appState.width / 2,
|
||||
y: appState.height / 2,
|
||||
}),
|
||||
zoom: getNewZoom(
|
||||
1 as NormalizedZoomValue,
|
||||
appState.zoom,
|
||||
{ left: appState.offsetLeft, top: appState.offsetTop },
|
||||
{
|
||||
x: appState.width / 2,
|
||||
y: appState.height / 2,
|
||||
},
|
||||
),
|
||||
},
|
||||
commitToHistory: false,
|
||||
};
|
||||
@@ -204,38 +213,63 @@ const zoomValueToFitBoundsOnViewport = (
|
||||
return clampedZoomValueToFitElements as NormalizedZoomValue;
|
||||
};
|
||||
|
||||
const zoomToFitElements = (
|
||||
elements: readonly ExcalidrawElement[],
|
||||
appState: Readonly<AppState>,
|
||||
zoomToSelection: boolean,
|
||||
) => {
|
||||
const nonDeletedElements = getNonDeletedElements(elements);
|
||||
const selectedElements = getSelectedElements(nonDeletedElements, appState);
|
||||
|
||||
const commonBounds =
|
||||
zoomToSelection && selectedElements.length > 0
|
||||
? getCommonBounds(selectedElements)
|
||||
: getCommonBounds(nonDeletedElements);
|
||||
|
||||
const zoomValue = zoomValueToFitBoundsOnViewport(commonBounds, {
|
||||
width: appState.width,
|
||||
height: appState.height,
|
||||
});
|
||||
const newZoom = getNewZoom(zoomValue, appState.zoom, {
|
||||
left: appState.offsetLeft,
|
||||
top: appState.offsetTop,
|
||||
});
|
||||
const action = zoomToSelection ? "selection" : "fit";
|
||||
|
||||
const [x1, y1, x2, y2] = commonBounds;
|
||||
const centerX = (x1 + x2) / 2;
|
||||
const centerY = (y1 + y2) / 2;
|
||||
trackEvent(EVENT_ACTION, "zoom", action, newZoom.value * 100);
|
||||
return {
|
||||
appState: {
|
||||
...appState,
|
||||
...centerScrollOn({
|
||||
scenePoint: { x: centerX, y: centerY },
|
||||
viewportDimensions: {
|
||||
width: appState.width,
|
||||
height: appState.height,
|
||||
},
|
||||
zoom: newZoom,
|
||||
}),
|
||||
zoom: newZoom,
|
||||
},
|
||||
commitToHistory: false,
|
||||
};
|
||||
};
|
||||
|
||||
export const actionZoomToSelected = register({
|
||||
name: "zoomToSelection",
|
||||
perform: (elements, appState) => zoomToFitElements(elements, appState, true),
|
||||
keyTest: (event) =>
|
||||
event.code === CODES.TWO &&
|
||||
event.shiftKey &&
|
||||
!event.altKey &&
|
||||
!event[KEYS.CTRL_OR_CMD],
|
||||
});
|
||||
|
||||
export const actionZoomToFit = register({
|
||||
name: "zoomToFit",
|
||||
perform: (elements, appState) => {
|
||||
const nonDeletedElements = elements.filter((element) => !element.isDeleted);
|
||||
const commonBounds = getCommonBounds(nonDeletedElements);
|
||||
|
||||
const zoomValue = zoomValueToFitBoundsOnViewport(commonBounds, {
|
||||
width: appState.width,
|
||||
height: appState.height,
|
||||
});
|
||||
const newZoom = getNewZoom(zoomValue, appState.zoom);
|
||||
|
||||
const [x1, y1, x2, y2] = commonBounds;
|
||||
const centerX = (x1 + x2) / 2;
|
||||
const centerY = (y1 + y2) / 2;
|
||||
trackEvent(EVENT_ACTION, "zoom", "fit", newZoom.value * 100);
|
||||
return {
|
||||
appState: {
|
||||
...appState,
|
||||
...centerScrollOn({
|
||||
scenePoint: { x: centerX, y: centerY },
|
||||
viewportDimensions: {
|
||||
width: appState.width,
|
||||
height: appState.height,
|
||||
},
|
||||
zoom: newZoom,
|
||||
}),
|
||||
zoom: newZoom,
|
||||
},
|
||||
commitToHistory: false,
|
||||
};
|
||||
},
|
||||
perform: (elements, appState) => zoomToFitElements(elements, appState, false),
|
||||
keyTest: (event) =>
|
||||
event.code === CODES.ONE &&
|
||||
event.shiftKey &&
|
||||
|
||||
@@ -136,7 +136,7 @@ export const actionDeleteSelected = register({
|
||||
};
|
||||
},
|
||||
contextItemLabel: "labels.delete",
|
||||
contextMenuOrder: 3,
|
||||
contextMenuOrder: 999999,
|
||||
keyTest: (event) => event.key === KEYS.BACKSPACE || event.key === KEYS.DELETE,
|
||||
PanelComponent: ({ elements, appState, updateData }) => (
|
||||
<ToolButton
|
||||
|
||||
@@ -3,12 +3,15 @@ import { EVENT_CHANGE, EVENT_IO, trackEvent } from "../analytics";
|
||||
import { load, save, saveAs } from "../components/icons";
|
||||
import { ProjectName } from "../components/ProjectName";
|
||||
import { ToolButton } from "../components/ToolButton";
|
||||
import { Tooltip } from "../components/Tooltip";
|
||||
import { questionCircle } from "../components/icons";
|
||||
import { loadFromJSON, saveAsJSON } from "../data";
|
||||
import { t } from "../i18n";
|
||||
import useIsMobile from "../is-mobile";
|
||||
import { KEYS } from "../keys";
|
||||
import { muteFSAbortError } from "../utils";
|
||||
import { getDateTime, muteFSAbortError } from "../utils";
|
||||
import { register } from "./register";
|
||||
import "../components/ToolIcon.scss";
|
||||
|
||||
export const actionChangeProjectName = register({
|
||||
name: "changeProjectName",
|
||||
@@ -19,7 +22,7 @@ export const actionChangeProjectName = register({
|
||||
PanelComponent: ({ appState, updateData }) => (
|
||||
<ProjectName
|
||||
label={t("labels.fileTitle")}
|
||||
value={appState.name || "Unnamed"}
|
||||
value={appState.name || `${t("labels.untitled")}-${getDateTime()}`}
|
||||
onChange={(name: string) => updateData(name)}
|
||||
/>
|
||||
),
|
||||
@@ -54,13 +57,20 @@ export const actionChangeExportEmbedScene = register({
|
||||
};
|
||||
},
|
||||
PanelComponent: ({ appState, updateData }) => (
|
||||
<label title={t("labels.exportEmbedScene_details")}>
|
||||
<label style={{ display: "flex" }}>
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={appState.exportEmbedScene}
|
||||
onChange={(event) => updateData(event.target.checked)}
|
||||
/>{" "}
|
||||
{t("labels.exportEmbedScene")}
|
||||
<Tooltip
|
||||
label={t("labels.exportEmbedScene_details")}
|
||||
position="above"
|
||||
long={true}
|
||||
>
|
||||
<div className="TooltipIcon">{questionCircle}</div>
|
||||
</Tooltip>
|
||||
</label>
|
||||
),
|
||||
});
|
||||
|
||||
@@ -1,110 +1,28 @@
|
||||
import {
|
||||
isTextElement,
|
||||
isExcalidrawElement,
|
||||
redrawTextBoundingBox,
|
||||
getNonDeletedElements,
|
||||
} from "../element";
|
||||
import { CODES, KEYS } from "../keys";
|
||||
import { register } from "./register";
|
||||
import { newElementWith } from "../element/mutateElement";
|
||||
import { mutateElement, newElementWith } from "../element/mutateElement";
|
||||
import {
|
||||
ExcalidrawElement,
|
||||
ExcalidrawElementPossibleProps,
|
||||
} from "../element/types";
|
||||
import { AppState } from "../types";
|
||||
import {
|
||||
canChangeSharpness,
|
||||
getSelectedElements,
|
||||
hasBackground,
|
||||
hasStroke,
|
||||
hasText,
|
||||
} from "../scene";
|
||||
import { isLinearElement, isLinearElementType } from "../element/typeChecks";
|
||||
|
||||
type AppStateStyles = {
|
||||
[K in AssertSubset<
|
||||
keyof AppState,
|
||||
typeof copyableStyles[number][0]
|
||||
>]: AppState[K];
|
||||
};
|
||||
|
||||
type ElementStyles = {
|
||||
[K in AssertSubset<
|
||||
keyof ExcalidrawElementPossibleProps,
|
||||
typeof copyableStyles[number][1]
|
||||
>]: ExcalidrawElementPossibleProps[K];
|
||||
};
|
||||
|
||||
type ElemelementStylesByType = Record<ExcalidrawElement["type"], ElementStyles>;
|
||||
DEFAULT_FONT_SIZE,
|
||||
DEFAULT_FONT_FAMILY,
|
||||
DEFAULT_TEXT_ALIGN,
|
||||
} from "../constants";
|
||||
|
||||
// `copiedStyles` is exported only for tests.
|
||||
let COPIED_STYLES: {
|
||||
appStateStyles: Partial<AppStateStyles>;
|
||||
elementStyles: Partial<ElementStyles>;
|
||||
elementStylesByType: Partial<ElemelementStylesByType>;
|
||||
} | null = null;
|
||||
|
||||
/* [AppState prop, ExcalidrawElement prop, predicate] */
|
||||
const copyableStyles = [
|
||||
["currentItemOpacity", "opacity", () => true],
|
||||
["currentItemStrokeColor", "strokeColor", () => true],
|
||||
["currentItemStrokeStyle", "strokeStyle", hasStroke],
|
||||
["currentItemStrokeWidth", "strokeWidth", hasStroke],
|
||||
["currentItemRoughness", "roughness", hasStroke],
|
||||
["currentItemBackgroundColor", "backgroundColor", hasBackground],
|
||||
["currentItemFillStyle", "fillStyle", hasBackground],
|
||||
["currentItemStrokeSharpness", "strokeSharpness", canChangeSharpness],
|
||||
["currentItemLinearStrokeSharpness", "strokeSharpness", isLinearElementType],
|
||||
["currentItemStartArrowhead", "startArrowhead", isLinearElementType],
|
||||
["currentItemEndArrowhead", "endArrowhead", isLinearElementType],
|
||||
["currentItemFontFamily", "fontFamily", hasText],
|
||||
["currentItemFontSize", "fontSize", hasText],
|
||||
["currentItemTextAlign", "textAlign", hasText],
|
||||
] as const;
|
||||
|
||||
const getCommonStyleProps = (
|
||||
elements: readonly ExcalidrawElement[],
|
||||
): Exclude<typeof COPIED_STYLES, null> => {
|
||||
const appStateStyles = {} as AppStateStyles;
|
||||
const elementStyles = {} as ElementStyles;
|
||||
|
||||
const elementStylesByType = elements.reduce((acc, element) => {
|
||||
// only use the first element of given type
|
||||
if (!acc[element.type]) {
|
||||
acc[element.type] = {} as ElementStyles;
|
||||
copyableStyles.forEach(([appStateProp, prop, predicate]) => {
|
||||
const value = (element as any)[prop];
|
||||
if (value !== undefined && predicate(element.type)) {
|
||||
if (appStateStyles[appStateProp] === undefined) {
|
||||
(appStateStyles as any)[appStateProp] = value;
|
||||
}
|
||||
if (elementStyles[prop] === undefined) {
|
||||
(elementStyles as any)[prop] = value;
|
||||
}
|
||||
(acc as any)[element.type][prop] = value;
|
||||
}
|
||||
});
|
||||
}
|
||||
return acc;
|
||||
}, {} as ElemelementStylesByType);
|
||||
|
||||
// clone in case we ever make some of the props into non-primitives
|
||||
return JSON.parse(
|
||||
JSON.stringify({ appStateStyles, elementStyles, elementStylesByType }),
|
||||
);
|
||||
};
|
||||
export let copiedStyles: string = "{}";
|
||||
|
||||
export const actionCopyStyles = register({
|
||||
name: "copyStyles",
|
||||
perform: (elements, appState) => {
|
||||
COPIED_STYLES = getCommonStyleProps(
|
||||
getSelectedElements(getNonDeletedElements(elements), appState),
|
||||
);
|
||||
|
||||
const element = elements.find((el) => appState.selectedElementIds[el.id]);
|
||||
if (element) {
|
||||
copiedStyles = JSON.stringify(element);
|
||||
}
|
||||
return {
|
||||
appState: {
|
||||
...appState,
|
||||
...COPIED_STYLES.appStateStyles,
|
||||
},
|
||||
commitToHistory: false,
|
||||
};
|
||||
},
|
||||
@@ -117,49 +35,31 @@ export const actionCopyStyles = register({
|
||||
export const actionPasteStyles = register({
|
||||
name: "pasteStyles",
|
||||
perform: (elements, appState) => {
|
||||
if (!COPIED_STYLES) {
|
||||
const pastedElement = JSON.parse(copiedStyles);
|
||||
if (!isExcalidrawElement(pastedElement)) {
|
||||
return { elements, commitToHistory: false };
|
||||
}
|
||||
const getStyle = <T extends ExcalidrawElement, K extends keyof T>(
|
||||
element: T,
|
||||
prop: K,
|
||||
) => {
|
||||
return (COPIED_STYLES?.elementStylesByType[element.type]?.[
|
||||
prop as keyof ElementStyles
|
||||
] ??
|
||||
COPIED_STYLES?.elementStyles[prop as keyof ElementStyles] ??
|
||||
element[prop]) as T[K];
|
||||
};
|
||||
return {
|
||||
elements: elements.map((element) => {
|
||||
if (appState.selectedElementIds[element.id]) {
|
||||
const commonProps = {
|
||||
backgroundColor: getStyle(element, "backgroundColor"),
|
||||
strokeWidth: getStyle(element, "strokeWidth"),
|
||||
strokeColor: getStyle(element, "strokeColor"),
|
||||
strokeStyle: getStyle(element, "strokeStyle"),
|
||||
fillStyle: getStyle(element, "fillStyle"),
|
||||
opacity: getStyle(element, "opacity"),
|
||||
roughness: getStyle(element, "roughness"),
|
||||
strokeSharpness: getStyle(element, "strokeSharpness"),
|
||||
};
|
||||
if (isTextElement(element)) {
|
||||
const newElement = newElementWith(element, {
|
||||
...commonProps,
|
||||
fontSize: getStyle(element, "fontSize"),
|
||||
fontFamily: getStyle(element, "fontFamily"),
|
||||
textAlign: getStyle(element, "textAlign"),
|
||||
const newElement = newElementWith(element, {
|
||||
backgroundColor: pastedElement?.backgroundColor,
|
||||
strokeWidth: pastedElement?.strokeWidth,
|
||||
strokeColor: pastedElement?.strokeColor,
|
||||
strokeStyle: pastedElement?.strokeStyle,
|
||||
fillStyle: pastedElement?.fillStyle,
|
||||
opacity: pastedElement?.opacity,
|
||||
roughness: pastedElement?.roughness,
|
||||
});
|
||||
if (isTextElement(newElement)) {
|
||||
mutateElement(newElement, {
|
||||
fontSize: pastedElement?.fontSize || DEFAULT_FONT_SIZE,
|
||||
fontFamily: pastedElement?.fontFamily || DEFAULT_FONT_FAMILY,
|
||||
textAlign: pastedElement?.textAlign || DEFAULT_TEXT_ALIGN,
|
||||
});
|
||||
redrawTextBoundingBox(newElement);
|
||||
return newElement;
|
||||
} else if (isLinearElement(element)) {
|
||||
return newElementWith(element, {
|
||||
...commonProps,
|
||||
startArrowhead: getStyle(element, "startArrowhead"),
|
||||
endArrowhead: getStyle(element, "endArrowhead"),
|
||||
});
|
||||
}
|
||||
return newElementWith(element, commonProps);
|
||||
return newElement;
|
||||
}
|
||||
return element;
|
||||
}),
|
||||
|
||||
@@ -19,8 +19,8 @@ export type ShortcutName =
|
||||
| "copyAsSvg"
|
||||
| "group"
|
||||
| "ungroup"
|
||||
| "toggleGridMode"
|
||||
| "toggleStats"
|
||||
| "gridMode"
|
||||
| "stats"
|
||||
| "addToLibrary";
|
||||
|
||||
const shortcutMap: Record<ShortcutName, string[]> = {
|
||||
@@ -51,8 +51,8 @@ const shortcutMap: Record<ShortcutName, string[]> = {
|
||||
copyAsSvg: [],
|
||||
group: [getShortcutKey("CtrlOrCmd+G")],
|
||||
ungroup: [getShortcutKey("CtrlOrCmd+Shift+G")],
|
||||
toggleGridMode: [getShortcutKey("CtrlOrCmd+'")],
|
||||
toggleStats: [],
|
||||
gridMode: [getShortcutKey("CtrlOrCmd+'")],
|
||||
stats: [],
|
||||
addToLibrary: [],
|
||||
};
|
||||
|
||||
|
||||
@@ -58,6 +58,7 @@ export type ActionName =
|
||||
| "zoomOut"
|
||||
| "resetZoom"
|
||||
| "zoomToFit"
|
||||
| "zoomToSelection"
|
||||
| "changeFontFamily"
|
||||
| "changeTextAlign"
|
||||
| "toggleFullScreen"
|
||||
|
||||
@@ -11,14 +11,17 @@ export const EVENT_SHAPE = "shape";
|
||||
export const EVENT_SHARE = "share";
|
||||
export const EVENT_MAGIC = "magic";
|
||||
|
||||
export const trackEvent = window.gtag
|
||||
? (category: string, name: string, label?: string, value?: number) => {
|
||||
window.gtag("event", name, {
|
||||
event_category: category,
|
||||
event_label: label,
|
||||
value,
|
||||
});
|
||||
}
|
||||
: (category: string, name: string, label?: string, value?: number) => {
|
||||
console.info("Track Event", category, name, label, value);
|
||||
};
|
||||
export const trackEvent =
|
||||
typeof window !== "undefined" && window.gtag
|
||||
? (category: string, name: string, label?: string, value?: number) => {
|
||||
window.gtag("event", name, {
|
||||
event_category: category,
|
||||
event_label: label,
|
||||
value,
|
||||
});
|
||||
}
|
||||
: typeof process !== "undefined" && process?.env?.JEST_WORKER_ID
|
||||
? (category: string, name: string, label?: string, value?: number) => {}
|
||||
: (category: string, name: string, label?: string, value?: number) => {
|
||||
console.info("Track Event", category, name, label, value);
|
||||
};
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
import oc from "open-color";
|
||||
import { AppState, FlooredNumber, NormalizedZoomValue } from "./types";
|
||||
import { getDateTime } from "./utils";
|
||||
import { t } from "./i18n";
|
||||
import {
|
||||
DEFAULT_FONT_SIZE,
|
||||
DEFAULT_FONT_FAMILY,
|
||||
@@ -44,11 +42,9 @@ export const getDefaultAppState = (): Omit<
|
||||
viewBackgroundColor: oc.white,
|
||||
scrollX: 0 as FlooredNumber,
|
||||
scrollY: 0 as FlooredNumber,
|
||||
cursorX: 0,
|
||||
cursorY: 0,
|
||||
cursorButton: "up",
|
||||
scrolledOutside: false,
|
||||
name: `${t("labels.untitled")}-${getDateTime()}`,
|
||||
name: "",
|
||||
isBindingEnabled: true,
|
||||
isResizing: false,
|
||||
isRotating: false,
|
||||
@@ -108,8 +104,6 @@ const APP_STATE_STORAGE_CONF = (<
|
||||
currentItemStartArrowhead: { browser: true, export: false },
|
||||
currentItemEndArrowhead: { browser: true, export: false },
|
||||
cursorButton: { browser: true, export: false },
|
||||
cursorX: { browser: true, export: false },
|
||||
cursorY: { browser: true, export: false },
|
||||
draggingElement: { browser: false, export: false },
|
||||
editingElement: { browser: false, export: false },
|
||||
startBoundElement: { browser: false, export: false },
|
||||
@@ -166,11 +160,6 @@ const _clearAppStateForStorage = <ExportType extends "export" | "browser">(
|
||||
const stateForExport = {} as { [K in ExportableKeys]?: typeof appState[K] };
|
||||
for (const key of Object.keys(appState) as (keyof typeof appState)[]) {
|
||||
const propConfig = APP_STATE_STORAGE_CONF[key];
|
||||
if (!propConfig) {
|
||||
console.error(
|
||||
`_clearAppStateForStorage: appState key "${key}" config doesn't exist for "${exportType}" export type`,
|
||||
);
|
||||
}
|
||||
if (propConfig?.[exportType]) {
|
||||
// @ts-ignore see https://github.com/microsoft/TypeScript/issues/31445
|
||||
stateForExport[key] = appState[key];
|
||||
|
||||
@@ -19,15 +19,15 @@ export const NOT_SPREADSHEET = "NOT_SPREADSHEET";
|
||||
export const VALID_SPREADSHEET = "VALID_SPREADSHEET";
|
||||
|
||||
type ParseSpreadsheetResult =
|
||||
| { type: typeof NOT_SPREADSHEET }
|
||||
| { type: typeof NOT_SPREADSHEET; reason: string }
|
||||
| { type: typeof VALID_SPREADSHEET; spreadsheet: Spreadsheet };
|
||||
|
||||
const tryParseNumber = (s: string): number | null => {
|
||||
const match = /^[$€£¥₩]?([0-9]+(\.[0-9]+)?)$/.exec(s);
|
||||
const match = /^[$€£¥₩]?([0-9,]+(\.[0-9]+)?)$/.exec(s);
|
||||
if (!match) {
|
||||
return null;
|
||||
}
|
||||
return parseFloat(match[1]);
|
||||
return parseFloat(match[1].replace(/,/g, ""));
|
||||
};
|
||||
|
||||
const isNumericColumn = (lines: string[][], columnIndex: number) =>
|
||||
@@ -37,12 +37,12 @@ const tryParseCells = (cells: string[][]): ParseSpreadsheetResult => {
|
||||
const numCols = cells[0].length;
|
||||
|
||||
if (numCols > 2) {
|
||||
return { type: NOT_SPREADSHEET };
|
||||
return { type: NOT_SPREADSHEET, reason: "More than 2 columns" };
|
||||
}
|
||||
|
||||
if (numCols === 1) {
|
||||
if (!isNumericColumn(cells, 0)) {
|
||||
return { type: NOT_SPREADSHEET };
|
||||
return { type: NOT_SPREADSHEET, reason: "Value is not numeric" };
|
||||
}
|
||||
|
||||
const hasHeader = tryParseNumber(cells[0][0]) === null;
|
||||
@@ -51,7 +51,7 @@ const tryParseCells = (cells: string[][]): ParseSpreadsheetResult => {
|
||||
);
|
||||
|
||||
if (values.length < 2) {
|
||||
return { type: NOT_SPREADSHEET };
|
||||
return { type: NOT_SPREADSHEET, reason: "Less than two rows" };
|
||||
}
|
||||
|
||||
return {
|
||||
@@ -67,7 +67,7 @@ const tryParseCells = (cells: string[][]): ParseSpreadsheetResult => {
|
||||
const valueColumnIndex = isNumericColumn(cells, 0) ? 0 : 1;
|
||||
|
||||
if (!isNumericColumn(cells, valueColumnIndex)) {
|
||||
return { type: NOT_SPREADSHEET };
|
||||
return { type: NOT_SPREADSHEET, reason: "Value is not numeric" };
|
||||
}
|
||||
|
||||
const labelColumnIndex = (valueColumnIndex + 1) % 2;
|
||||
@@ -75,7 +75,7 @@ const tryParseCells = (cells: string[][]): ParseSpreadsheetResult => {
|
||||
const rows = hasHeader ? cells.slice(1) : cells;
|
||||
|
||||
if (rows.length < 2) {
|
||||
return { type: NOT_SPREADSHEET };
|
||||
return { type: NOT_SPREADSHEET, reason: "Less than 2 rows" };
|
||||
}
|
||||
|
||||
return {
|
||||
@@ -104,13 +104,13 @@ export const tryParseSpreadsheet = (text: string): ParseSpreadsheetResult => {
|
||||
// Copy/paste from excel, spreadhseets, tsv, csv.
|
||||
// For now we only accept 2 columns with an optional header
|
||||
|
||||
// Check for tab separeted values
|
||||
// Check for tab separated values
|
||||
let lines = text
|
||||
.trim()
|
||||
.split("\n")
|
||||
.map((line) => line.trim().split("\t"));
|
||||
|
||||
// Check for comma separeted files
|
||||
// Check for comma separated files
|
||||
if (lines.length && lines[0].length !== 2) {
|
||||
lines = text
|
||||
.trim()
|
||||
@@ -119,14 +119,17 @@ export const tryParseSpreadsheet = (text: string): ParseSpreadsheetResult => {
|
||||
}
|
||||
|
||||
if (lines.length === 0) {
|
||||
return { type: NOT_SPREADSHEET };
|
||||
return { type: NOT_SPREADSHEET, reason: "No values" };
|
||||
}
|
||||
|
||||
const numColsFirstLine = lines[0].length;
|
||||
const isSpreadsheet = lines.every((line) => line.length === numColsFirstLine);
|
||||
|
||||
if (!isSpreadsheet) {
|
||||
return { type: NOT_SPREADSHEET };
|
||||
return {
|
||||
type: NOT_SPREADSHEET,
|
||||
reason: "All rows don't have same number of columns",
|
||||
};
|
||||
}
|
||||
|
||||
const result = tryParseCells(lines);
|
||||
@@ -192,6 +195,7 @@ export const renderSpreadsheet = (
|
||||
y,
|
||||
startArrowhead: null,
|
||||
endArrowhead: null,
|
||||
width: chartWidth,
|
||||
points: [
|
||||
[0, 0],
|
||||
[chartWidth, 0],
|
||||
@@ -205,6 +209,7 @@ export const renderSpreadsheet = (
|
||||
y,
|
||||
startArrowhead: null,
|
||||
endArrowhead: null,
|
||||
height: chartHeight,
|
||||
points: [
|
||||
[0, 0],
|
||||
[0, -chartHeight],
|
||||
@@ -220,6 +225,7 @@ export const renderSpreadsheet = (
|
||||
endArrowhead: null,
|
||||
...commonProps,
|
||||
strokeStyle: "dotted",
|
||||
width: chartWidth,
|
||||
points: [
|
||||
[0, 0],
|
||||
[chartWidth, 0],
|
||||
|
||||
@@ -10,7 +10,6 @@ import {
|
||||
duplicateElement,
|
||||
isInvisiblySmallElement,
|
||||
isTextElement,
|
||||
textWysiwyg,
|
||||
getCommonBounds,
|
||||
getCursorForResizingElement,
|
||||
getPerfectElementSize,
|
||||
@@ -124,6 +123,7 @@ import {
|
||||
MIME_TYPES,
|
||||
TAP_TWICE_TIMEOUT,
|
||||
TOUCH_CTX_MENU_TIMEOUT,
|
||||
APP_NAME,
|
||||
} from "../constants";
|
||||
|
||||
import LayerUI from "./LayerUI";
|
||||
@@ -176,6 +176,7 @@ import {
|
||||
trackEvent,
|
||||
} from "../analytics";
|
||||
import { Stats } from "./Stats";
|
||||
import { textWysiwyg } from "../element/textWysiwyg";
|
||||
|
||||
const { history } = createHistory();
|
||||
|
||||
@@ -345,12 +346,15 @@ class App extends React.Component<ExcalidrawProps, AppState> {
|
||||
offsetLeft,
|
||||
} = this.state;
|
||||
|
||||
const { onCollabButtonClick } = this.props;
|
||||
const { onCollabButtonClick, onExportToBackend } = this.props;
|
||||
const canvasScale = window.devicePixelRatio;
|
||||
|
||||
const canvasWidth = canvasDOMWidth * canvasScale;
|
||||
const canvasHeight = canvasDOMHeight * canvasScale;
|
||||
|
||||
const DEFAULT_PASTE_X = canvasDOMWidth / 2;
|
||||
const DEFAULT_PASTE_Y = canvasDOMHeight / 2;
|
||||
|
||||
return (
|
||||
<div
|
||||
className="excalidraw"
|
||||
@@ -371,12 +375,17 @@ class App extends React.Component<ExcalidrawProps, AppState> {
|
||||
onCollabButtonClick={onCollabButtonClick}
|
||||
onLockToggle={this.toggleLock}
|
||||
onInsertShape={(elements) =>
|
||||
this.addElementsFromPasteOrLibrary(elements)
|
||||
this.addElementsFromPasteOrLibrary(
|
||||
elements,
|
||||
DEFAULT_PASTE_X,
|
||||
DEFAULT_PASTE_Y,
|
||||
)
|
||||
}
|
||||
zenModeEnabled={zenModeEnabled}
|
||||
toggleZenMode={this.toggleZenMode}
|
||||
lng={getLanguage().lng}
|
||||
isCollaborating={this.props.isCollaborating || false}
|
||||
onExportToBackend={onExportToBackend}
|
||||
/>
|
||||
{this.state.showStats && (
|
||||
<Stats
|
||||
@@ -494,7 +503,7 @@ class App extends React.Component<ExcalidrawProps, AppState> {
|
||||
};
|
||||
|
||||
private importLibraryFromUrl = async (url: string) => {
|
||||
window.history.replaceState({}, "Excalidraw", window.location.origin);
|
||||
window.history.replaceState({}, APP_NAME, window.location.origin);
|
||||
try {
|
||||
const request = await fetch(url);
|
||||
const blob = await request.blob();
|
||||
@@ -586,6 +595,8 @@ class App extends React.Component<ExcalidrawProps, AppState> {
|
||||
scene.elements,
|
||||
{
|
||||
...scene.appState,
|
||||
width: this.state.width,
|
||||
height: this.state.height,
|
||||
offsetTop: this.state.offsetTop,
|
||||
offsetLeft: this.state.offsetLeft,
|
||||
},
|
||||
@@ -1416,13 +1427,27 @@ class App extends React.Component<ExcalidrawProps, AppState> {
|
||||
|
||||
private onGestureChange = withBatchedUpdates((event: GestureEvent) => {
|
||||
event.preventDefault();
|
||||
this.setState(({ zoom }) => ({
|
||||
zoom: getNewZoom(
|
||||
getNormalizedZoom(gesture.initialScale! * event.scale),
|
||||
zoom,
|
||||
{ x: cursorX, y: cursorY },
|
||||
),
|
||||
}));
|
||||
|
||||
// onGestureChange only has zoom factor but not the center.
|
||||
// If we're on iPad or iPhone, then we recognize multi-touch and will
|
||||
// zoom in at the right location on the touchMove handler already.
|
||||
// On Macbook, we don't have those events so will zoom in at the
|
||||
// current location instead.
|
||||
if (gesture.pointers.size === 2) {
|
||||
return;
|
||||
}
|
||||
|
||||
const initialScale = gesture.initialScale;
|
||||
if (initialScale) {
|
||||
this.setState(({ zoom, offsetLeft, offsetTop }) => ({
|
||||
zoom: getNewZoom(
|
||||
getNormalizedZoom(initialScale * event.scale),
|
||||
zoom,
|
||||
{ left: offsetLeft, top: offsetTop },
|
||||
{ x: cursorX, y: cursorY },
|
||||
),
|
||||
}));
|
||||
}
|
||||
});
|
||||
|
||||
private onGestureEnd = withBatchedUpdates((event: GestureEvent) => {
|
||||
@@ -1734,21 +1759,28 @@ class App extends React.Component<ExcalidrawProps, AppState> {
|
||||
});
|
||||
}
|
||||
|
||||
if (gesture.pointers.size === 2) {
|
||||
const initialScale = gesture.initialScale;
|
||||
if (
|
||||
gesture.pointers.size === 2 &&
|
||||
gesture.lastCenter &&
|
||||
initialScale &&
|
||||
gesture.initialDistance
|
||||
) {
|
||||
const center = getCenter(gesture.pointers);
|
||||
const deltaX = center.x - gesture.lastCenter!.x;
|
||||
const deltaY = center.y - gesture.lastCenter!.y;
|
||||
const deltaX = center.x - gesture.lastCenter.x;
|
||||
const deltaY = center.y - gesture.lastCenter.y;
|
||||
gesture.lastCenter = center;
|
||||
|
||||
const distance = getDistance(Array.from(gesture.pointers.values()));
|
||||
const scaleFactor = distance / gesture.initialDistance!;
|
||||
const scaleFactor = distance / gesture.initialDistance;
|
||||
|
||||
this.setState(({ zoom, scrollX, scrollY }) => ({
|
||||
this.setState(({ zoom, scrollX, scrollY, offsetLeft, offsetTop }) => ({
|
||||
scrollX: normalizeScroll(scrollX + deltaX / zoom.value),
|
||||
scrollY: normalizeScroll(scrollY + deltaY / zoom.value),
|
||||
zoom: getNewZoom(
|
||||
getNormalizedZoom(gesture.initialScale! * scaleFactor),
|
||||
getNormalizedZoom(initialScale * scaleFactor),
|
||||
zoom,
|
||||
{ left: offsetLeft, top: offsetTop },
|
||||
center,
|
||||
),
|
||||
shouldCacheIgnoreZoom: true,
|
||||
@@ -2430,8 +2462,7 @@ class App extends React.Component<ExcalidrawProps, AppState> {
|
||||
// otherwise, it will trigger selection based on current
|
||||
// state of the box
|
||||
if (!this.state.selectedElementIds[hitElement.id]) {
|
||||
// if we are currently editing a group, treat all selections outside of the group
|
||||
// as exiting editing mode.
|
||||
// if we are currently editing a group, exiting editing mode and deselect the group.
|
||||
if (
|
||||
this.state.editingGroupId &&
|
||||
!isElementInGroup(hitElement, this.state.editingGroupId)
|
||||
@@ -2441,7 +2472,6 @@ class App extends React.Component<ExcalidrawProps, AppState> {
|
||||
selectedGroupIds: {},
|
||||
editingGroupId: null,
|
||||
});
|
||||
return true;
|
||||
}
|
||||
|
||||
// Add hit element to selection. At this point if we're not holding
|
||||
@@ -2579,9 +2609,9 @@ class App extends React.Component<ExcalidrawProps, AppState> {
|
||||
);
|
||||
|
||||
/* If arrow is pre-arrowheads, it will have undefined for both start and end arrowheads.
|
||||
If so, we want it to be null for start and "arrow" for end. If the linear item is not
|
||||
an arrow, we want it to be null for both. Otherwise, we want it to use the
|
||||
values from appState. */
|
||||
If so, we want it to be null for start and "arrow" for end. If the linear item is not
|
||||
an arrow, we want it to be null for both. Otherwise, we want it to use the
|
||||
values from appState. */
|
||||
|
||||
const { currentItemStartArrowhead, currentItemEndArrowhead } = this.state;
|
||||
const [startArrowhead, endArrowhead] =
|
||||
@@ -3612,13 +3642,15 @@ class App extends React.Component<ExcalidrawProps, AppState> {
|
||||
CANVAS_ONLY_ACTIONS.includes(action.name),
|
||||
),
|
||||
{
|
||||
shortcutName: "toggleGridMode",
|
||||
label: t("labels.toggleGridMode"),
|
||||
checked: this.state.gridSize !== null,
|
||||
shortcutName: "gridMode",
|
||||
label: t("labels.gridMode"),
|
||||
action: this.toggleGridMode,
|
||||
},
|
||||
{
|
||||
shortcutName: "toggleStats",
|
||||
label: t("labels.toggleStats"),
|
||||
checked: this.state.showStats,
|
||||
shortcutName: "stats",
|
||||
label: t("stats.title"),
|
||||
action: this.toggleStats,
|
||||
},
|
||||
],
|
||||
@@ -3695,11 +3727,16 @@ class App extends React.Component<ExcalidrawProps, AppState> {
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
this.setState(({ zoom }) => ({
|
||||
zoom: getNewZoom(getNormalizedZoom(zoom.value - delta / 100), zoom, {
|
||||
x: cursorX,
|
||||
y: cursorY,
|
||||
}),
|
||||
this.setState(({ zoom, offsetLeft, offsetTop }) => ({
|
||||
zoom: getNewZoom(
|
||||
getNormalizedZoom(zoom.value - delta / 100),
|
||||
zoom,
|
||||
{ left: offsetLeft, top: offsetTop },
|
||||
{
|
||||
x: cursorX,
|
||||
y: cursorY,
|
||||
},
|
||||
),
|
||||
selectedElementIds: {},
|
||||
previousSelectedElementIds:
|
||||
Object.keys(selectedElementIds).length !== 0
|
||||
|
||||
@@ -32,6 +32,21 @@
|
||||
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 0.2fr;
|
||||
align-items: center;
|
||||
|
||||
&.checkmark::before {
|
||||
position: absolute;
|
||||
left: 6px;
|
||||
margin-bottom: 1px;
|
||||
content: "\2713";
|
||||
}
|
||||
|
||||
&.dangerous {
|
||||
div:nth-child(1) {
|
||||
color: $oc-red-7;
|
||||
}
|
||||
}
|
||||
|
||||
div:nth-child(1) {
|
||||
justify-self: start;
|
||||
margin-inline-end: 20px;
|
||||
@@ -46,6 +61,13 @@
|
||||
.context-menu-option:hover {
|
||||
color: var(--popup-background-color);
|
||||
background-color: var(--select-highlight-color);
|
||||
|
||||
&.dangerous {
|
||||
div:nth-child(1) {
|
||||
color: var(--popup-background-color);
|
||||
}
|
||||
background-color: $oc-red-6;
|
||||
}
|
||||
}
|
||||
|
||||
.context-menu-option:focus {
|
||||
|
||||
@@ -10,6 +10,7 @@ import {
|
||||
} from "../actions/shortcuts";
|
||||
|
||||
type ContextMenuOption = {
|
||||
checked?: boolean;
|
||||
shortcutName: ShortcutName;
|
||||
label: string;
|
||||
action(): void;
|
||||
@@ -26,7 +27,6 @@ const ContextMenu = ({ options, onCloseRequest, top, left }: Props) => {
|
||||
const isDarkTheme = !!document
|
||||
.querySelector(".excalidraw")
|
||||
?.classList.contains("Appearance_dark");
|
||||
|
||||
return (
|
||||
<div
|
||||
className={clsx("excalidraw", {
|
||||
@@ -43,9 +43,14 @@ const ContextMenu = ({ options, onCloseRequest, top, left }: Props) => {
|
||||
className="context-menu"
|
||||
onContextMenu={(event) => event.preventDefault()}
|
||||
>
|
||||
{options.map(({ action, shortcutName, label }, idx) => (
|
||||
{options.map(({ action, checked, shortcutName, label }, idx) => (
|
||||
<li data-testid={shortcutName} key={idx} onClick={onCloseRequest}>
|
||||
<button className="context-menu-option" onClick={action}>
|
||||
<button
|
||||
className={`context-menu-option
|
||||
${shortcutName === "delete" ? "dangerous" : ""}
|
||||
${checked ? "checkmark" : ""}`}
|
||||
onClick={action}
|
||||
>
|
||||
<div>{label}</div>
|
||||
<div>
|
||||
{shortcutName
|
||||
|
||||
@@ -14,7 +14,9 @@ export const DarkModeToggle = (props: {
|
||||
return (
|
||||
<label
|
||||
className={`ToolIcon ToolIcon_type_floating ToolIcon_size_M`}
|
||||
title={t("buttons.toggleDarkMode")}
|
||||
title={
|
||||
props.value === "dark" ? t("buttons.lightMode") : t("buttons.darkMode")
|
||||
}
|
||||
>
|
||||
<input
|
||||
className="ToolIcon_type_checkbox ToolIcon_toggle_opaque"
|
||||
@@ -23,7 +25,11 @@ export const DarkModeToggle = (props: {
|
||||
props.onChange(event.target.checked ? "dark" : "light")
|
||||
}
|
||||
checked={props.value === "dark"}
|
||||
aria-label={t("buttons.toggleDarkMode")}
|
||||
aria-label={
|
||||
props.value === "dark"
|
||||
? t("buttons.lightMode")
|
||||
: t("buttons.darkMode")
|
||||
}
|
||||
/>
|
||||
<div className="ToolIcon__icon">
|
||||
{props.value === "light" ? ICONS.MOON : ICONS.SUN}
|
||||
|
||||
@@ -28,7 +28,14 @@ export const ErrorDialog = ({
|
||||
onCloseRequest={handleClose}
|
||||
title={t("errorDialog.title")}
|
||||
>
|
||||
<div>{message}</div>
|
||||
<div>
|
||||
{message.split("\n").map((line) => (
|
||||
<>
|
||||
{line}
|
||||
<br />
|
||||
</>
|
||||
))}
|
||||
</div>
|
||||
</Dialog>
|
||||
)}
|
||||
</>
|
||||
|
||||
@@ -67,7 +67,7 @@ const ExportModal = ({
|
||||
onExportToPng: ExportCB;
|
||||
onExportToSvg: ExportCB;
|
||||
onExportToClipboard: ExportCB;
|
||||
onExportToBackend: ExportCB;
|
||||
onExportToBackend?: ExportCB;
|
||||
onCloseRequest: () => void;
|
||||
}) => {
|
||||
const someElementIsSelected = isSomeElementSelected(elements, appState);
|
||||
@@ -100,6 +100,7 @@ const ExportModal = ({
|
||||
exportPadding,
|
||||
scale,
|
||||
shouldAddWatermark,
|
||||
watermarkText: t("labels.madeWithExcalidraw"),
|
||||
});
|
||||
|
||||
// if converting to blob fails, there's some problem that will
|
||||
@@ -155,13 +156,15 @@ const ExportModal = ({
|
||||
onClick={() => onExportToClipboard(exportedElements, scale)}
|
||||
/>
|
||||
)}
|
||||
<ToolButton
|
||||
type="button"
|
||||
icon={link}
|
||||
title={t("buttons.getShareableLink")}
|
||||
aria-label={t("buttons.getShareableLink")}
|
||||
onClick={() => onExportToBackend(exportedElements)}
|
||||
/>
|
||||
{onExportToBackend && (
|
||||
<ToolButton
|
||||
type="button"
|
||||
icon={link}
|
||||
title={t("buttons.getShareableLink")}
|
||||
aria-label={t("buttons.getShareableLink")}
|
||||
onClick={() => onExportToBackend(exportedElements)}
|
||||
/>
|
||||
)}
|
||||
</Stack.Row>
|
||||
<div className="ExportDialog__name">
|
||||
{actionManager.renderAction("changeProjectName")}
|
||||
@@ -173,6 +176,7 @@ const ExportModal = ({
|
||||
exportPadding,
|
||||
shouldAddWatermark,
|
||||
s,
|
||||
t("labels.madeWithExcalidraw"),
|
||||
);
|
||||
|
||||
const scaleButtonTitle = `${t(
|
||||
@@ -235,7 +239,7 @@ export const ExportDialog = ({
|
||||
onExportToPng: ExportCB;
|
||||
onExportToSvg: ExportCB;
|
||||
onExportToClipboard: ExportCB;
|
||||
onExportToBackend: ExportCB;
|
||||
onExportToBackend?: ExportCB;
|
||||
}) => {
|
||||
const [modalIsShown, setModalIsShown] = useState(false);
|
||||
const triggerButton = useRef<HTMLButtonElement>(null);
|
||||
|
||||
@@ -38,8 +38,8 @@ const getHints = ({ appState, elements }: Hint) => {
|
||||
selectedElements.length === 1
|
||||
) {
|
||||
const targetElement = selectedElements[0];
|
||||
if (isLinearElement(targetElement) && targetElement.points.length > 2) {
|
||||
return null;
|
||||
if (isLinearElement(targetElement) && targetElement.points.length === 2) {
|
||||
return t("hints.lockAngle");
|
||||
}
|
||||
return t("hints.resize");
|
||||
}
|
||||
|
||||
@@ -93,6 +93,9 @@
|
||||
grid-auto-flow: column;
|
||||
grid-gap: 0.5rem;
|
||||
border-radius: 4px;
|
||||
:root[dir="rtl"] & {
|
||||
padding: 0.4rem;
|
||||
}
|
||||
}
|
||||
|
||||
.picker-keybinding {
|
||||
|
||||
@@ -39,64 +39,6 @@
|
||||
width: 1.2rem;
|
||||
height: 1.2rem;
|
||||
}
|
||||
|
||||
&.tooltip .tooltip-text {
|
||||
visibility: hidden;
|
||||
width: 20rem;
|
||||
bottom: calc(50% + 0.8rem + 6px);
|
||||
|
||||
:root[dir="ltr"] & {
|
||||
left: -5px;
|
||||
}
|
||||
|
||||
:root[dir="rtl"] & {
|
||||
right: -5px;
|
||||
}
|
||||
|
||||
background-color: $oc-black;
|
||||
color: $oc-white;
|
||||
text-align: center;
|
||||
border-radius: 6px;
|
||||
padding: 5px;
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
white-space: pre-wrap;
|
||||
|
||||
&::after {
|
||||
--size: 6px;
|
||||
content: "";
|
||||
border: var(--size) solid transparent;
|
||||
border-top-color: $oc-black;
|
||||
position: absolute;
|
||||
bottom: calc(-2 * var(--size));
|
||||
|
||||
:root[dir="ltr"] & {
|
||||
left: calc(5px + var(--size) / 2);
|
||||
}
|
||||
|
||||
:root[dir="rtl"] & {
|
||||
right: calc(5px + var(--size) / 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the following 3 rules ensure that the tooltip doesn't show (nor affect
|
||||
// the cursor) when you drag over when you draw on canvas, but at the same
|
||||
// time it still works when clicking on the link/shield
|
||||
|
||||
body:active &.tooltip:not(:hover) {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
body:not(:active) &.tooltip:hover .tooltip-text {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.tooltip-text:hover {
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
|
||||
&__github-corner {
|
||||
|
||||
@@ -41,7 +41,7 @@ import "./LayerUI.scss";
|
||||
import { LibraryUnit } from "./LibraryUnit";
|
||||
import { ToolButton } from "./ToolButton";
|
||||
import { saveLibraryAsJSON, importLibraryFromJSON } from "../data/json";
|
||||
import { muteFSAbortError } from "../utils";
|
||||
import { getDateTime, muteFSAbortError } from "../utils";
|
||||
import { BackgroundPickerAndDarkModeToggle } from "./BackgroundPickerAndDarkModeToggle";
|
||||
import clsx from "clsx";
|
||||
import { Library } from "../data/library";
|
||||
@@ -65,6 +65,11 @@ interface LayerUIProps {
|
||||
toggleZenMode: () => void;
|
||||
lng: string;
|
||||
isCollaborating: boolean;
|
||||
onExportToBackend?: (
|
||||
exportedElements: readonly NonDeletedExcalidrawElement[],
|
||||
appState: AppState,
|
||||
canvas: HTMLCanvasElement | null,
|
||||
) => void;
|
||||
}
|
||||
|
||||
const useOnClickOutside = (
|
||||
@@ -317,10 +322,10 @@ const LayerUI = ({
|
||||
zenModeEnabled,
|
||||
toggleZenMode,
|
||||
isCollaborating,
|
||||
onExportToBackend,
|
||||
}: LayerUIProps) => {
|
||||
const isMobile = useIsMobile();
|
||||
|
||||
// TODO: Extend tooltip component and use here.
|
||||
const renderEncryptedIcon = () => (
|
||||
<a
|
||||
className={clsx("encrypted-icon tooltip zen-mode-visibility", {
|
||||
@@ -333,10 +338,9 @@ const LayerUI = ({
|
||||
trackEvent(EVENT_EXIT, "e2ee shield");
|
||||
}}
|
||||
>
|
||||
<span className="tooltip-text" dir="auto">
|
||||
{t("encrypted.tooltip")}
|
||||
</span>
|
||||
{shield}
|
||||
<Tooltip label={t("encrypted.tooltip")} position="above" long={true}>
|
||||
{shield}
|
||||
</Tooltip>
|
||||
</a>
|
||||
);
|
||||
|
||||
@@ -348,7 +352,7 @@ const LayerUI = ({
|
||||
if (canvas) {
|
||||
await exportCanvas(type, exportedElements, appState, canvas, {
|
||||
exportBackground: appState.exportBackground,
|
||||
name: appState.name,
|
||||
name: appState.name || `${t("labels.untitled")}-${getDateTime()}`,
|
||||
viewBackgroundColor: appState.viewBackgroundColor,
|
||||
scale,
|
||||
shouldAddWatermark: appState.shouldAddWatermark,
|
||||
@@ -360,6 +364,7 @@ const LayerUI = ({
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<ExportDialog
|
||||
elements={elements}
|
||||
@@ -368,28 +373,14 @@ const LayerUI = ({
|
||||
onExportToPng={createExporter("png")}
|
||||
onExportToSvg={createExporter("svg")}
|
||||
onExportToClipboard={createExporter("clipboard")}
|
||||
onExportToBackend={async (exportedElements) => {
|
||||
if (canvas) {
|
||||
try {
|
||||
await exportCanvas(
|
||||
"backend",
|
||||
exportedElements,
|
||||
{
|
||||
...appState,
|
||||
selectedElementIds: {},
|
||||
},
|
||||
canvas,
|
||||
appState,
|
||||
);
|
||||
} catch (error) {
|
||||
if (error.name !== "AbortError") {
|
||||
const { width, height } = canvas;
|
||||
console.error(error, { width, height });
|
||||
setAppState({ errorMessage: error.message });
|
||||
onExportToBackend={
|
||||
onExportToBackend
|
||||
? (elements) => {
|
||||
onExportToBackend &&
|
||||
onExportToBackend(elements, appState, canvas);
|
||||
}
|
||||
}
|
||||
}
|
||||
}}
|
||||
: undefined
|
||||
}
|
||||
/>
|
||||
);
|
||||
};
|
||||
@@ -650,8 +641,6 @@ const LayerUI = ({
|
||||
const areEqual = (prev: LayerUIProps, next: LayerUIProps) => {
|
||||
const getNecessaryObj = (appState: AppState): Partial<AppState> => {
|
||||
const {
|
||||
cursorX,
|
||||
cursorY,
|
||||
suggestedBindings,
|
||||
startBoundElement: boundElement,
|
||||
...ret
|
||||
|
||||
@@ -207,15 +207,16 @@ export const ShortcutsDialog = ({ onClose }: { onClose?: () => void }) => {
|
||||
shortcuts={["Shift+1"]}
|
||||
/>
|
||||
<Shortcut
|
||||
label={t("buttons.toggleFullScreen")}
|
||||
shortcuts={["F"]}
|
||||
label={t("shortcutsDialog.zoomToSelection")}
|
||||
shortcuts={["Shift+2"]}
|
||||
/>
|
||||
<Shortcut label={t("buttons.fullScreen")} shortcuts={["F"]} />
|
||||
<Shortcut
|
||||
label={t("buttons.toggleZenMode")}
|
||||
label={t("buttons.zenMode")}
|
||||
shortcuts={[getShortcutKey("Alt+Z")]}
|
||||
/>
|
||||
<Shortcut
|
||||
label={t("labels.toggleGridMode")}
|
||||
label={t("labels.gridMode")}
|
||||
shortcuts={[getShortcutKey("CtrlOrCmd+'")]}
|
||||
/>
|
||||
</ShortcutIsland>
|
||||
|
||||
@@ -6,8 +6,10 @@
|
||||
right: 12px;
|
||||
font-size: 12px;
|
||||
z-index: 999;
|
||||
|
||||
h3 {
|
||||
margin: 0 24px 8px 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.close {
|
||||
@@ -29,9 +31,21 @@
|
||||
}
|
||||
tr {
|
||||
td:nth-child(2) {
|
||||
min-width: 48px;
|
||||
min-width: 24px;
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
:root[dir="rtl"] & {
|
||||
left: 12px;
|
||||
right: initial;
|
||||
|
||||
h3 {
|
||||
margin: 0 0 8px 24px;
|
||||
}
|
||||
.close {
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
@import "open-color/open-color.scss";
|
||||
@import "../css/variables";
|
||||
|
||||
.excalidraw {
|
||||
.ToolIcon {
|
||||
display: inline-flex;
|
||||
@@ -181,6 +183,17 @@
|
||||
}
|
||||
}
|
||||
|
||||
.TooltipIcon {
|
||||
width: 0.9em;
|
||||
height: 0.9em;
|
||||
margin-left: 5px;
|
||||
margin-top: 1px;
|
||||
|
||||
@media #{$media-query} {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.unlocked-icon {
|
||||
:root[dir="ltr"] & {
|
||||
left: 2px;
|
||||
|
||||
@@ -7,39 +7,56 @@
|
||||
.Tooltip__label {
|
||||
--arrow-size: 4px;
|
||||
visibility: hidden;
|
||||
width: 10ch;
|
||||
background: $oc-black;
|
||||
color: $oc-white;
|
||||
text-align: center;
|
||||
border-radius: 4px;
|
||||
padding: 4px;
|
||||
border-radius: 6px;
|
||||
padding: 8px;
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
font-size: 0.7rem;
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
top: calc(100% + var(--arrow-size) + 3px);
|
||||
font-weight: 500;
|
||||
// extra pixel offset for unknown reasons
|
||||
left: calc(-50% + var(--arrow-size) / 2 - 1px);
|
||||
left: calc(50% + var(--arrow-size) / 2 - 1px);
|
||||
transform: translateX(-50%);
|
||||
word-wrap: break-word;
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
border: var(--arrow-size) solid transparent;
|
||||
border-bottom-color: $oc-black;
|
||||
position: absolute;
|
||||
bottom: 100%;
|
||||
left: calc(50% - var(--arrow-size));
|
||||
}
|
||||
|
||||
&--above {
|
||||
bottom: calc(100% + var(--arrow-size) + 3px);
|
||||
|
||||
&::after {
|
||||
border-top-color: $oc-black;
|
||||
top: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
&--below {
|
||||
top: calc(100% + var(--arrow-size) + 3px);
|
||||
|
||||
&::after {
|
||||
border-bottom-color: $oc-black;
|
||||
bottom: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// the following 3 rules ensure that the tooltip doesn't show (nor affect
|
||||
// the cursor) when you drag over when you draw on canvas, but at the same
|
||||
// time it still works when clicking on the link/shield
|
||||
body:active .Tooltip:not(:hover) {
|
||||
|
||||
body:active & .Tooltip:not(:hover) {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
body:not(:active) .Tooltip:hover .Tooltip__label {
|
||||
body:not(:active) & .Tooltip:hover .Tooltip__label {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
|
||||
@@ -5,11 +5,27 @@ import React from "react";
|
||||
type TooltipProps = {
|
||||
children: React.ReactNode;
|
||||
label: string;
|
||||
position?: "above" | "below";
|
||||
long?: boolean;
|
||||
};
|
||||
|
||||
export const Tooltip = ({ children, label }: TooltipProps) => (
|
||||
export const Tooltip = ({
|
||||
children,
|
||||
label,
|
||||
position = "below",
|
||||
long = false,
|
||||
}: TooltipProps) => (
|
||||
<div className="Tooltip">
|
||||
<span className="Tooltip__label">{label}</span>
|
||||
<span
|
||||
className={
|
||||
position === "above"
|
||||
? "Tooltip__label Tooltip__label--above"
|
||||
: "Tooltip__label Tooltip__label--below"
|
||||
}
|
||||
style={{ width: long ? "50ch" : "10ch" }}
|
||||
>
|
||||
{label}
|
||||
</span>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -108,6 +108,11 @@ export const redo = createIcon(
|
||||
{ mirror: true },
|
||||
);
|
||||
|
||||
export const questionCircle = createIcon(
|
||||
"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z",
|
||||
{ mirror: true },
|
||||
);
|
||||
|
||||
// Icon imported form Storybook
|
||||
// Storybook is licensed under MIT https://github.com/storybookjs/storybook/blob/next/LICENSE
|
||||
export const resetZoom = createIcon(
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
import { FontFamily } from "./element/types";
|
||||
|
||||
export const APP_NAME = "Excalidraw";
|
||||
|
||||
export const DRAGGING_THRESHOLD = 10; // 10px
|
||||
export const LINE_CONFIRM_THRESHOLD = 10; // 10px
|
||||
export const ELEMENT_SHIFT_TRANSLATE_AMOUNT = 5;
|
||||
@@ -85,3 +87,4 @@ export const STORAGE_KEYS = {
|
||||
// time in milliseconds
|
||||
export const TAP_TWICE_TIMEOUT = 300;
|
||||
export const TOUCH_CTX_MENU_TIMEOUT = 500;
|
||||
export const TITLE_TIMEOUT = 10000;
|
||||
|
||||
@@ -9,7 +9,7 @@ import { AppState } from "../types";
|
||||
import { restore } from "./restore";
|
||||
import { ImportedDataState, LibraryData } from "./types";
|
||||
|
||||
export const parseFileContents = async (blob: Blob | File) => {
|
||||
const parseFileContents = async (blob: Blob | File) => {
|
||||
let contents: string;
|
||||
|
||||
if (blob.type === "image/png") {
|
||||
|
||||
@@ -1,14 +1,10 @@
|
||||
import { fileSave } from "browser-nativefs";
|
||||
import { EVENT_IO, trackEvent } from "../analytics";
|
||||
import { getDefaultAppState } from "../appState";
|
||||
import {
|
||||
copyCanvasToClipboardAsPng,
|
||||
copyTextToSystemClipboard,
|
||||
} from "../clipboard";
|
||||
import {
|
||||
ExcalidrawElement,
|
||||
NonDeletedExcalidrawElement,
|
||||
} from "../element/types";
|
||||
import { NonDeletedExcalidrawElement } from "../element/types";
|
||||
import { t } from "../i18n";
|
||||
import { exportToCanvas, exportToSvg } from "../scene/export";
|
||||
import { ExportType } from "../scene/types";
|
||||
@@ -19,65 +15,6 @@ import { serializeAsJSON } from "./json";
|
||||
export { loadFromBlob } from "./blob";
|
||||
export { loadFromJSON, saveAsJSON } from "./json";
|
||||
|
||||
const BACKEND_V2_POST = process.env.REACT_APP_BACKEND_V2_POST_URL;
|
||||
|
||||
export const exportToBackend = async (
|
||||
elements: readonly ExcalidrawElement[],
|
||||
appState: AppState,
|
||||
) => {
|
||||
const json = serializeAsJSON(elements, appState);
|
||||
const encoded = new TextEncoder().encode(json);
|
||||
|
||||
const key = await window.crypto.subtle.generateKey(
|
||||
{
|
||||
name: "AES-GCM",
|
||||
length: 128,
|
||||
},
|
||||
true, // extractable
|
||||
["encrypt", "decrypt"],
|
||||
);
|
||||
// The iv is set to 0. We are never going to reuse the same key so we don't
|
||||
// need to have an iv. (I hope that's correct...)
|
||||
const iv = new Uint8Array(12);
|
||||
// We use symmetric encryption. AES-GCM is the recommended algorithm and
|
||||
// includes checks that the ciphertext has not been modified by an attacker.
|
||||
const encrypted = await window.crypto.subtle.encrypt(
|
||||
{
|
||||
name: "AES-GCM",
|
||||
iv,
|
||||
},
|
||||
key,
|
||||
encoded,
|
||||
);
|
||||
// We use jwk encoding to be able to extract just the base64 encoded key.
|
||||
// We will hardcode the rest of the attributes when importing back the key.
|
||||
const exportedKey = await window.crypto.subtle.exportKey("jwk", key);
|
||||
|
||||
try {
|
||||
const response = await fetch(BACKEND_V2_POST, {
|
||||
method: "POST",
|
||||
body: encrypted,
|
||||
});
|
||||
const json = await response.json();
|
||||
if (json.id) {
|
||||
const url = new URL(window.location.href);
|
||||
// We need to store the key (and less importantly the id) as hash instead
|
||||
// of queryParam in order to never send it to the server
|
||||
url.hash = `json=${json.id},${exportedKey.k!}`;
|
||||
const urlString = url.toString();
|
||||
window.prompt(`🔒${t("alerts.uploadedSecurly")}`, urlString);
|
||||
trackEvent(EVENT_IO, "export", "backend");
|
||||
} else if (json.error_class === "RequestTooLargeError") {
|
||||
window.alert(t("alerts.couldNotCreateShareableLinkTooBig"));
|
||||
} else {
|
||||
window.alert(t("alerts.couldNotCreateShareableLink"));
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
window.alert(t("alerts.couldNotCreateShareableLink"));
|
||||
}
|
||||
};
|
||||
|
||||
export const exportCanvas = async (
|
||||
type: ExportType,
|
||||
elements: readonly NonDeletedExcalidrawElement[],
|
||||
@@ -138,6 +75,7 @@ export const exportCanvas = async (
|
||||
exportPadding,
|
||||
scale,
|
||||
shouldAddWatermark,
|
||||
watermarkText: t("labels.madeWithExcalidraw"),
|
||||
});
|
||||
tempCanvas.style.display = "none";
|
||||
document.body.appendChild(tempCanvas);
|
||||
@@ -169,13 +107,6 @@ export const exportCanvas = async (
|
||||
}
|
||||
throw new Error(t("alerts.couldNotCopyToClipboard"));
|
||||
}
|
||||
} else if (type === "backend") {
|
||||
exportToBackend(elements, {
|
||||
...appState,
|
||||
viewBackgroundColor: exportBackground
|
||||
? appState.viewBackgroundColor
|
||||
: getDefaultAppState().viewBackgroundColor,
|
||||
});
|
||||
}
|
||||
|
||||
// clean up the DOM
|
||||
|
||||
@@ -8,6 +8,8 @@ import { Library } from "./library";
|
||||
import { MIME_TYPES } from "../constants";
|
||||
import { clearElementsForExport } from "../element";
|
||||
import { EVENT_LIBRARY, trackEvent } from "../analytics";
|
||||
import { t } from "../i18n";
|
||||
import { getDateTime } from "../utils";
|
||||
|
||||
export const serializeAsJSON = (
|
||||
elements: readonly ExcalidrawElement[],
|
||||
@@ -33,11 +35,10 @@ export const saveAsJSON = async (
|
||||
const blob = new Blob([serialized], {
|
||||
type: "application/json",
|
||||
});
|
||||
|
||||
const fileHandle = await fileSave(
|
||||
blob,
|
||||
{
|
||||
fileName: appState.name,
|
||||
fileName: appState.name || `${t("labels.untitled")}-${getDateTime()}`,
|
||||
description: "Excalidraw file",
|
||||
extensions: [".excalidraw"],
|
||||
},
|
||||
|
||||
@@ -49,7 +49,6 @@ export {
|
||||
dragNewElement,
|
||||
} from "./dragElements";
|
||||
export { isTextElement, isExcalidrawElement } from "./typeChecks";
|
||||
export { textWysiwyg } from "./textWysiwyg";
|
||||
export { redrawTextBoundingBox } from "./textElement";
|
||||
export {
|
||||
getPerfectElementSize,
|
||||
|
||||
@@ -24,13 +24,13 @@ export const mutateElement = <TElement extends Mutable<ExcalidrawElement>>(
|
||||
// (see https://github.com/microsoft/TypeScript/issues/21732)
|
||||
const { points } = updates as any;
|
||||
|
||||
if (points !== undefined) {
|
||||
if (typeof points !== "undefined") {
|
||||
updates = { ...getSizeFromPoints(points), ...updates };
|
||||
}
|
||||
|
||||
for (const key in updates) {
|
||||
const value = (updates as any)[key];
|
||||
if (value !== undefined) {
|
||||
if (typeof value !== "undefined") {
|
||||
if (
|
||||
(element as any)[key] === value &&
|
||||
// if object, always update in case its deep prop was mutated
|
||||
@@ -72,9 +72,9 @@ export const mutateElement = <TElement extends Mutable<ExcalidrawElement>>(
|
||||
}
|
||||
|
||||
if (
|
||||
updates.height !== undefined ||
|
||||
updates.width !== undefined ||
|
||||
points !== undefined
|
||||
typeof updates.height !== "undefined" ||
|
||||
typeof updates.width !== "undefined" ||
|
||||
typeof points !== "undefined"
|
||||
) {
|
||||
invalidateShapeForElement(element);
|
||||
}
|
||||
@@ -84,12 +84,9 @@ export const mutateElement = <TElement extends Mutable<ExcalidrawElement>>(
|
||||
Scene.getScene(element)?.informMutation();
|
||||
};
|
||||
|
||||
export const newElementWith = <
|
||||
TElement extends ExcalidrawElement,
|
||||
K extends keyof Omit<TElement, "id" | "version" | "versionNonce">
|
||||
>(
|
||||
export const newElementWith = <TElement extends ExcalidrawElement>(
|
||||
element: TElement,
|
||||
updates: Pick<TElement, K>,
|
||||
updates: ElementUpdate<TElement>,
|
||||
): TElement => ({
|
||||
...element,
|
||||
...updates,
|
||||
|
||||
@@ -21,7 +21,7 @@ type _ExcalidrawElementBase = Readonly<{
|
||||
strokeWidth: number;
|
||||
strokeStyle: StrokeStyle;
|
||||
strokeSharpness: StrokeSharpness;
|
||||
roughness: 0 | 1 | 2;
|
||||
roughness: number;
|
||||
opacity: number;
|
||||
width: number;
|
||||
height: number;
|
||||
@@ -110,16 +110,3 @@ export type ExcalidrawLinearElement = _ExcalidrawElementBase &
|
||||
startArrowhead: Arrowhead | null;
|
||||
endArrowhead: Arrowhead | null;
|
||||
}>;
|
||||
|
||||
export type ExcalidrawElementTypes = Pick<ExcalidrawElement, "type">["type"];
|
||||
|
||||
/** @private */
|
||||
type __ExcalidrawElementPossibleProps_withoutType<T> = T extends any
|
||||
? { [K in keyof Omit<T, "type">]: T[K] }
|
||||
: never;
|
||||
|
||||
/** Do not use for anything unless you really need it for some abstract
|
||||
API types */
|
||||
export type ExcalidrawElementPossibleProps = UnionToIntersection<
|
||||
__ExcalidrawElementPossibleProps_withoutType<ExcalidrawElement>
|
||||
> & { type: ExcalidrawElementTypes };
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { PureComponent } from "react";
|
||||
import throttle from "lodash.throttle";
|
||||
|
||||
import { ENV, EVENT } from "../../constants";
|
||||
import { APP_NAME, ENV, EVENT } from "../../constants";
|
||||
|
||||
import {
|
||||
decryptAESGEM,
|
||||
@@ -157,11 +157,7 @@ class CollabWrapper extends PureComponent<Props, CollabState> {
|
||||
};
|
||||
|
||||
openPortal = async () => {
|
||||
window.history.pushState(
|
||||
{},
|
||||
"Excalidraw",
|
||||
await generateCollaborationLink(),
|
||||
);
|
||||
window.history.pushState({}, APP_NAME, await generateCollaborationLink());
|
||||
const elements = this.excalidrawRef.current!.getSceneElements();
|
||||
// remove deleted elements from elements array & history to ensure we don't
|
||||
// expose potentially sensitive user data in case user manually deletes
|
||||
@@ -178,7 +174,7 @@ class CollabWrapper extends PureComponent<Props, CollabState> {
|
||||
|
||||
closePortal = () => {
|
||||
this.saveCollabRoomToFirebase();
|
||||
window.history.pushState({}, "Excalidraw", window.location.origin);
|
||||
window.history.pushState({}, APP_NAME, window.location.origin);
|
||||
this.destroySocketClient();
|
||||
trackEvent(EVENT_SHARE, "session end");
|
||||
};
|
||||
|
||||
@@ -3,12 +3,14 @@ import { ExcalidrawElement } from "../../element/types";
|
||||
import { AppState } from "../../types";
|
||||
import { ImportedDataState } from "../../data/types";
|
||||
import { restore } from "../../data/restore";
|
||||
import { EVENT_ACTION, trackEvent } from "../../analytics";
|
||||
import { EVENT_ACTION, EVENT_IO, trackEvent } from "../../analytics";
|
||||
import { serializeAsJSON } from "../../data/json";
|
||||
|
||||
const byteToHex = (byte: number): string => `0${byte.toString(16)}`.slice(-2);
|
||||
|
||||
const BACKEND_GET = process.env.REACT_APP_BACKEND_V1_GET_URL;
|
||||
const BACKEND_V2_GET = process.env.REACT_APP_BACKEND_V2_GET_URL;
|
||||
const BACKEND_V2_POST = process.env.REACT_APP_BACKEND_V2_POST_URL;
|
||||
|
||||
const generateRandomID = async () => {
|
||||
const arr = new Uint8Array(10);
|
||||
@@ -228,3 +230,60 @@ export const loadScene = async (
|
||||
commitToHistory: false,
|
||||
};
|
||||
};
|
||||
|
||||
export const exportToBackend = async (
|
||||
elements: readonly ExcalidrawElement[],
|
||||
appState: AppState,
|
||||
) => {
|
||||
const json = serializeAsJSON(elements, appState);
|
||||
const encoded = new TextEncoder().encode(json);
|
||||
|
||||
const key = await window.crypto.subtle.generateKey(
|
||||
{
|
||||
name: "AES-GCM",
|
||||
length: 128,
|
||||
},
|
||||
true, // extractable
|
||||
["encrypt", "decrypt"],
|
||||
);
|
||||
// The iv is set to 0. We are never going to reuse the same key so we don't
|
||||
// need to have an iv. (I hope that's correct...)
|
||||
const iv = new Uint8Array(12);
|
||||
// We use symmetric encryption. AES-GCM is the recommended algorithm and
|
||||
// includes checks that the ciphertext has not been modified by an attacker.
|
||||
const encrypted = await window.crypto.subtle.encrypt(
|
||||
{
|
||||
name: "AES-GCM",
|
||||
iv,
|
||||
},
|
||||
key,
|
||||
encoded,
|
||||
);
|
||||
// We use jwk encoding to be able to extract just the base64 encoded key.
|
||||
// We will hardcode the rest of the attributes when importing back the key.
|
||||
const exportedKey = await window.crypto.subtle.exportKey("jwk", key);
|
||||
|
||||
try {
|
||||
const response = await fetch(BACKEND_V2_POST, {
|
||||
method: "POST",
|
||||
body: encrypted,
|
||||
});
|
||||
const json = await response.json();
|
||||
if (json.id) {
|
||||
const url = new URL(window.location.href);
|
||||
// We need to store the key (and less importantly the id) as hash instead
|
||||
// of queryParam in order to never send it to the server
|
||||
url.hash = `json=${json.id},${exportedKey.k!}`;
|
||||
const urlString = url.toString();
|
||||
window.prompt(`🔒${t("alerts.uploadedSecurly")}`, urlString);
|
||||
trackEvent(EVENT_IO, "export", "backend");
|
||||
} else if (json.error_class === "RequestTooLargeError") {
|
||||
window.alert(t("alerts.couldNotCreateShareableLinkTooBig"));
|
||||
} else {
|
||||
window.alert(t("alerts.couldNotCreateShareableLink"));
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
window.alert(t("alerts.couldNotCreateShareableLink"));
|
||||
}
|
||||
};
|
||||
|
||||
@@ -13,16 +13,22 @@ import { ImportedDataState } from "../data/types";
|
||||
import CollabWrapper, { CollabAPI } from "./collab/CollabWrapper";
|
||||
import { TopErrorBoundary } from "../components/TopErrorBoundary";
|
||||
import { t } from "../i18n";
|
||||
import { loadScene } from "./data";
|
||||
import { exportToBackend, loadScene } from "./data";
|
||||
import { getCollaborationLinkData } from "./data";
|
||||
import { EVENT } from "../constants";
|
||||
import { loadFromFirebase } from "./data/firebase";
|
||||
import { ExcalidrawImperativeAPI } from "../components/App";
|
||||
import { debounce, ResolvablePromise, resolvablePromise } from "../utils";
|
||||
import { AppState, ExcalidrawAPIRefValue } from "../types";
|
||||
import { ExcalidrawElement } from "../element/types";
|
||||
import {
|
||||
ExcalidrawElement,
|
||||
NonDeletedExcalidrawElement,
|
||||
} from "../element/types";
|
||||
import { SAVE_TO_LOCAL_STORAGE_TIMEOUT } from "./app_constants";
|
||||
import { EVENT_LOAD, EVENT_SHARE, trackEvent } from "../analytics";
|
||||
import { ErrorDialog } from "../components/ErrorDialog";
|
||||
import { getDefaultAppState } from "../appState";
|
||||
import { APP_NAME, TITLE_TIMEOUT } from "../constants";
|
||||
|
||||
const excalidrawRef: React.MutableRefObject<
|
||||
MarkRequired<ExcalidrawAPIRefValue, "ready" | "readyPromise">
|
||||
@@ -113,7 +119,7 @@ const initializeScene = async (opts: {
|
||||
scene = await loadScene(jsonMatch[1], jsonMatch[2], initialData);
|
||||
}
|
||||
if (!isCollabScene) {
|
||||
window.history.replaceState({}, "Excalidraw", window.location.origin);
|
||||
window.history.replaceState({}, APP_NAME, window.location.origin);
|
||||
}
|
||||
} else {
|
||||
// https://github.com/excalidraw/excalidraw/issues/1919
|
||||
@@ -132,7 +138,7 @@ const initializeScene = async (opts: {
|
||||
}
|
||||
|
||||
isCollabScene = false;
|
||||
window.history.replaceState({}, "Excalidraw", window.location.origin);
|
||||
window.history.replaceState({}, APP_NAME, window.location.origin);
|
||||
}
|
||||
}
|
||||
if (isCollabScene) {
|
||||
@@ -178,6 +184,7 @@ function ExcalidrawWrapper(props: { collab: CollabAPI }) {
|
||||
width: window.innerWidth,
|
||||
height: window.innerHeight,
|
||||
});
|
||||
const [errorMessage, setErrorMessage] = useState("");
|
||||
|
||||
useLayoutEffect(() => {
|
||||
const onResize = () => {
|
||||
@@ -240,6 +247,10 @@ function ExcalidrawWrapper(props: { collab: CollabAPI }) {
|
||||
}
|
||||
};
|
||||
|
||||
const titleTimeout = setTimeout(
|
||||
() => (document.title = APP_NAME),
|
||||
TITLE_TIMEOUT,
|
||||
);
|
||||
window.addEventListener(EVENT.HASHCHANGE, onHashChange, false);
|
||||
window.addEventListener(EVENT.UNLOAD, onBlur, false);
|
||||
window.addEventListener(EVENT.BLUR, onBlur, false);
|
||||
@@ -247,6 +258,7 @@ function ExcalidrawWrapper(props: { collab: CollabAPI }) {
|
||||
window.removeEventListener(EVENT.HASHCHANGE, onHashChange, false);
|
||||
window.removeEventListener(EVENT.UNLOAD, onBlur, false);
|
||||
window.removeEventListener(EVENT.BLUR, onBlur, false);
|
||||
clearTimeout(titleTimeout);
|
||||
};
|
||||
}, [collab.initializeSocketClient]);
|
||||
|
||||
@@ -260,18 +272,52 @@ function ExcalidrawWrapper(props: { collab: CollabAPI }) {
|
||||
}
|
||||
};
|
||||
|
||||
const onExportToBackend = async (
|
||||
exportedElements: readonly NonDeletedExcalidrawElement[],
|
||||
appState: AppState,
|
||||
canvas: HTMLCanvasElement | null,
|
||||
) => {
|
||||
if (exportedElements.length === 0) {
|
||||
return window.alert(t("alerts.cannotExportEmptyCanvas"));
|
||||
}
|
||||
if (canvas) {
|
||||
try {
|
||||
await exportToBackend(exportedElements, {
|
||||
...appState,
|
||||
viewBackgroundColor: appState.exportBackground
|
||||
? appState.viewBackgroundColor
|
||||
: getDefaultAppState().viewBackgroundColor,
|
||||
});
|
||||
} catch (error) {
|
||||
if (error.name !== "AbortError") {
|
||||
const { width, height } = canvas;
|
||||
console.error(error, { width, height });
|
||||
setErrorMessage(error.message);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
return (
|
||||
<Excalidraw
|
||||
ref={excalidrawRef}
|
||||
onChange={onChange}
|
||||
width={dimensions.width}
|
||||
height={dimensions.height}
|
||||
initialData={initialStatePromiseRef.current.promise}
|
||||
user={{ name: collab.username }}
|
||||
onCollabButtonClick={collab.onCollabButtonClick}
|
||||
isCollaborating={collab.isCollaborating}
|
||||
onPointerUpdate={collab.onPointerUpdate}
|
||||
/>
|
||||
<>
|
||||
<Excalidraw
|
||||
ref={excalidrawRef}
|
||||
onChange={onChange}
|
||||
width={dimensions.width}
|
||||
height={dimensions.height}
|
||||
initialData={initialStatePromiseRef.current.promise}
|
||||
user={{ name: collab.username }}
|
||||
onCollabButtonClick={collab.onCollabButtonClick}
|
||||
isCollaborating={collab.isCollaborating}
|
||||
onPointerUpdate={collab.onPointerUpdate}
|
||||
onExportToBackend={onExportToBackend}
|
||||
/>
|
||||
{errorMessage && (
|
||||
<ErrorDialog
|
||||
message={errorMessage}
|
||||
onClose={() => setErrorMessage("")}
|
||||
/>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
9
src/global.d.ts
vendored
9
src/global.d.ts
vendored
@@ -46,15 +46,6 @@ type MarkOptional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
|
||||
type MarkRequired<T, RK extends keyof T> = Exclude<T, RK> &
|
||||
Required<Pick<T, RK>>;
|
||||
|
||||
type UnionToIntersection<T> = (T extends any ? (x: T) => any : never) extends (
|
||||
x: infer R,
|
||||
) => any
|
||||
? R
|
||||
: never;
|
||||
|
||||
/** Assert K is a subset of T, and returns K */
|
||||
type AssertSubset<T, K extends T> = K;
|
||||
|
||||
// PNG encoding/decoding
|
||||
// -----------------------------------------------------------------------------
|
||||
type TEXtChunk = { name: "tEXt"; data: Uint8Array };
|
||||
|
||||
@@ -2,6 +2,8 @@ import { AppState } from "./types";
|
||||
import { ExcalidrawElement } from "./element/types";
|
||||
import { isLinearElement } from "./element/typeChecks";
|
||||
import { deepCopyElement } from "./element/newElement";
|
||||
import { getDateTime } from "./utils";
|
||||
import { t } from "./i18n";
|
||||
|
||||
export interface HistoryEntry {
|
||||
appState: ReturnType<typeof clearAppStatePropertiesForHistory>;
|
||||
@@ -24,7 +26,7 @@ const clearAppStatePropertiesForHistory = (appState: AppState) => {
|
||||
viewBackgroundColor: appState.viewBackgroundColor,
|
||||
editingLinearElement: appState.editingLinearElement,
|
||||
editingGroupId: appState.editingGroupId,
|
||||
name: appState.name,
|
||||
name: appState.name || `${t("labels.untitled")}-${getDateTime()}`,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import { EVENT_CHANGE, trackEvent } from "./analytics";
|
||||
import fallbackLanguageData from "./locales/en.json";
|
||||
import percentages from "./locales/percentages.json";
|
||||
|
||||
const COMPLETION_THRESHOLD_TO_EXCEED = 85;
|
||||
const COMPLETION_THRESHOLD = 85;
|
||||
|
||||
interface Language {
|
||||
lng: string;
|
||||
@@ -34,6 +34,7 @@ const allLanguages: Language[] = [
|
||||
{ lng: "nl-NL", label: "Nederlands" },
|
||||
{ lng: "nn-NO", label: "Norsk nynorsk" },
|
||||
{ lng: "pl-PL", label: "Polski" },
|
||||
{ lng: "pt-BR", label: "Português Brasileiro" },
|
||||
{ lng: "pt-PT", label: "Português" },
|
||||
{ lng: "ro-RO", label: "Română" },
|
||||
{ lng: "ru-RU", label: "Русский" },
|
||||
@@ -51,8 +52,7 @@ export const languages: Language[] = [{ lng: "en", label: "English" }]
|
||||
)
|
||||
.filter(
|
||||
(lang) =>
|
||||
(percentages as Record<string, number>)[lang.lng] >
|
||||
COMPLETION_THRESHOLD_TO_EXCEED,
|
||||
(percentages as Record<string, number>)[lang.lng] >= COMPLETION_THRESHOLD,
|
||||
);
|
||||
|
||||
let currentLanguage = languages[0];
|
||||
|
||||
@@ -9,6 +9,7 @@ export const CODES = {
|
||||
BRACKET_RIGHT: "BracketRight",
|
||||
BRACKET_LEFT: "BracketLeft",
|
||||
ONE: "Digit1",
|
||||
TWO: "Digit2",
|
||||
NINE: "Digit9",
|
||||
QUOTE: "Quote",
|
||||
ZERO: "Digit0",
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "تحديد الكل",
|
||||
"multiSelect": "إضافة عنصر للتحديد",
|
||||
"moveCanvas": "نقل لوح رسم",
|
||||
"cut": "",
|
||||
"copy": "نسخ",
|
||||
"copyAsPng": "نسخ إلى الحافظة بصيغة PNG",
|
||||
"copyAsSvg": "نسخ بصيغة SVG",
|
||||
@@ -28,10 +29,15 @@
|
||||
"edges": "الحواف",
|
||||
"sharp": "حادة",
|
||||
"round": "دائرية",
|
||||
"arrowheads": "",
|
||||
"arrowhead_none": "",
|
||||
"arrowhead_arrow": "",
|
||||
"arrowhead_bar": "",
|
||||
"arrowhead_dot": "",
|
||||
"fontSize": "حجم الخط",
|
||||
"fontFamily": "نوع الخط",
|
||||
"onlySelected": "المحدد فقط",
|
||||
"withBackground": "مع الخلفية",
|
||||
"withBackground": "",
|
||||
"exportEmbedScene": "تضمين المشهد في ملف التصدير",
|
||||
"exportEmbedScene_details": "سيتم حفظ بيانات المشهد في ملف PNG/SVG المصدّر بحيث يمكن استعادة المشهد منه.\nسيزيد حجم الملف المصدر.",
|
||||
"addWatermark": "إضافة \"مصنوعة بواسطة Excalidraw\"",
|
||||
@@ -70,10 +76,11 @@
|
||||
"group": "تحديد مجموعة",
|
||||
"ungroup": "إلغاء تحديد مجموعة",
|
||||
"collaborators": "المتعاونون",
|
||||
"toggleGridMode": "التبديل إلى وضع الشبكة",
|
||||
"gridMode": "",
|
||||
"addToLibrary": "أضف إلى المكتبة",
|
||||
"removeFromLibrary": "حذف من المكتبة",
|
||||
"libraryLoadingMessage": "جارٍ تحميل المكتبة...",
|
||||
"libraries": "",
|
||||
"loadingScene": "جاري تحميل المشهد...",
|
||||
"align": "محاذاة",
|
||||
"alignTop": "محاذاة إلى اﻷعلى",
|
||||
@@ -110,9 +117,10 @@
|
||||
"redo": "إعادة تنفيذ",
|
||||
"roomDialog": "بدء المشاركة الحية",
|
||||
"createNewRoom": "إنشاء غرفة جديدة",
|
||||
"toggleFullScreen": "التبديل لوضع ملء الشاشة",
|
||||
"toggleDarkMode": "تبديل الوضع الليلي",
|
||||
"toggleZenMode": "تبديل الوضع الليلي",
|
||||
"fullScreen": "",
|
||||
"darkMode": "",
|
||||
"lightMode": "",
|
||||
"zenMode": "",
|
||||
"exitZenMode": "إلغاء الوضع الليلى"
|
||||
},
|
||||
"alerts": {
|
||||
@@ -128,7 +136,7 @@
|
||||
"loadSceneOverridePrompt": "تحميل الرسم الخارجي سيحل محل المحتوى الموجود لديك. هل ترغب في المتابعة؟",
|
||||
"errorLoadingLibrary": "حصل خطأ أثناء تحميل مكتبة الطرف الثالث.",
|
||||
"confirmAddLibrary": "هذا سيضيف {{numShapes}} شكل إلى مكتبتك. هل أنت متأكد؟",
|
||||
"imageDoesNotContainScene": "لا يحتوي ملف الصورة على بيانات المشهد. هل قمت بتمكين هذا أثناء التصدير؟",
|
||||
"imageDoesNotContainScene": "",
|
||||
"cannotRestoreFromImage": "تعذر استعادة المشهد من ملف الصورة"
|
||||
},
|
||||
"toolBar": {
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "انقر واسحب، افرج عند الانتهاء",
|
||||
"text": "نصيحة: يمكنك أيضًا إضافة نص بالنقر المزدوج في أي مكان بأداة الاختيار",
|
||||
"linearElementMulti": "انقر فوق النقطة الأخيرة أو اضغط على Esc أو Enter للإنهاء",
|
||||
"lockAngle": "",
|
||||
"resize": "يمكنك تقييد النسب بالضغط على SHIFT أثناء تغيير الحجم،\nاضغط على ALT لتغيير الحجم من المركز",
|
||||
"rotate": "يمكنك تقييد الزوايا من خلال الضغط على SHIFT أثناء الدوران",
|
||||
"lineEditor_info": "انقر نقراً مزدوجاً أو اضغط Enter لتعديل النقاط",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "إضافة سطر جديد (نص)",
|
||||
"textFinish": "الانتهاء من تحرير (النص)",
|
||||
"zoomToFit": "تكبير لتلائم جميع العناصر",
|
||||
"zoomToSelection": "",
|
||||
"preventBinding": "منع ربط السهم"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "رسوماتك مشفرة من النهاية إلى النهاية حتى أن خوادم Excalidraw لن تراها أبدا."
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "قمت بلصق جدول بيانات دون عمود رقمي.",
|
||||
"tooManyColumns": "قمت بلصق جدول بيانات دون عمود رقمي."
|
||||
"stats": {
|
||||
"angle": "",
|
||||
"element": "",
|
||||
"elements": "",
|
||||
"height": "",
|
||||
"scene": "",
|
||||
"selected": "",
|
||||
"storage": "",
|
||||
"title": "",
|
||||
"total": "",
|
||||
"width": ""
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "Маркирай всичко",
|
||||
"multiSelect": "",
|
||||
"moveCanvas": "",
|
||||
"cut": "",
|
||||
"copy": "Копирай",
|
||||
"copyAsPng": "Копиране в клипборда",
|
||||
"copyAsSvg": "Копиране в клипборда",
|
||||
@@ -28,10 +29,15 @@
|
||||
"edges": "",
|
||||
"sharp": "",
|
||||
"round": "",
|
||||
"arrowheads": "",
|
||||
"arrowhead_none": "",
|
||||
"arrowhead_arrow": "Стрелка",
|
||||
"arrowhead_bar": "",
|
||||
"arrowhead_dot": "",
|
||||
"fontSize": "Размер на шрифта",
|
||||
"fontFamily": "Семейство шрифтове",
|
||||
"onlySelected": "Само избраното",
|
||||
"withBackground": "С фон",
|
||||
"withBackground": "",
|
||||
"exportEmbedScene": "",
|
||||
"exportEmbedScene_details": "",
|
||||
"addWatermark": "",
|
||||
@@ -70,10 +76,11 @@
|
||||
"group": "",
|
||||
"ungroup": "",
|
||||
"collaborators": "",
|
||||
"toggleGridMode": "",
|
||||
"gridMode": "",
|
||||
"addToLibrary": "",
|
||||
"removeFromLibrary": "",
|
||||
"libraryLoadingMessage": "",
|
||||
"libraries": "",
|
||||
"loadingScene": "",
|
||||
"align": "",
|
||||
"alignTop": "",
|
||||
@@ -110,9 +117,10 @@
|
||||
"redo": "Повтори",
|
||||
"roomDialog": "Започнете сътрудничество на живо",
|
||||
"createNewRoom": "Създай нова стая",
|
||||
"toggleFullScreen": "Превключване на цял екран",
|
||||
"toggleDarkMode": "",
|
||||
"toggleZenMode": "",
|
||||
"fullScreen": "",
|
||||
"darkMode": "",
|
||||
"lightMode": "",
|
||||
"zenMode": "",
|
||||
"exitZenMode": ""
|
||||
},
|
||||
"alerts": {
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "",
|
||||
"text": "",
|
||||
"linearElementMulti": "Кликнете върху последната точка или натиснете Escape или Enter, за да завършите",
|
||||
"lockAngle": "",
|
||||
"resize": "",
|
||||
"rotate": "Можете да ограничите ъглите, като държите SHIFT, докато се въртите",
|
||||
"lineEditor_info": "",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "Добавяне на нов ред (текст)",
|
||||
"textFinish": "Завършете редактиране (текст)",
|
||||
"zoomToFit": "",
|
||||
"zoomToSelection": "",
|
||||
"preventBinding": ""
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": ""
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "",
|
||||
"tooManyColumns": ""
|
||||
"stats": {
|
||||
"angle": "",
|
||||
"element": "",
|
||||
"elements": "",
|
||||
"height": "",
|
||||
"scene": "",
|
||||
"selected": "",
|
||||
"storage": "",
|
||||
"title": "",
|
||||
"total": "",
|
||||
"width": ""
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "Seleccionar tot",
|
||||
"multiSelect": "Afegir element a la selecció",
|
||||
"moveCanvas": "Moure el llenç",
|
||||
"cut": "",
|
||||
"copy": "Copiar",
|
||||
"copyAsPng": "Copiar al porta-retalls com a PNG",
|
||||
"copyAsSvg": "Copiar al porta-retalls com a SVG",
|
||||
@@ -28,10 +29,15 @@
|
||||
"edges": "Vores",
|
||||
"sharp": "Agut",
|
||||
"round": "Arrodonit",
|
||||
"arrowheads": "",
|
||||
"arrowhead_none": "",
|
||||
"arrowhead_arrow": "",
|
||||
"arrowhead_bar": "",
|
||||
"arrowhead_dot": "",
|
||||
"fontSize": "Mida de lletra",
|
||||
"fontFamily": "Tipus de lletra",
|
||||
"onlySelected": "Només seleccionats",
|
||||
"withBackground": "Amb fons",
|
||||
"withBackground": "",
|
||||
"exportEmbedScene": "",
|
||||
"exportEmbedScene_details": "",
|
||||
"addWatermark": "Afegir \"Fet amb Excalidraw\"",
|
||||
@@ -70,10 +76,11 @@
|
||||
"group": "Agrupar la selecció",
|
||||
"ungroup": "Desagrupar la selecció",
|
||||
"collaborators": "Col·laboradors",
|
||||
"toggleGridMode": "Commutar línies de graella",
|
||||
"gridMode": "",
|
||||
"addToLibrary": "Afegir a la biblioteca",
|
||||
"removeFromLibrary": "Eliminar de la biblioteca",
|
||||
"libraryLoadingMessage": "Carregant la biblioteca...",
|
||||
"libraries": "",
|
||||
"loadingScene": "Carregant escena ...",
|
||||
"align": "",
|
||||
"alignTop": "",
|
||||
@@ -110,9 +117,10 @@
|
||||
"redo": "Refer",
|
||||
"roomDialog": "Començar col·laboració en directe",
|
||||
"createNewRoom": "Crear sala nova",
|
||||
"toggleFullScreen": "Commutar pantalla completa",
|
||||
"toggleDarkMode": "Commutar modo fosc",
|
||||
"toggleZenMode": "Commutar modo zen",
|
||||
"fullScreen": "",
|
||||
"darkMode": "",
|
||||
"lightMode": "",
|
||||
"zenMode": "",
|
||||
"exitZenMode": "Sortir de modo zen"
|
||||
},
|
||||
"alerts": {
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "Fer clic i arrosegar, deixar anar al punt final",
|
||||
"text": "Consell: també pots afegir text fent doble clic a qualsevol lloc amb l'eina de selecció",
|
||||
"linearElementMulti": "Fer clic a l'ultim punt, o polsar Escape o Enter per acabar",
|
||||
"lockAngle": "",
|
||||
"resize": "Per restringir les proporcions mentres es canvia la mida, mantenir premut el majúscul (SHIFT); per canviar la mida des del centre, mantenir premut ALT",
|
||||
"rotate": "Per restringir els angles mentre gira, mantenir premut el majúscul (SHIFT)",
|
||||
"lineEditor_info": "Fes doble clic o premi Enter per editar punts",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "Afegir línea nova (text)",
|
||||
"textFinish": "Acabar d'editar (text)",
|
||||
"zoomToFit": "Zoom per veure tots els elements",
|
||||
"zoomToSelection": "",
|
||||
"preventBinding": "Prevenir vinculació de la fletxa"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "Els vostres dibuixos estan xifrats de punta a punta de manera que els servidors d’Excalidraw no els veuran mai."
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "Has enganxat un full de càlcul sense columna numèrica.",
|
||||
"tooManyColumns": "Has enganxat un full de càlcul amb més de dues columnes."
|
||||
"stats": {
|
||||
"angle": "",
|
||||
"element": "",
|
||||
"elements": "",
|
||||
"height": "",
|
||||
"scene": "",
|
||||
"selected": "",
|
||||
"storage": "",
|
||||
"title": "",
|
||||
"total": "",
|
||||
"width": ""
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "Alle auswählen",
|
||||
"multiSelect": "Element zur Auswahl hinzufügen",
|
||||
"moveCanvas": "Leinwand verschieben",
|
||||
"cut": "Ausschneiden",
|
||||
"copy": "Kopieren",
|
||||
"copyAsPng": "In Zwischenablage kopieren (PNG)",
|
||||
"copyAsSvg": "In Zwischenablage kopieren (SVG)",
|
||||
@@ -28,6 +29,11 @@
|
||||
"edges": "Kanten",
|
||||
"sharp": "Eckig",
|
||||
"round": "Rund",
|
||||
"arrowheads": "Pfeilspitzen",
|
||||
"arrowhead_none": "Keine",
|
||||
"arrowhead_arrow": "Pfeil",
|
||||
"arrowhead_bar": "Balken",
|
||||
"arrowhead_dot": "Punkt",
|
||||
"fontSize": "Schriftgröße",
|
||||
"fontFamily": "Schriftfamilie",
|
||||
"onlySelected": "Nur ausgewählte",
|
||||
@@ -70,10 +76,11 @@
|
||||
"group": "Auswahl gruppieren",
|
||||
"ungroup": "Gruppierung aufheben",
|
||||
"collaborators": "Mitarbeitende",
|
||||
"toggleGridMode": "Gitterlinien ein-/ausschalten",
|
||||
"gridMode": "Rastermodus",
|
||||
"addToLibrary": "Zur Bibliothek hinzufügen",
|
||||
"removeFromLibrary": "Aus Bibliothek entfernen",
|
||||
"libraryLoadingMessage": "Lade Bibliothek...",
|
||||
"libraries": "Bibliotheken durchsuchen",
|
||||
"loadingScene": "Lade Zeichnung...",
|
||||
"align": "Ausrichten",
|
||||
"alignTop": "Obere Kanten",
|
||||
@@ -110,9 +117,10 @@
|
||||
"redo": "Wiederholen",
|
||||
"roomDialog": "Live-Kollaborationssitzung starten",
|
||||
"createNewRoom": "Neuen Raum erstellen",
|
||||
"toggleFullScreen": "Vollbild umschalten",
|
||||
"toggleDarkMode": "Dunkles Design umschalten",
|
||||
"toggleZenMode": "Zen-Modus umschalten",
|
||||
"fullScreen": "Vollbildanzeige",
|
||||
"darkMode": "Dunkles Design",
|
||||
"lightMode": "Helles Design",
|
||||
"zenMode": "Zen-Modus",
|
||||
"exitZenMode": "Zen-Modus verlassen"
|
||||
},
|
||||
"alerts": {
|
||||
@@ -128,7 +136,7 @@
|
||||
"loadSceneOverridePrompt": "Das Laden der externen Zeichnung ersetzt den vorhandenen Inhalt. Möchtest Du fortfahren?",
|
||||
"errorLoadingLibrary": "Beim Laden der Drittanbieter-Bibliothek ist ein Fehler aufgetreten.",
|
||||
"confirmAddLibrary": "Dieses fügt {{numShapes}} Form(en) zu deiner Bibliothek hinzu. Bist du sicher?",
|
||||
"imageDoesNotContainScene": "Bilddatei enthält keine Zeichnungsdaten. Hast du das Einbetten beim Export aktiviert?",
|
||||
"imageDoesNotContainScene": "Das Importieren von Bildern wird derzeit nicht unterstützt.\n\nMöchtest du eine Szene importieren? Dieses Bild scheint keine Zeichnungsdaten zu enthalten. Hast du dies beim Exportieren aktiviert?",
|
||||
"cannotRestoreFromImage": "Die Zeichnung konnte aus dieser Bilddatei nicht wiederhergestellt werden"
|
||||
},
|
||||
"toolBar": {
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "Klicke und ziehe. Lass los, wenn du fertig bist",
|
||||
"text": "Tipp: Du kannst auch Text hinzufügen indem Du mit dem Auswahlwerkzeug auf eine beliebige Stelle doppelklickst",
|
||||
"linearElementMulti": "Zum Beenden auf den letzten Punkt klicken oder Escape oder Eingabe drücken",
|
||||
"lockAngle": "Du kannst Winkel einschränken, indem du SHIFT gedrückt hältst",
|
||||
"resize": "Du kannst die Proportionen einschränken, indem du SHIFT während der Größenänderung gedrückt hältst. Halte ALT gedrückt, um die Größe vom Zentrum aus zu ändern",
|
||||
"rotate": "Du kannst Winkel einschränken, indem du SHIFT während der Drehung gedrückt hältst",
|
||||
"lineEditor_info": "Doppelklicken oder Eingabetaste drücken, um Punkte zu bearbeiten",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "Neue Zeile hinzufügen (Text)",
|
||||
"textFinish": "Bearbeiten beenden (Text)",
|
||||
"zoomToFit": "Zoomen um alle Elemente einzupassen",
|
||||
"zoomToSelection": "Zoomauswahl",
|
||||
"preventBinding": "Pfeil-Bindung verhindern"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "Da deine Zeichnungen Ende-zu-Ende verschlüsselt werden, sehen auch unsere Excalidraw-Server sie niemals."
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "Du hast eine Tabelle ohne numerische Spalte eingefügt.",
|
||||
"tooManyColumns": "Du hast eine Tabelle mit mehr als zwei Spalten eingefügt."
|
||||
"stats": {
|
||||
"angle": "Winkel",
|
||||
"element": "Element",
|
||||
"elements": "Elemente",
|
||||
"height": "Höhe",
|
||||
"scene": "Zeichnung",
|
||||
"selected": "Ausgewählt",
|
||||
"storage": "Speicher",
|
||||
"title": "Statistiken für Nerds",
|
||||
"total": "Gesamt",
|
||||
"width": "Breite"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "Επιλογή όλων",
|
||||
"multiSelect": "Προσθέστε το στοιχείο στην επιλογή",
|
||||
"moveCanvas": "Μετακίνηση καμβά",
|
||||
"cut": "Αποκοπή",
|
||||
"copy": "Αντιγραφή",
|
||||
"copyAsPng": "Αντιγραφή στο πρόχειρο ως PNG",
|
||||
"copyAsSvg": "Αντιγραφή στο πρόχειρο ως SVG",
|
||||
@@ -28,10 +29,15 @@
|
||||
"edges": "Άκρες",
|
||||
"sharp": "Οξύ",
|
||||
"round": "Στρογγυλό",
|
||||
"arrowheads": "Σύμβολα βελών",
|
||||
"arrowhead_none": "Κανένα",
|
||||
"arrowhead_arrow": "Βέλος",
|
||||
"arrowhead_bar": "Μπάρα",
|
||||
"arrowhead_dot": "Τελεία",
|
||||
"fontSize": "Μέγεθος γραμματοσειράς",
|
||||
"fontFamily": "Γραμματοσειρά",
|
||||
"onlySelected": "Μόνο τα Επιλεγμένα",
|
||||
"withBackground": "Με Φόντο",
|
||||
"withBackground": "Με φόντο",
|
||||
"exportEmbedScene": "Ενσωμάτωση της σκηνής στο αρχείο προς εξαγωγή",
|
||||
"exportEmbedScene_details": "Τα δεδομένα σκηνής θα αποθηκευτούν στο αρχείο PNG/SVG προς εξαγωγή ώστε η σκηνή να είναι δυνατό να αποκατασταθεί από αυτό.\nΘα αυξήσει το μέγεθος του αρχείου προς εξαγωγή.",
|
||||
"addWatermark": "Προσθήκη \"Φτιαγμένο με Excalidraw\"",
|
||||
@@ -70,10 +76,11 @@
|
||||
"group": "Δημιουργία ομάδας από επιλογή",
|
||||
"ungroup": "Κατάργηση ομάδας από επιλογή",
|
||||
"collaborators": "Συνεργάτες",
|
||||
"toggleGridMode": "Εναλλαγή λειτουργίας πλέγματος",
|
||||
"gridMode": "Εμφάνιση σε πλέγμα",
|
||||
"addToLibrary": "Προσθήκη στη βιβλιοθήκη",
|
||||
"removeFromLibrary": "Αφαίρεση από τη βιβλιοθήκη",
|
||||
"libraryLoadingMessage": "Φόρτωση βιβλιοθήκης...",
|
||||
"libraries": "Άλλες βιβλιοθήκες",
|
||||
"loadingScene": "Φόρτωση σκηνής...",
|
||||
"align": "Στοίχιση",
|
||||
"alignTop": "Στοίχιση πάνω",
|
||||
@@ -110,9 +117,10 @@
|
||||
"redo": "Επαναφορά",
|
||||
"roomDialog": "Έναρξη ζωντανής συνεργασίας",
|
||||
"createNewRoom": "Δημιουργία νέου χώρου",
|
||||
"toggleFullScreen": "Εναλλαγή πλήρους οθόνης",
|
||||
"toggleDarkMode": "Εναλλαγή εμφάνισης σε dark",
|
||||
"toggleZenMode": "Εναλλαγή λειτουργίας Zen",
|
||||
"fullScreen": "Πλήρης οθόνη",
|
||||
"darkMode": "Σκοτεινή λειτουργία",
|
||||
"lightMode": "Φωτεινή λειτουργία",
|
||||
"zenMode": "Λειτουργία Zεν",
|
||||
"exitZenMode": "Έξοδος απο την λειτουργία Zen"
|
||||
},
|
||||
"alerts": {
|
||||
@@ -128,7 +136,7 @@
|
||||
"loadSceneOverridePrompt": "Η φόρτωση εξωτερικού σχεδίου θα αντικαταστήσει το υπάρχον περιεχόμενο. Επιθυμείτε να συνεχίσετε;",
|
||||
"errorLoadingLibrary": "Υπήρξε ένα σφάλμα κατά τη φόρτωση της βιβλιοθήκης τρίτου μέρους.",
|
||||
"confirmAddLibrary": "Αυτό θα προσθέσει {{numShapes}} σχήμα(τα) στη βιβιλιοθήκη σας. Είστε σίγουροι;",
|
||||
"imageDoesNotContainScene": "Το αρχείο εικόνας δεν έχει δεδομένα σκηνής. Το είχατε ενεργοποιήσει αυτό κατά την εξαγωγή;",
|
||||
"imageDoesNotContainScene": "",
|
||||
"cannotRestoreFromImage": "Η σκηνή δεν ήταν δυνατό να αποκατασταθεί από αυτό το αρχείο εικόνας"
|
||||
},
|
||||
"toolBar": {
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "Κάντε κλικ και σύρατε, απελευθερώσατε όταν έχετε τελειώσει",
|
||||
"text": "Tip: μπορείτε επίσης να προσθέστε κείμενο με διπλό-κλικ οπουδήποτε με το εργαλείο επιλογών",
|
||||
"linearElementMulti": "Κάνε κλικ στο τελευταίο σημείο ή πάτησε Escape ή Enter για να τελειώσεις",
|
||||
"lockAngle": "",
|
||||
"resize": "Μπορείς να περιορίσεις τις αναλογίες κρατώντας το SHIFT ενώ αλλάζεις μέγεθος,\nκράτησε πατημένο το ALT για αλλαγή μεγέθους από το κέντρο",
|
||||
"rotate": "Μπορείς να περιορίσεις τις γωνίες κρατώντας πατημένο το πλήκτρο SHIFT κατά την περιστροφή",
|
||||
"lineEditor_info": "Διπλό-κλικ ή πιέστε Enter για να επεξεργαστείτε τα σημεία",
|
||||
@@ -161,7 +170,7 @@
|
||||
},
|
||||
"canvasError": {
|
||||
"cannotShowPreview": "",
|
||||
"canvasTooBig": "",
|
||||
"canvasTooBig": "Ο καμβάς μπορεί να είναι μεγάλος.",
|
||||
"canvasTooBigTip": ""
|
||||
},
|
||||
"errorSplash": {
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "Προσθήκη νέας γραμμής (κείμενο)",
|
||||
"textFinish": "Ολοκλήρωση επεξεργασίας (κείμενο)",
|
||||
"zoomToFit": "Zoom ώστε να χωρέσουν όλα τα στοιχεία",
|
||||
"zoomToSelection": "",
|
||||
"preventBinding": "Αποτροπή δέσμευσης βέλων"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "Τα σχέδιά σου είναι κρυπτογραφημένα από άκρο σε άκρο, έτσι δεν θα έιναι ποτέ ορατά μέσα από τους διακομιστές του Excalidraw."
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "Επικόλλησες ένα υπολογιστικό φύλλο χωρίς αριθμητική στήλη.",
|
||||
"tooManyColumns": "Επικόλλησες ένα υπολογιστικό φύλλο με περισσότερες από δύο στήλες."
|
||||
"stats": {
|
||||
"angle": "Γωνία",
|
||||
"element": "Στοιχείο",
|
||||
"elements": "Στοιχεία",
|
||||
"height": "Ύψος",
|
||||
"scene": "Σκηνή",
|
||||
"selected": "Επιλεγμένα",
|
||||
"storage": "Χώρος",
|
||||
"title": "Στατιστικά για σπασίκλες",
|
||||
"total": "Σύνολο ",
|
||||
"width": "Πλάτος"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
"fontSize": "Font size",
|
||||
"fontFamily": "Font family",
|
||||
"onlySelected": "Only selected",
|
||||
"withBackground": "With Background",
|
||||
"withBackground": "With background",
|
||||
"exportEmbedScene": "Embed scene into exported file",
|
||||
"exportEmbedScene_details": "Scene data will be saved into the exported PNG/SVG file so that the scene can be restored from it.\nWill increase exported file size.",
|
||||
"addWatermark": "Add \"Made with Excalidraw\"",
|
||||
@@ -76,8 +76,7 @@
|
||||
"group": "Group selection",
|
||||
"ungroup": "Ungroup selection",
|
||||
"collaborators": "Collaborators",
|
||||
"toggleGridMode": "Toggle grid mode",
|
||||
"toggleStats": "Toggle stats for nerds",
|
||||
"gridMode": "Grid mode",
|
||||
"addToLibrary": "Add to library",
|
||||
"removeFromLibrary": "Remove from library",
|
||||
"libraryLoadingMessage": "Loading library...",
|
||||
@@ -118,9 +117,10 @@
|
||||
"redo": "Redo",
|
||||
"roomDialog": "Start live collaboration",
|
||||
"createNewRoom": "Create new room",
|
||||
"toggleFullScreen": "Toggle full screen",
|
||||
"toggleDarkMode": "Toggle dark mode",
|
||||
"toggleZenMode": "Toggle zen mode",
|
||||
"fullScreen": "Full screen",
|
||||
"darkMode": "Dark mode",
|
||||
"lightMode": "Light mode",
|
||||
"zenMode": "Zen mode",
|
||||
"exitZenMode": "Exit zen mode"
|
||||
},
|
||||
"alerts": {
|
||||
@@ -136,7 +136,7 @@
|
||||
"loadSceneOverridePrompt": "Loading external drawing will replace your existing content. Do you wish to continue?",
|
||||
"errorLoadingLibrary": "There was an error loading the third party library.",
|
||||
"confirmAddLibrary": "This will add {{numShapes}} shape(s) to your library. Are you sure?",
|
||||
"imageDoesNotContainScene": "Image file doesn't contain scene data. Have you enabled this during export?",
|
||||
"imageDoesNotContainScene": "Importing images isn't supported at the moment.\n\nDid you want to import a scene? This image does not seem to contain any scene data. Have you enabled this during export?",
|
||||
"cannotRestoreFromImage": "Scene couldn't be restored from this image file"
|
||||
},
|
||||
"toolBar": {
|
||||
@@ -161,6 +161,7 @@
|
||||
"freeDraw": "Click and drag, release when you're finished",
|
||||
"text": "Tip: you can also add text by double-clicking anywhere with the selection tool",
|
||||
"linearElementMulti": "Click on last point or press Escape or Enter to finish",
|
||||
"lockAngle": "You can constrain angle by holding SHIFT",
|
||||
"resize": "You can constrain proportions by holding SHIFT while resizing,\nhold ALT to resize from the center",
|
||||
"rotate": "You can constrain angles by holding SHIFT while rotating",
|
||||
"lineEditor_info": "Double-click or press Enter to edit points",
|
||||
@@ -213,6 +214,7 @@
|
||||
"textNewLine": "Add new line (text)",
|
||||
"textFinish": "Finish editing (text)",
|
||||
"zoomToFit": "Zoom to fit all elements",
|
||||
"zoomToSelection": "Zoom to selection",
|
||||
"preventBinding": "Prevent arrow binding"
|
||||
},
|
||||
"encrypted": {
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "Seleccionar todo",
|
||||
"multiSelect": "Añadir elemento a la selección",
|
||||
"moveCanvas": "Mover el lienzo",
|
||||
"cut": "Cortar",
|
||||
"copy": "Copiar",
|
||||
"copyAsPng": "Copiar al portapapeles como PNG",
|
||||
"copyAsSvg": "Copiar al portapapeles como SVG",
|
||||
@@ -28,12 +29,17 @@
|
||||
"edges": "Bordes",
|
||||
"sharp": "Afilado",
|
||||
"round": "Redondo",
|
||||
"arrowheads": "Puntas de flecha",
|
||||
"arrowhead_none": "Vacía",
|
||||
"arrowhead_arrow": "Flecha",
|
||||
"arrowhead_bar": "Barra",
|
||||
"arrowhead_dot": "Punto",
|
||||
"fontSize": "Tamaño de la fuente",
|
||||
"fontFamily": "Tipo de fuente",
|
||||
"onlySelected": "Sólo seleccionados",
|
||||
"withBackground": "Con fondo",
|
||||
"exportEmbedScene": "",
|
||||
"exportEmbedScene_details": "",
|
||||
"exportEmbedScene": "Insertar escena en el archivo exportado",
|
||||
"exportEmbedScene_details": "Los datos de escena se guardarán en el archivo PNG/SVG exportado para que la escena pueda ser restaurada de ella.\nIncrementará el tamaño del archivo exportado.",
|
||||
"addWatermark": "Agregar \"Hecho con Excalidraw\"",
|
||||
"handDrawn": "Dibujado a mano",
|
||||
"normal": "Normal",
|
||||
@@ -54,7 +60,7 @@
|
||||
"architect": "Arquitecto",
|
||||
"artist": "Artista",
|
||||
"cartoonist": "Caricatura",
|
||||
"fileTitle": "",
|
||||
"fileTitle": "Título del archivo",
|
||||
"colorPicker": "Selector de color",
|
||||
"canvasBackground": "Fondo del lienzo",
|
||||
"drawingCanvas": "Lienzo de dibujo",
|
||||
@@ -63,27 +69,28 @@
|
||||
"language": "Idioma",
|
||||
"createRoom": "Compartir una sesión de colaboración en vivo",
|
||||
"duplicateSelection": "Duplicar",
|
||||
"untitled": "",
|
||||
"untitled": "Sin título",
|
||||
"name": "Nombre",
|
||||
"yourName": "Tu nombre",
|
||||
"madeWithExcalidraw": "Hecho con Excalidraw",
|
||||
"group": "Selección de grupo",
|
||||
"ungroup": "Desagrupar",
|
||||
"collaborators": "Colaboradores",
|
||||
"toggleGridMode": "Alternar modo cuadrícula",
|
||||
"gridMode": "Modo cuadrícula",
|
||||
"addToLibrary": "Añadir a la biblioteca",
|
||||
"removeFromLibrary": "Eliminar de la biblioteca",
|
||||
"libraryLoadingMessage": "Cargando biblioteca...",
|
||||
"libraries": "Explorar librerías",
|
||||
"loadingScene": "Cargando escena...",
|
||||
"align": "",
|
||||
"alignTop": "",
|
||||
"alignBottom": "",
|
||||
"alignLeft": "",
|
||||
"alignRight": "",
|
||||
"centerVertically": "",
|
||||
"centerHorizontally": "",
|
||||
"distributeHorizontally": "",
|
||||
"distributeVertically": ""
|
||||
"align": "Alinear",
|
||||
"alignTop": "Alinear arriba",
|
||||
"alignBottom": "Alinear abajo",
|
||||
"alignLeft": "Alinear a la izquierda",
|
||||
"alignRight": "Alinear a la derecha",
|
||||
"centerVertically": "Centrar verticalmente",
|
||||
"centerHorizontally": "Centrar horizontalmente",
|
||||
"distributeHorizontally": "Distribuir horizontalmente",
|
||||
"distributeVertically": "Distribuir verticalmente"
|
||||
},
|
||||
"buttons": {
|
||||
"clearReset": "Limpiar lienzo y reiniciar el color de fondo",
|
||||
@@ -110,15 +117,16 @@
|
||||
"redo": "Rehacer",
|
||||
"roomDialog": "Iniciar colaboración en vivo",
|
||||
"createNewRoom": "Crear nueva sala",
|
||||
"toggleFullScreen": "Alternar pantalla completa",
|
||||
"toggleDarkMode": "Cambiar a modo oscuro",
|
||||
"toggleZenMode": "Alternar modo zen",
|
||||
"fullScreen": "Pantalla completa",
|
||||
"darkMode": "Modo oscuro",
|
||||
"lightMode": "Modo claro",
|
||||
"zenMode": "Modo Zen",
|
||||
"exitZenMode": "Salir del modo Zen"
|
||||
},
|
||||
"alerts": {
|
||||
"clearReset": "Esto limpiará todo el lienzo. Estás seguro?",
|
||||
"couldNotCreateShareableLink": "No se pudo crear un enlace para compartir.",
|
||||
"couldNotCreateShareableLinkTooBig": "",
|
||||
"couldNotCreateShareableLinkTooBig": "No se pudo crear el enlace para compartir: la escena es demasiado grande",
|
||||
"couldNotLoadInvalidFile": "No se pudo cargar el archivo inválido",
|
||||
"importBackendFailed": "La importación falló.",
|
||||
"cannotExportEmptyCanvas": "No se puede exportar un lienzo vació",
|
||||
@@ -128,8 +136,8 @@
|
||||
"loadSceneOverridePrompt": "Si carga este dibujo externo, reemplazará el que tiene. ¿Desea continuar?",
|
||||
"errorLoadingLibrary": "Se ha producido un error al cargar la biblioteca de terceros.",
|
||||
"confirmAddLibrary": "Esto añadirá {{numShapes}} forma(s) a tu biblioteca. ¿Estás seguro?",
|
||||
"imageDoesNotContainScene": "",
|
||||
"cannotRestoreFromImage": ""
|
||||
"imageDoesNotContainScene": "La importación de imágenes no está soportada en este momento.\n\n¿Querías importar una escena? Esta imagen no parece contener ningún dato de escena. ¿Lo ha activado durante la exportación?",
|
||||
"cannotRestoreFromImage": "No se pudo restaurar la escena desde este archivo de imagen"
|
||||
},
|
||||
"toolBar": {
|
||||
"selection": "Selección",
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "Haz clic y arrastra, suelta al terminar",
|
||||
"text": "Consejo: también puedes añadir texto haciendo doble clic en cualquier lugar con la herramienta de selección",
|
||||
"linearElementMulti": "Haga clic en el último punto o pulse Escape o Enter para finalizar",
|
||||
"lockAngle": "",
|
||||
"resize": "Para mantener las proporciones mantén SHIFT presionado mientras modificas el tamaño, \nmantén presionado ALT para modificar el tamaño desde el centro",
|
||||
"rotate": "Puede restringir los ángulos manteniendo presionado SHIFT mientras gira",
|
||||
"lineEditor_info": "haga doble clic o pulse Enter para editar puntos",
|
||||
@@ -160,9 +169,9 @@
|
||||
"lineEditor_nothingSelected": "Seleccione un punto para mover o eliminar, o mantenga pulsado Alt y haga clic para añadir nuevos puntos"
|
||||
},
|
||||
"canvasError": {
|
||||
"cannotShowPreview": "",
|
||||
"canvasTooBig": "",
|
||||
"canvasTooBigTip": ""
|
||||
"cannotShowPreview": "No se puede mostrar la vista previa",
|
||||
"canvasTooBig": "El lienzo podría ser demasiado grande.",
|
||||
"canvasTooBigTip": "Sugerencia: intenta acercar un poco los elementos más lejanos."
|
||||
},
|
||||
"errorSplash": {
|
||||
"headingMain_pre": "Se encontró un error. Intente ",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "Añadir nueva línea (texto)",
|
||||
"textFinish": "Finalizar edición (texto)",
|
||||
"zoomToFit": "Ajustar para mostrar todos los elementos",
|
||||
"zoomToSelection": "Hacer zoom a la selección",
|
||||
"preventBinding": "Evitar enlace de flecha"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "Tus dibujos están cifrados de punto a punto, por lo que los servidores de Excalidraw nunca los verán."
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "Pegaste una hoja de cálculo sin una columna numérica.",
|
||||
"tooManyColumns": "Pegaste una hoja de cálculo con más de dos columnas."
|
||||
"stats": {
|
||||
"angle": "Ángulo",
|
||||
"element": "Elemento",
|
||||
"elements": "Elementos",
|
||||
"height": "Alto",
|
||||
"scene": "Escena",
|
||||
"selected": "Seleccionado",
|
||||
"storage": "Almacenamiento",
|
||||
"title": "",
|
||||
"total": "Total",
|
||||
"width": "Ancho"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "انتخاب همه",
|
||||
"multiSelect": "یک ایتم به انتخاب شده ها اضافه کنید.",
|
||||
"moveCanvas": "بوم را حرکت بدهید",
|
||||
"cut": "",
|
||||
"copy": "کپی",
|
||||
"copyAsPng": "کپی در حافطه موقت به صورت PNG",
|
||||
"copyAsSvg": "کپی در حافطه موقت به صورت SVG",
|
||||
@@ -28,10 +29,15 @@
|
||||
"edges": "لبه ها",
|
||||
"sharp": "تیز",
|
||||
"round": "دور",
|
||||
"arrowheads": "",
|
||||
"arrowhead_none": "",
|
||||
"arrowhead_arrow": "",
|
||||
"arrowhead_bar": "",
|
||||
"arrowhead_dot": "",
|
||||
"fontSize": "اندازه قلم",
|
||||
"fontFamily": "نوع قلم",
|
||||
"onlySelected": "فقط انتخاب شده ها",
|
||||
"withBackground": "با پس زمینه",
|
||||
"withBackground": "",
|
||||
"exportEmbedScene": "قرار دادن صحنه در فایل خروجی",
|
||||
"exportEmbedScene_details": "متحوای صحنه به فایل خروجی SVG/PNG اضافه خواهد شد برای بازیابی صحنه به آن اضافه خواهد شد.\nباعث افزایش حجم فایل خروجی میشود.",
|
||||
"addWatermark": "\"ساخته شده با Excalidraw\" را اضافه کن",
|
||||
@@ -70,10 +76,11 @@
|
||||
"group": "گروهبندی انتخابها",
|
||||
"ungroup": "حذف گروهبندی انتخابها",
|
||||
"collaborators": "همکاران",
|
||||
"toggleGridMode": "سويچ خطوط راهنما",
|
||||
"gridMode": "",
|
||||
"addToLibrary": "افزودن به کتابخانه",
|
||||
"removeFromLibrary": "حذف از کتابخانه",
|
||||
"libraryLoadingMessage": "بارگذاری کتابخانه...",
|
||||
"libraries": "",
|
||||
"loadingScene": "باگذاری صحنه...",
|
||||
"align": "تراز",
|
||||
"alignTop": "تراز به بالا",
|
||||
@@ -110,9 +117,10 @@
|
||||
"redo": "از سر",
|
||||
"roomDialog": "همکاری آنلاین را شروع کنید",
|
||||
"createNewRoom": "ایجاد یک اتاق جدید",
|
||||
"toggleFullScreen": "تغییر به حالت تمام صفحه",
|
||||
"toggleDarkMode": "تغییر به حالت تاریک",
|
||||
"toggleZenMode": "تغییر به حالت تمرکز",
|
||||
"fullScreen": "",
|
||||
"darkMode": "",
|
||||
"lightMode": "",
|
||||
"zenMode": "",
|
||||
"exitZenMode": "خروج از حالت تمرکز"
|
||||
},
|
||||
"alerts": {
|
||||
@@ -128,7 +136,7 @@
|
||||
"loadSceneOverridePrompt": "بارگزاری یک طرح خارجی محتوای فعلی رو از بین میبرد. آیا میخواهید ادامه دهید؟",
|
||||
"errorLoadingLibrary": "خطایی در بارگذاری کتابخانه ثالث وجود داشت.",
|
||||
"confirmAddLibrary": "{{numShapes}} از اشکال به کتابخانه شما اضافه خواهد شد. مطمئن هستید؟",
|
||||
"imageDoesNotContainScene": "فایل تصویر دارای محتوای صحنه نیست. آیا در هنگام خروجی گرفتن آن را فعال کردهاید؟",
|
||||
"imageDoesNotContainScene": "",
|
||||
"cannotRestoreFromImage": "صحنه را نمی توان از این فایل تصویری بازیابی کرد"
|
||||
},
|
||||
"toolBar": {
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "کلیک کنید و بکشید و وقتی کار تمام شد رها کنید",
|
||||
"text": "نکته: با برنامه انتخاب شده شما میتوانید با دوبار کلیک کردن هرکجا میخواید متن اظاف کنید",
|
||||
"linearElementMulti": "روی آخرین نقطه کلیک کنید یا کلید ESC را بزنید یا کلید Enter را بزنید برای اتمام کار",
|
||||
"lockAngle": "",
|
||||
"resize": "می توانید با نگه داشتن SHIFT در هنگام تغییر اندازه، نسبت ها را محدود کنید،ALT را برای تغییر اندازه از مرکز نگه دارید",
|
||||
"rotate": "با نگه داشتن SHIFT هنگام چرخش می توانید زاویه ها را محدود کنید",
|
||||
"lineEditor_info": "دوبار کلیک کنید یا Enter را فشار دهید تا نقاط را ویرایش کنید",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "یک خط جدید اضافه کنید (متن)",
|
||||
"textFinish": "پایان ویرایش (متن)",
|
||||
"zoomToFit": "بزرگنمایی برای دیدن تمام آیتم ها",
|
||||
"zoomToSelection": "",
|
||||
"preventBinding": "مانع شدن از چسبیدن فلش ها"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "شما در یک محیط رمزگزاری شده دو طرفه در حال طراحی هستید پس Excalidraw هرگز طرح های شما را نمیبند."
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "شما یک صفحه گسترده را بدون ستون عددی کپی کرده اید.",
|
||||
"tooManyColumns": "شما یک صفحه گسترده را با بیش از دو ستون کپی کرده اید."
|
||||
"stats": {
|
||||
"angle": "",
|
||||
"element": "",
|
||||
"elements": "",
|
||||
"height": "",
|
||||
"scene": "",
|
||||
"selected": "",
|
||||
"storage": "",
|
||||
"title": "",
|
||||
"total": "",
|
||||
"width": ""
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "Valitse kaikki",
|
||||
"multiSelect": "Lisää kohde valintaan",
|
||||
"moveCanvas": "Siirrä piirtoaluetta",
|
||||
"cut": "Leikkaa",
|
||||
"copy": "Kopioi",
|
||||
"copyAsPng": "Kopioi leikepöydälle PNG-tiedostona",
|
||||
"copyAsSvg": "Kopioi leikepöydälle SVG-tiedostona",
|
||||
@@ -28,6 +29,11 @@
|
||||
"edges": "Reunat",
|
||||
"sharp": "Terävä",
|
||||
"round": "Pyöreä",
|
||||
"arrowheads": "Nuolenkärjet",
|
||||
"arrowhead_none": "Ei mitään",
|
||||
"arrowhead_arrow": "Nuoli",
|
||||
"arrowhead_bar": "Tasapää",
|
||||
"arrowhead_dot": "Piste",
|
||||
"fontSize": "Kirjasinkoko",
|
||||
"fontFamily": "Kirjasintyyppi",
|
||||
"onlySelected": "Vain valitut",
|
||||
@@ -70,10 +76,11 @@
|
||||
"group": "Ryhmitä valinta",
|
||||
"ungroup": "Pura valittu ryhmä",
|
||||
"collaborators": "Yhteistyökumppanit",
|
||||
"toggleGridMode": "Ruudukko päälle/pois",
|
||||
"gridMode": "Ruudukkotila",
|
||||
"addToLibrary": "Lisää kirjastoon",
|
||||
"removeFromLibrary": "Poista kirjastosta",
|
||||
"libraryLoadingMessage": "Ladataan kirjastoa...",
|
||||
"libraries": "Selaa kirjastoja",
|
||||
"loadingScene": "Ladataan työtä...",
|
||||
"align": "Tasaa",
|
||||
"alignTop": "Tasaa ylös",
|
||||
@@ -110,9 +117,10 @@
|
||||
"redo": "Tee uudelleen",
|
||||
"roomDialog": "Aloita live-yhteistyö",
|
||||
"createNewRoom": "Luo huone",
|
||||
"toggleFullScreen": "Koko näytön tila päälle/pois",
|
||||
"toggleDarkMode": "Pimeä tila päälle/pois",
|
||||
"toggleZenMode": "Zen-tila päälle",
|
||||
"fullScreen": "Koko näyttö",
|
||||
"darkMode": "Tumma tila",
|
||||
"lightMode": "Vaalea tila",
|
||||
"zenMode": "Zen-tila",
|
||||
"exitZenMode": "Poistu zen-tilasta"
|
||||
},
|
||||
"alerts": {
|
||||
@@ -128,7 +136,7 @@
|
||||
"loadSceneOverridePrompt": "Ulkopuolisen piirroksen lataaminen korvaa nykyisen sisältösi. Haluatko jatkaa?",
|
||||
"errorLoadingLibrary": "Kolmannen osapuolen kirjastoa ladattaessa tapahtui virhe.",
|
||||
"confirmAddLibrary": "Tämä lisää {{numShapes}} muotoa kirjastoosi. Oletko varma?",
|
||||
"imageDoesNotContainScene": "Kuvatiedosto ei sisällä teostietoja. Valitsitko sisällyttää ne tallennusvaiheessa?",
|
||||
"imageDoesNotContainScene": "Kuvien lisääminen ei ole tällä hetkellä mahdollista.\n\nHaluatko tuoda piirroksen? Tämä kuva ei näytä sisältävän tarvittavia tietoja. Oletko ottanut piirrostietojen tallennuksen käyttöön viennin aikana?",
|
||||
"cannotRestoreFromImage": "Teosta ei voitu palauttaa tästä kuvatiedostosta"
|
||||
},
|
||||
"toolBar": {
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "Paina ja raahaa, päästä irti kun olet valmis",
|
||||
"text": "Vinkki: voit myös lisätä tekstiä kaksoisnapsauttamalla mihin tahansa valintatyökalulla",
|
||||
"linearElementMulti": "Klikkaa viimeistä pistettä, paina Escape tai paina Enter lopettaaksesi",
|
||||
"lockAngle": "Voit rajoittaa kulmaa pitämällä SHIFT pohjassa",
|
||||
"resize": "Voit rajoittaa mittasuhteet pitämällä SHIFT pohjassa kun muutat kokoa, pidä ALT pohjassa muuttaaksesi kokoa keskipisteen suhteen",
|
||||
"rotate": "Voit rajoittaa kulman pitämällä SHIFT pohjassa pyörittäessäsi",
|
||||
"lineEditor_info": "Kaksoisnapauta tai paina Enter muokataksesi pisteitä",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "Lisää uusi rivi (teksti)",
|
||||
"textFinish": "Lopeta muokkaus (teksti)",
|
||||
"zoomToFit": "Zoomaa kaikki elementit näkyviin",
|
||||
"zoomToSelection": "Zoomaa valintaan",
|
||||
"preventBinding": "Estä nuolten sitominen"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "Piirroksesi ovat päästä päähän salattuja, joten Excalidrawin palvelimet eivät koskaan näe niitä."
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "Liitit taulukon ilman lukuja sisältävää saraketta.",
|
||||
"tooManyColumns": "Liitit taulukon, jossa on enemmän kuin kaksi saraketta."
|
||||
"stats": {
|
||||
"angle": "Kulma",
|
||||
"element": "Elementti",
|
||||
"elements": "Elementit",
|
||||
"height": "Korkeus",
|
||||
"scene": "Teos",
|
||||
"selected": "Valitut",
|
||||
"storage": "Tallennustila",
|
||||
"title": "Nörttien tilastot",
|
||||
"total": "Yhteensä",
|
||||
"width": "Leveys"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "Tout sélectionner",
|
||||
"multiSelect": "Ajouter l'élément à la sélection",
|
||||
"moveCanvas": "Déplacer le canvas",
|
||||
"cut": "Couper",
|
||||
"copy": "Copier",
|
||||
"copyAsPng": "Copier dans le presse-papier en PNG",
|
||||
"copyAsSvg": "Copier dans le presse-papier en SVG",
|
||||
@@ -28,6 +29,11 @@
|
||||
"edges": "Angles",
|
||||
"sharp": "Aigu",
|
||||
"round": "Rond",
|
||||
"arrowheads": "Extrémités de ligne",
|
||||
"arrowhead_none": "Aucun",
|
||||
"arrowhead_arrow": "Flèche",
|
||||
"arrowhead_bar": "Barre",
|
||||
"arrowhead_dot": "Point",
|
||||
"fontSize": "Taille de la police",
|
||||
"fontFamily": "Police",
|
||||
"onlySelected": "Uniquement la sélection",
|
||||
@@ -70,20 +76,21 @@
|
||||
"group": "Grouper la sélection",
|
||||
"ungroup": "Dégrouper la sélection",
|
||||
"collaborators": "Collaborateurs",
|
||||
"toggleGridMode": "Basculer le mode grille",
|
||||
"gridMode": "Mode grille",
|
||||
"addToLibrary": "Ajouter à la bibliothèque",
|
||||
"removeFromLibrary": "Supprimer de la bibliothèque",
|
||||
"libraryLoadingMessage": "Chargement de la bibliothèque...",
|
||||
"libraries": "Explorer les bibliothèques",
|
||||
"loadingScene": "Chargement de la scène...",
|
||||
"align": "Aligner",
|
||||
"align": "Alignement",
|
||||
"alignTop": "Aligner en haut",
|
||||
"alignBottom": "Aligner en bas",
|
||||
"alignLeft": "Aligner à gauche",
|
||||
"alignRight": "Aligner à droite",
|
||||
"centerVertically": "Centrer verticalement",
|
||||
"centerHorizontally": "Centrer horizontalement",
|
||||
"distributeHorizontally": "Répartir horizontalement",
|
||||
"distributeVertically": "Répartir verticalement"
|
||||
"distributeHorizontally": "Distribuer horizontalement",
|
||||
"distributeVertically": "Distribuer verticalement"
|
||||
},
|
||||
"buttons": {
|
||||
"clearReset": "Effacer le canvas & réinitialiser la couleur d'arrière-plan",
|
||||
@@ -110,9 +117,10 @@
|
||||
"redo": "Rétablir",
|
||||
"roomDialog": "Démarrer le collaboration en temps réel",
|
||||
"createNewRoom": "Créer un nouveau salon",
|
||||
"toggleFullScreen": "Activer/désactiver le mode plein écran",
|
||||
"toggleDarkMode": "Activer/désactiver le mode sombre",
|
||||
"toggleZenMode": "Activer/désactiver le mode zen",
|
||||
"fullScreen": "Plein écran",
|
||||
"darkMode": "Mode sombre",
|
||||
"lightMode": "Mode Clair",
|
||||
"zenMode": "Mode Zen",
|
||||
"exitZenMode": "Quitter le mode zen"
|
||||
},
|
||||
"alerts": {
|
||||
@@ -128,7 +136,7 @@
|
||||
"loadSceneOverridePrompt": "Le chargement d'un dessin externe remplacera votre contenu actuel. Souhaitez-vous continuer ?",
|
||||
"errorLoadingLibrary": "Une erreur s'est produite lors du chargement de la bibliothèque tierce.",
|
||||
"confirmAddLibrary": "Cela va ajouter {{numShapes}} forme(s) à votre bibliothèque. Êtes-vous sûr(e) ?",
|
||||
"imageDoesNotContainScene": "Le fichier image ne contient pas de données de scène. L'avez-vous activé lors de l'export ?",
|
||||
"imageDoesNotContainScene": "L'importation des images n'est pas prise en charge pour le moment.\n\nVoulez-vous importer une scène ? Cette image ne semble pas contenir de données de scène. Avez-vous activé cette option lors de l'exportation ?",
|
||||
"cannotRestoreFromImage": "Impossible de restaurer la scène depuis ce fichier image"
|
||||
},
|
||||
"toolBar": {
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "Cliquez et faites glissez, relâchez quand vous avez terminé",
|
||||
"text": "Astuce : vous pouvez également ajouter du texte en double-cliquant n'importe où avec l'outil de sélection",
|
||||
"linearElementMulti": "Cliquez sur le dernier point ou appuyez sur Échap ou Entrée pour terminer",
|
||||
"lockAngle": "Vous pouvez contraindre l'angle en maintenant SHIFT",
|
||||
"resize": "Vous pouvez conserver les proportions en maintenant la touche SHIFT pendant le redimensionnement,\nen maintenant la touche ALT pour redimensionner par rapport au centre",
|
||||
"rotate": "Vous pouvez contraindre les angles en maintenant MAJ enfoncé pendant la rotation",
|
||||
"lineEditor_info": "Double-cliquez ou appuyez sur Entrée pour éditer les points",
|
||||
@@ -161,8 +170,8 @@
|
||||
},
|
||||
"canvasError": {
|
||||
"cannotShowPreview": "Impossible d’afficher l’aperçu",
|
||||
"canvasTooBig": "Le tableau peut être trop grand.",
|
||||
"canvasTooBigTip": "Astuce : essayez de rapprocher un peu les éléments les plus éloignés ensemble."
|
||||
"canvasTooBig": "Le dessin est peut-être trop grand.",
|
||||
"canvasTooBigTip": "Conseil : essayez de rapprocher un peu plus les éléments les plus éloignés."
|
||||
},
|
||||
"errorSplash": {
|
||||
"headingMain_pre": "Une erreur est survenue. Essayez ",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "Ajouter une nouvelle ligne (texte)",
|
||||
"textFinish": "Terminer l'édition (texte)",
|
||||
"zoomToFit": "Zoomer pour visualiser tous les éléments",
|
||||
"zoomToSelection": "Zoom sur la sélection",
|
||||
"preventBinding": "Empêcher la liaison de la flèche"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "Vos dessins sont chiffrés de bout en bout, les serveurs d'Excalidraw ne les verront jamais."
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "Vous avez collé une feuille de calcul sans données numérique.",
|
||||
"tooManyColumns": "Vous avez collé une feuille de calcul avec plus de deux colonnes."
|
||||
"stats": {
|
||||
"angle": "Angle",
|
||||
"element": "Élément",
|
||||
"elements": "Éléments",
|
||||
"height": "Hauteur",
|
||||
"scene": "Scène",
|
||||
"selected": "Sélectionné",
|
||||
"storage": "Stockage",
|
||||
"title": "Stats pour les nerds",
|
||||
"total": "Total",
|
||||
"width": "Largeur"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,8 +2,9 @@
|
||||
"labels": {
|
||||
"paste": "הדבק",
|
||||
"selectAll": "בחר הכל",
|
||||
"multiSelect": "",
|
||||
"moveCanvas": "",
|
||||
"multiSelect": "הוסף אובייקט לבחירה",
|
||||
"moveCanvas": "הזז את הקנבס",
|
||||
"cut": "חתוך",
|
||||
"copy": "העתק",
|
||||
"copyAsPng": "העתק ללוח כ PNG",
|
||||
"copyAsSvg": "העתק ללוח כ SVG",
|
||||
@@ -25,15 +26,20 @@
|
||||
"sloppiness": "סגנון",
|
||||
"opacity": "אטימות",
|
||||
"textAlign": "יישור טקסט",
|
||||
"edges": "",
|
||||
"sharp": "",
|
||||
"round": "",
|
||||
"edges": "קצוות",
|
||||
"sharp": "חד",
|
||||
"round": "עגול",
|
||||
"arrowheads": "ראשי חצים",
|
||||
"arrowhead_none": "ללא",
|
||||
"arrowhead_arrow": "חץ",
|
||||
"arrowhead_bar": "שורה",
|
||||
"arrowhead_dot": "נקודה",
|
||||
"fontSize": "גודל גופן",
|
||||
"fontFamily": "סוג הגופן",
|
||||
"onlySelected": "רק מה שנבחר",
|
||||
"withBackground": "עם רקע",
|
||||
"exportEmbedScene": "",
|
||||
"exportEmbedScene_details": "",
|
||||
"exportEmbedScene": "שלב את התצוגה בקובץ המיוצא",
|
||||
"exportEmbedScene_details": "מידע התצוגה יישמר לקובץ המיוצא מסוג PNG/SVG כך שיהיה ניתן לשחזרה ממנו.\nהפעולה תגדיל את גודל הקובץ המיוצא.",
|
||||
"addWatermark": "הוסף \"נוצר באמצעות Excalidraw\"",
|
||||
"handDrawn": "כתב יד",
|
||||
"normal": "רגיל",
|
||||
@@ -54,7 +60,7 @@
|
||||
"architect": "ארכיטקט",
|
||||
"artist": "אמן",
|
||||
"cartoonist": "קריקטוריסט",
|
||||
"fileTitle": "",
|
||||
"fileTitle": "כותרת הקובץ",
|
||||
"colorPicker": "בחירת צבע",
|
||||
"canvasBackground": "רקע הלוח",
|
||||
"drawingCanvas": "לוח ציור",
|
||||
@@ -63,27 +69,28 @@
|
||||
"language": "שפה",
|
||||
"createRoom": "התחל שיתוף פעולה חי",
|
||||
"duplicateSelection": "שכפל",
|
||||
"untitled": "",
|
||||
"untitled": "ללא כותרת",
|
||||
"name": "שם",
|
||||
"yourName": "שם",
|
||||
"madeWithExcalidraw": "נוצר באמצעות Excalidraw",
|
||||
"group": "אחד לקבוצה",
|
||||
"ungroup": "פרק קבוצה",
|
||||
"collaborators": "",
|
||||
"toggleGridMode": "",
|
||||
"addToLibrary": "",
|
||||
"removeFromLibrary": "",
|
||||
"libraryLoadingMessage": "",
|
||||
"loadingScene": "",
|
||||
"align": "",
|
||||
"alignTop": "",
|
||||
"alignBottom": "",
|
||||
"alignLeft": "",
|
||||
"alignRight": "",
|
||||
"centerVertically": "",
|
||||
"centerHorizontally": "",
|
||||
"distributeHorizontally": "",
|
||||
"distributeVertically": ""
|
||||
"collaborators": "שותפים",
|
||||
"gridMode": "",
|
||||
"addToLibrary": "הוסף לספריה",
|
||||
"removeFromLibrary": "הסר מספריה",
|
||||
"libraryLoadingMessage": "טוען ספריה...",
|
||||
"libraries": "דפדף בספריות",
|
||||
"loadingScene": "טוען תצוגה...",
|
||||
"align": "יישר",
|
||||
"alignTop": "יישר למעלה",
|
||||
"alignBottom": "יישר למטה",
|
||||
"alignLeft": "יישר לשמאל",
|
||||
"alignRight": "יישר לימין",
|
||||
"centerVertically": "מרכז אנכית",
|
||||
"centerHorizontally": "מרכז אופקית",
|
||||
"distributeHorizontally": "חלוקה אופקית",
|
||||
"distributeVertically": "חלוקה אנכית"
|
||||
},
|
||||
"buttons": {
|
||||
"clearReset": "אפס את הלוח",
|
||||
@@ -92,9 +99,9 @@
|
||||
"exportToSvg": "יצא ל SVG",
|
||||
"copyToClipboard": "העתק ללוח",
|
||||
"copyPngToClipboard": "העתק PNG ללוח",
|
||||
"scale": "",
|
||||
"scale": "קנה מידה",
|
||||
"save": "שמור",
|
||||
"saveAs": "",
|
||||
"saveAs": "שמירה בשם",
|
||||
"load": "טען",
|
||||
"getShareableLink": "קבל קישור לשיתוף",
|
||||
"close": "סגור",
|
||||
@@ -110,26 +117,27 @@
|
||||
"redo": "בצע מחדש",
|
||||
"roomDialog": "התחל שיתוף חי",
|
||||
"createNewRoom": "צור חדר",
|
||||
"toggleFullScreen": "הפעל/הפסק מסך מלא",
|
||||
"toggleDarkMode": "",
|
||||
"toggleZenMode": "התחל/הפסק מצב תפריט מרחף",
|
||||
"fullScreen": "",
|
||||
"darkMode": "",
|
||||
"lightMode": "",
|
||||
"zenMode": "",
|
||||
"exitZenMode": "צא ממצב תפריט מרחף"
|
||||
},
|
||||
"alerts": {
|
||||
"clearReset": "פעולה זו תנקה את כל הלוח. אתה בטוח?",
|
||||
"couldNotCreateShareableLink": "לא ניתן לייצר לינק לשיתוף.",
|
||||
"couldNotCreateShareableLinkTooBig": "",
|
||||
"couldNotCreateShareableLinkTooBig": "לא הצלחנו לייצר קישור לשיתוף: התצוגה גדולה מדי",
|
||||
"couldNotLoadInvalidFile": "לא ניתן לטעון קובץ שאיננו תואם",
|
||||
"importBackendFailed": "ייבוא מהשרת נכשל.",
|
||||
"cannotExportEmptyCanvas": "לא ניתן לייצא לוח ריק.",
|
||||
"couldNotCopyToClipboard": "לא ניתן להעתיק ללוח. נסה להשתמש בדפדפן Chrome.",
|
||||
"decryptFailed": "לא ניתן לפענח מידע.",
|
||||
"uploadedSecurly": "ההעלאה הוצפנה מקצה לקצה, ולכן שרת Excalidraw וצד שלישי לא יכולים לקרוא את התוכן.",
|
||||
"loadSceneOverridePrompt": "",
|
||||
"errorLoadingLibrary": "",
|
||||
"confirmAddLibrary": "",
|
||||
"loadSceneOverridePrompt": "טעינה של ציור חיצוני תחליף את התוכן הקיים שלך. האם תרצה להמשיך?",
|
||||
"errorLoadingLibrary": "קרתה שגיאה בטעינת הספריה החיצונית.",
|
||||
"confirmAddLibrary": "הפעולה תוסיף {{numShapes}} צורה(ות) לספריה שלך. האם אתה בטוח?",
|
||||
"imageDoesNotContainScene": "",
|
||||
"cannotRestoreFromImage": ""
|
||||
"cannotRestoreFromImage": "לא הצלחנו לשחזר את התצוגה מקובץ התמונה"
|
||||
},
|
||||
"toolBar": {
|
||||
"selection": "בחירה",
|
||||
@@ -140,7 +148,7 @@
|
||||
"arrow": "חץ",
|
||||
"line": "קו",
|
||||
"text": "טקסט",
|
||||
"library": "",
|
||||
"library": "ספריה",
|
||||
"lock": "השאר את הכלי הנבחר פעיל גם לאחר סיום הציור"
|
||||
},
|
||||
"headings": {
|
||||
@@ -151,18 +159,19 @@
|
||||
"hints": {
|
||||
"linearElement": "הקלק בשביל לבחור נקודות מרובות, גרור בשביל קו בודד",
|
||||
"freeDraw": "לחץ וגרור, שחרר כשסיימת",
|
||||
"text": "",
|
||||
"text": "טיפ: אפשר להוסיף טקסט על ידי לחיצה כפולה בכל מקום עם כלי הבחירה",
|
||||
"linearElementMulti": "הקלק על הנקודה האחרונה או הקש Escape או Enter לסיום",
|
||||
"lockAngle": "",
|
||||
"resize": "ניתן להגביל פרופורציות על ידי לחיצה על SHIFT תוך כדי שינוי גודל,\nהחזק ALT בשביל לשנות גודל ביחס למרכז",
|
||||
"rotate": "ניתן להגביל זוויות על ידי לחיצה על SHIFT תוך כדי סיבוב",
|
||||
"lineEditor_info": "",
|
||||
"lineEditor_pointSelected": "",
|
||||
"lineEditor_nothingSelected": ""
|
||||
"lineEditor_info": "לחץ לחיצה כפולה או אנטר לעריכת הנקודות",
|
||||
"lineEditor_pointSelected": "לחץ על Delete להסרת נקודה, CtrlOrCmd+D לשכפל, או גרור להזזה",
|
||||
"lineEditor_nothingSelected": "בחר נקודה להזזה או הסרה, או החזק את כפתור Alt והקלק להוספת נקודות חדשות"
|
||||
},
|
||||
"canvasError": {
|
||||
"cannotShowPreview": "",
|
||||
"canvasTooBig": "",
|
||||
"canvasTooBigTip": ""
|
||||
"cannotShowPreview": "לא הצלחנו להציג את התצוגה המקדימה",
|
||||
"canvasTooBig": "הקנבס עלול להיות גדול מדי.",
|
||||
"canvasTooBigTip": "טיפ: נסה להזיז את האלמנטים הרחוקים ביותר מעט קרוב יותר יחד."
|
||||
},
|
||||
"errorSplash": {
|
||||
"headingMain_pre": "אירעה שגיאה. נסה ",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "הוסף שורה חדשה (טקסט)",
|
||||
"textFinish": "סיים עריכה (טקסט)",
|
||||
"zoomToFit": "זום להתאמת כל האלמנטים למסך",
|
||||
"preventBinding": ""
|
||||
"zoomToSelection": "התמקד בבחירה",
|
||||
"preventBinding": "מנע השתלבות חצים"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "הרישומים שלך מוצפנים מקצה לקצה כך שהשרתים של Excalidraw לא יראו אותם לעולם."
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "",
|
||||
"tooManyColumns": ""
|
||||
"stats": {
|
||||
"angle": "זווית",
|
||||
"element": "אלמנט",
|
||||
"elements": "אלמנטים",
|
||||
"height": "גובה",
|
||||
"scene": "תצוגה",
|
||||
"selected": "נבחר/ים",
|
||||
"storage": "אחסון",
|
||||
"title": "סטטיסטיקות לחנונים",
|
||||
"total": "סה״כ",
|
||||
"width": "רוחב"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "सभी चुनें",
|
||||
"multiSelect": "आकार को चयन में जोड़ें",
|
||||
"moveCanvas": "कैनवास को स्थानांतरित करें",
|
||||
"cut": "काटें",
|
||||
"copy": "प्रतिलिपि",
|
||||
"copyAsPng": "क्लिपबोर्ड पर कॉपी करें ,पीएनजी के रूप में",
|
||||
"copyAsSvg": "क्लिपबोर्ड पर कॉपी करें,एसवीजी के रूप में",
|
||||
@@ -28,6 +29,11 @@
|
||||
"edges": "किनारा",
|
||||
"sharp": "नुकीला",
|
||||
"round": "गोल",
|
||||
"arrowheads": "तीर शीर्ष",
|
||||
"arrowhead_none": "कोई भी नहीं",
|
||||
"arrowhead_arrow": "तीर",
|
||||
"arrowhead_bar": "बार",
|
||||
"arrowhead_dot": "बिंदु",
|
||||
"fontSize": "फ़ॉन्ट का आकार",
|
||||
"fontFamily": "फ़ॉन्ट का परिवार",
|
||||
"onlySelected": "केवल चयनित",
|
||||
@@ -63,17 +69,18 @@
|
||||
"language": "भाषा",
|
||||
"createRoom": "अधिवेशन",
|
||||
"duplicateSelection": "डुप्लिकेट",
|
||||
"untitled": "",
|
||||
"untitled": "अशीर्षित",
|
||||
"name": "नाम",
|
||||
"yourName": "आपका नाम",
|
||||
"madeWithExcalidraw": "मेड विथ एक्सकैलिडराव",
|
||||
"group": "समूह चयन",
|
||||
"ungroup": "समूह चयन असमूहीकृत करें",
|
||||
"collaborators": "सहयोगी",
|
||||
"toggleGridMode": "टॉगल ग्रिड मोड",
|
||||
"gridMode": "",
|
||||
"addToLibrary": "लाइब्रेरी से जोड़ें",
|
||||
"removeFromLibrary": "लाइब्रेरी से निकालें",
|
||||
"libraryLoadingMessage": "लाइब्रेरी खुल रही है",
|
||||
"libraries": "",
|
||||
"loadingScene": "दृश्य खुल रहा है",
|
||||
"align": "",
|
||||
"alignTop": "",
|
||||
@@ -110,9 +117,10 @@
|
||||
"redo": "फिर से करें",
|
||||
"roomDialog": "लाइव सहयोग शुरू करें",
|
||||
"createNewRoom": "एक नया कमरा बनाएं",
|
||||
"toggleFullScreen": "पूर्णस्क्रीन चालू करें",
|
||||
"toggleDarkMode": "",
|
||||
"toggleZenMode": "टॉगल ज़ेन मोड",
|
||||
"fullScreen": "",
|
||||
"darkMode": "",
|
||||
"lightMode": "",
|
||||
"zenMode": "",
|
||||
"exitZenMode": "जेन मोड से बाहर निकलें"
|
||||
},
|
||||
"alerts": {
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "क्लिक करें और खींचें। समाप्त करने के लिए, छोड़ो",
|
||||
"text": "",
|
||||
"linearElementMulti": "अंतिम बिंदु पर क्लिक करें या समाप्त होने के लिए एस्केप या एंटर दबाएं",
|
||||
"lockAngle": "",
|
||||
"resize": "आकार बदलते समय आप SHIFT को पकड़ कर अनुपात में कमी कर सकते हैं,\nकेंद्र से आकार बदलने के लिए ALT दबाए रखें",
|
||||
"rotate": "आप घूर्णन करते समय SHIFT पकड़कर कोणों को विवश कर सकते हैं",
|
||||
"lineEditor_info": "बिंदुओं को संपादित करने के लिए Enter पर डबल-क्लिक करें या दबाएँ",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "नई पंक्ति (पाठ) जोड़ें",
|
||||
"textFinish": "संपादन समाप्त करें (पाठ)",
|
||||
"zoomToFit": "सभी तत्वों को फिट करने के लिए ज़ूम करें",
|
||||
"zoomToSelection": "",
|
||||
"preventBinding": ""
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "आपके चित्र अंत-से-अंत एन्क्रिप्टेड हैं, इसलिए एक्सक्लूसिव्रॉव के सर्वर उन्हें कभी नहीं देखेंगे।"
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "आपने एक संख्यात्मक कॉलम के बिना एक स्प्रेडशीट चिपकाई।",
|
||||
"tooManyColumns": "आपने दो से अधिक कॉलम के साथ एक स्प्रेडशीट चिपकाई।"
|
||||
"stats": {
|
||||
"angle": "कोण",
|
||||
"element": "",
|
||||
"elements": "",
|
||||
"height": "ऊंचाई",
|
||||
"scene": "दृश्य",
|
||||
"selected": "चयनित",
|
||||
"storage": "संग्रह",
|
||||
"title": "",
|
||||
"total": "कुल",
|
||||
"width": "चौड़ाई"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,88 +2,95 @@
|
||||
"labels": {
|
||||
"paste": "Beillesztés",
|
||||
"selectAll": "Összes kijelölése",
|
||||
"multiSelect": "",
|
||||
"moveCanvas": "",
|
||||
"multiSelect": "Elem hozzáadása a kiválasztáshoz",
|
||||
"moveCanvas": "Vászon mozgatása",
|
||||
"cut": "Kivágás",
|
||||
"copy": "Másolás",
|
||||
"copyAsPng": "Vágólapra másolás mint PNG",
|
||||
"copyAsSvg": "Vágólapra másolás mint SVG",
|
||||
"bringForward": "Előrébb hozás",
|
||||
"sendToBack": "",
|
||||
"bringToFront": "",
|
||||
"sendBackward": "",
|
||||
"sendToBack": "Hátraküldés",
|
||||
"bringToFront": "Előrehozás",
|
||||
"sendBackward": "Hátrébb küldés",
|
||||
"delete": "Törlés",
|
||||
"copyStyles": "",
|
||||
"pasteStyles": "",
|
||||
"copyStyles": "Stílus másolása",
|
||||
"pasteStyles": "Stílus beillesztése",
|
||||
"stroke": "Körvonal",
|
||||
"background": "Háttér",
|
||||
"fill": "Kitöltés",
|
||||
"strokeWidth": "",
|
||||
"strokeStyle": "",
|
||||
"strokeStyle_solid": "",
|
||||
"strokeStyle_dashed": "",
|
||||
"strokeStyle_dotted": "",
|
||||
"strokeWidth": "Körvonal vastagsága",
|
||||
"strokeStyle": "Körvonal stílusa",
|
||||
"strokeStyle_solid": "Kitöltött",
|
||||
"strokeStyle_dashed": "Szaggatott",
|
||||
"strokeStyle_dotted": "Pontozott",
|
||||
"sloppiness": "Stílus",
|
||||
"opacity": "Áttetszőség",
|
||||
"textAlign": "",
|
||||
"edges": "",
|
||||
"sharp": "",
|
||||
"round": "",
|
||||
"fontSize": "",
|
||||
"fontFamily": "",
|
||||
"textAlign": "Szöveg igazítása",
|
||||
"edges": "Szélek",
|
||||
"sharp": "Éles",
|
||||
"round": "Kerek",
|
||||
"arrowheads": "Nyílhegyek",
|
||||
"arrowhead_none": "Nincs",
|
||||
"arrowhead_arrow": "Nyíl",
|
||||
"arrowhead_bar": "Oszlop",
|
||||
"arrowhead_dot": "Pont",
|
||||
"fontSize": "Betűméret",
|
||||
"fontFamily": "Betűkészlet család",
|
||||
"onlySelected": "Csak a kiválasztott",
|
||||
"withBackground": "Háttérrel együtt",
|
||||
"exportEmbedScene": "",
|
||||
"withBackground": "",
|
||||
"exportEmbedScene": "Jelenet beágyazása az exportált fájlba",
|
||||
"exportEmbedScene_details": "",
|
||||
"addWatermark": "",
|
||||
"handDrawn": "",
|
||||
"addWatermark": "Add hozzá, hogy \"Excalidraw-val készült\"",
|
||||
"handDrawn": "Kézzel rajzolt",
|
||||
"normal": "Normál",
|
||||
"code": "Code",
|
||||
"small": "Kicsi",
|
||||
"medium": "Közepes",
|
||||
"large": "Nagy",
|
||||
"veryLarge": "",
|
||||
"veryLarge": "Nagyon nagy",
|
||||
"solid": "Kitöltött",
|
||||
"hachure": "Vonalkázott",
|
||||
"crossHatch": "",
|
||||
"crossHatch": "Keresztcsíkozott",
|
||||
"thin": "Vékony",
|
||||
"bold": "Félkövér",
|
||||
"left": "Bal",
|
||||
"center": "",
|
||||
"right": "",
|
||||
"extraBold": "",
|
||||
"center": "Közép",
|
||||
"right": "Jobb",
|
||||
"extraBold": "Extra Félkövér",
|
||||
"architect": "Tervezői",
|
||||
"artist": "Művészi",
|
||||
"cartoonist": "Karikatúrás",
|
||||
"fileTitle": "",
|
||||
"fileTitle": "Fájl címe",
|
||||
"colorPicker": "Színválasztó",
|
||||
"canvasBackground": "Vászon háttérszíne",
|
||||
"drawingCanvas": "",
|
||||
"drawingCanvas": "Rajzvászon",
|
||||
"layers": "Rétegek",
|
||||
"actions": "Műveletek",
|
||||
"language": "Nyelv",
|
||||
"createRoom": "Élő együttmüködés megosztása",
|
||||
"duplicateSelection": "",
|
||||
"untitled": "",
|
||||
"duplicateSelection": "Duplikálás",
|
||||
"untitled": "Névtelen",
|
||||
"name": "Név",
|
||||
"yourName": "",
|
||||
"madeWithExcalidraw": "",
|
||||
"group": "",
|
||||
"ungroup": "",
|
||||
"collaborators": "",
|
||||
"toggleGridMode": "",
|
||||
"addToLibrary": "",
|
||||
"removeFromLibrary": "",
|
||||
"libraryLoadingMessage": "",
|
||||
"loadingScene": "",
|
||||
"align": "",
|
||||
"alignTop": "",
|
||||
"alignBottom": "",
|
||||
"alignLeft": "",
|
||||
"alignRight": "",
|
||||
"centerVertically": "",
|
||||
"centerHorizontally": "",
|
||||
"distributeHorizontally": "",
|
||||
"distributeVertically": ""
|
||||
"yourName": "Neved",
|
||||
"madeWithExcalidraw": "Excalidraw-val készült",
|
||||
"group": "Csoportosítás",
|
||||
"ungroup": "Csoportbontás",
|
||||
"collaborators": "Közreműködők",
|
||||
"gridMode": "",
|
||||
"addToLibrary": "Hozzáadás a könyvtárhoz",
|
||||
"removeFromLibrary": "Eltávólítás a könyvtárból",
|
||||
"libraryLoadingMessage": "Könyvtár betöltése...",
|
||||
"libraries": "Könyvtárak böngészése",
|
||||
"loadingScene": "Jelenet betöltése...",
|
||||
"align": "Igazítás",
|
||||
"alignTop": "Felülre igazítás",
|
||||
"alignBottom": "Alulra igazítás",
|
||||
"alignLeft": "Balra igazítás",
|
||||
"alignRight": "Jobbra igazítás",
|
||||
"centerVertically": "Függőlegesen középre igazított",
|
||||
"centerHorizontally": "Vízszintesen középre igazított",
|
||||
"distributeHorizontally": "Vízszintes elosztás",
|
||||
"distributeVertically": "Függőleges elosztás"
|
||||
},
|
||||
"buttons": {
|
||||
"clearReset": "Vászon törlése",
|
||||
@@ -92,13 +99,13 @@
|
||||
"exportToSvg": "Exportálás SVG-be",
|
||||
"copyToClipboard": "Vágólapra másolás",
|
||||
"copyPngToClipboard": "PNG másolása a vágólapra",
|
||||
"scale": "",
|
||||
"scale": "Nagyítás",
|
||||
"save": "Mentés",
|
||||
"saveAs": "",
|
||||
"saveAs": "Mentés másként",
|
||||
"load": "Betöltés",
|
||||
"getShareableLink": "Megosztható link létrehozása",
|
||||
"close": "Bezárás",
|
||||
"selectLanguage": "",
|
||||
"selectLanguage": "Nyelv kiválasztása",
|
||||
"scrollBackToContent": "Visszagörgetés a tartalomhoz",
|
||||
"zoomIn": "Nagyítás",
|
||||
"zoomOut": "Kicsinyítés",
|
||||
@@ -110,37 +117,38 @@
|
||||
"redo": "Újra végrehajtás",
|
||||
"roomDialog": "Élő együttműködés indítása",
|
||||
"createNewRoom": "Új szoba létrehozása",
|
||||
"toggleFullScreen": "",
|
||||
"toggleDarkMode": "",
|
||||
"toggleZenMode": "",
|
||||
"exitZenMode": ""
|
||||
"fullScreen": "",
|
||||
"darkMode": "",
|
||||
"lightMode": "",
|
||||
"zenMode": "",
|
||||
"exitZenMode": "Zen mód elhagyása"
|
||||
},
|
||||
"alerts": {
|
||||
"clearReset": "Ez a művelet törli a vászont. Biztos benne?",
|
||||
"couldNotCreateShareableLink": "Nem sikerült megosztható linket létrehozni.",
|
||||
"couldNotCreateShareableLinkTooBig": "",
|
||||
"couldNotLoadInvalidFile": "",
|
||||
"couldNotCreateShareableLinkTooBig": "Nem sikerült megosztható linket látrehozni: túl nagy a jelenet",
|
||||
"couldNotLoadInvalidFile": "Nem sikerült betölteni a helytelen fájlt",
|
||||
"importBackendFailed": "Nem sikerült betölteni a szerverről.",
|
||||
"cannotExportEmptyCanvas": "Üres vászont nem lehet exportálni.",
|
||||
"couldNotCopyToClipboard": "Nem sikerült vágólapra menteni. Próbálja meg Chrome böngészővel.",
|
||||
"decryptFailed": "Nem sikerült dekódolni az adatot.",
|
||||
"decryptFailed": "Nem sikerült visszafejteni a titkosított adatot.",
|
||||
"uploadedSecurly": "A feltöltést végpontok közötti titkosítással biztosítottuk, ami azt jelenti, hogy az Excalidraw szerver és harmadik felek nem tudják elolvasni a feltöltés tartalmát.",
|
||||
"loadSceneOverridePrompt": "",
|
||||
"errorLoadingLibrary": "",
|
||||
"confirmAddLibrary": "",
|
||||
"loadSceneOverridePrompt": "A betöltött külső rajz felül fogja írnia meglévőt. Szeretnéd folytatni?",
|
||||
"errorLoadingLibrary": "Hibába ütközött a harmarmadik féltől származó könyvtár betöltése.",
|
||||
"confirmAddLibrary": "Ez a művelet {{numShapes}} formát fog hozzáadni a könyvtáradhoz. Biztos vagy benne?",
|
||||
"imageDoesNotContainScene": "",
|
||||
"cannotRestoreFromImage": ""
|
||||
},
|
||||
"toolBar": {
|
||||
"selection": "Kiválasztás",
|
||||
"draw": "",
|
||||
"draw": "Szabadkézi rajz",
|
||||
"rectangle": "Téglalap",
|
||||
"diamond": "Rombusz",
|
||||
"ellipse": "Ellipszis",
|
||||
"arrow": "Nyíl",
|
||||
"line": "Vonal",
|
||||
"text": "Szöveg",
|
||||
"library": "",
|
||||
"library": "Könyvtár",
|
||||
"lock": "Rajzolás után az aktív eszközt tartsa kiválasztva"
|
||||
},
|
||||
"headings": {
|
||||
@@ -150,19 +158,20 @@
|
||||
},
|
||||
"hints": {
|
||||
"linearElement": "Kattintson a több pont elindításához, húzza az egyenes vonalhoz",
|
||||
"freeDraw": "",
|
||||
"text": "",
|
||||
"freeDraw": "Kattints és húzd, majd engedd el, amikor végeztél",
|
||||
"text": "Tipp: A kiválasztó eszközzel bárhol létrehozhatsz szöveget dupla kattintással",
|
||||
"linearElementMulti": "Kattintson az utolsó pontra, vagy nyomja meg az Escape vagy az Enter billentyűt a befejezéshez",
|
||||
"lockAngle": "",
|
||||
"resize": "",
|
||||
"rotate": "A SHIFT billentyű lenyomva tartásával korlátozhatja a szögek illesztését",
|
||||
"lineEditor_info": "",
|
||||
"lineEditor_pointSelected": "",
|
||||
"lineEditor_nothingSelected": ""
|
||||
"lineEditor_info": "Kattints duplán, vagy nyomj entert a pontok szerkesztéséhez",
|
||||
"lineEditor_pointSelected": "Nyomd meg a delete gombot a pont eltávolításához, Ctrl vagy Cmd + D-t a duplikáláshoz, vagy húzva mozgasd",
|
||||
"lineEditor_nothingSelected": "Válassz ki egy pontot a mozgatáshoz vagy törtléshez, vagy az Alt lenyomása mellett kattintva hozz létre új pontokat"
|
||||
},
|
||||
"canvasError": {
|
||||
"cannotShowPreview": "",
|
||||
"canvasTooBig": "",
|
||||
"canvasTooBigTip": ""
|
||||
"cannotShowPreview": "Előnézet nem jeleníthető meg",
|
||||
"canvasTooBig": "A vászon talán túl nagy.",
|
||||
"canvasTooBigTip": "Tipp: próbáld meg a legtávolabbi elemeket közelebb mozgazni egy máshoz."
|
||||
},
|
||||
"errorSplash": {
|
||||
"headingMain_pre": "Hiba történt. Próbálja ",
|
||||
@@ -184,34 +193,43 @@
|
||||
"button_stopSession": "Munkamenet leállítása",
|
||||
"desc_inProgressIntro": "Az élő együttműködési munkamenet folyamatban van.",
|
||||
"desc_shareLink": "Ossza meg ezt a linket bárkivel, akivel együtt szeretne működni:",
|
||||
"desc_exitSession": ""
|
||||
"desc_exitSession": "Az munkamenet leállítása kilépteti önt a szobából, de folytathatja a munkát a saját gépén. Vegye figyelembe, hogy ez nem érinti más emberek munkáját és ők továbbra is együttműködhetnek a saját változatukon."
|
||||
},
|
||||
"errorDialog": {
|
||||
"title": ""
|
||||
"title": "Hiba"
|
||||
},
|
||||
"shortcutsDialog": {
|
||||
"title": "",
|
||||
"shapes": "",
|
||||
"or": "",
|
||||
"click": "",
|
||||
"drag": "",
|
||||
"curvedArrow": "",
|
||||
"curvedLine": "",
|
||||
"editor": "",
|
||||
"view": "",
|
||||
"blog": "",
|
||||
"howto": "",
|
||||
"github": "",
|
||||
"textNewLine": "",
|
||||
"textFinish": "",
|
||||
"title": "Gyorsbillentyűk",
|
||||
"shapes": "Formák",
|
||||
"or": "vagy",
|
||||
"click": "klikk",
|
||||
"drag": "húzd",
|
||||
"curvedArrow": "Ívelt nyíl",
|
||||
"curvedLine": "Ívelt vonal",
|
||||
"editor": "Szerkesztő",
|
||||
"view": "Nézet",
|
||||
"blog": "Olvasd a blogunkat",
|
||||
"howto": "Kövesd az útmutatóinkat",
|
||||
"github": "Hibát találtál? Küld be",
|
||||
"textNewLine": "Új sor hozzáadása (szöveg)",
|
||||
"textFinish": "Szerkesztés befejezése (szöveg)",
|
||||
"zoomToFit": "",
|
||||
"zoomToSelection": "Kijelölésre nagyítás",
|
||||
"preventBinding": ""
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": ""
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "",
|
||||
"tooManyColumns": ""
|
||||
"stats": {
|
||||
"angle": "Szög",
|
||||
"element": "Elem",
|
||||
"elements": "Elemek",
|
||||
"height": "Magasság",
|
||||
"scene": "",
|
||||
"selected": "Kiválasztott",
|
||||
"storage": "Tárhely",
|
||||
"title": "",
|
||||
"total": "Összesen",
|
||||
"width": "Szélesség"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "Pilih semua",
|
||||
"multiSelect": "Tambahkan elemen ke pilihan",
|
||||
"moveCanvas": "Pindahkan kanvas",
|
||||
"cut": "Potong",
|
||||
"copy": "Salin",
|
||||
"copyAsPng": "Salin ke papan klip sebagai PNG",
|
||||
"copyAsSvg": "Salin ke papan klip sebagai SVG",
|
||||
@@ -28,10 +29,15 @@
|
||||
"edges": "Tepi",
|
||||
"sharp": "Tajam",
|
||||
"round": "Bulat",
|
||||
"arrowheads": "Mata panah",
|
||||
"arrowhead_none": "Tidak ada",
|
||||
"arrowhead_arrow": "Panah",
|
||||
"arrowhead_bar": "Batang",
|
||||
"arrowhead_dot": "Titik",
|
||||
"fontSize": "Ukuran font",
|
||||
"fontFamily": "Jenis font",
|
||||
"onlySelected": "Hanya yang Dipilih",
|
||||
"withBackground": "Dengan Latar",
|
||||
"withBackground": "Dengan latar",
|
||||
"exportEmbedScene": "Sematkan pemandangan ke dalam file yang diekspor",
|
||||
"exportEmbedScene_details": "Data pemandangan akan disimpan dalam file PNG/SVG yang diekspor, sehingga pemandangan itu dapat dipulihkan darinya.\nAkan membesarkan ukuran file yang diekspor.",
|
||||
"addWatermark": "Tambahkan \"Dibuat dengan Excalidraw\"",
|
||||
@@ -70,10 +76,11 @@
|
||||
"group": "Kelompokan pilihan",
|
||||
"ungroup": "Pisahkan pilihan",
|
||||
"collaborators": "Kolaborator",
|
||||
"toggleGridMode": "Aktifkan/Matikan mode kisi",
|
||||
"gridMode": "Mode grid",
|
||||
"addToLibrary": "Tambahkan ke pustaka",
|
||||
"removeFromLibrary": "Hapus dari pustaka",
|
||||
"libraryLoadingMessage": "Memuat pustaka...",
|
||||
"libraries": "Telusur pustaka",
|
||||
"loadingScene": "Memuat pemandangan...",
|
||||
"align": "Perataan",
|
||||
"alignTop": "Rata atas",
|
||||
@@ -110,9 +117,10 @@
|
||||
"redo": "Ulangi",
|
||||
"roomDialog": "Mulai kolaborasi langsung",
|
||||
"createNewRoom": "Buat ruang baru",
|
||||
"toggleFullScreen": "Beralih ke layar penuh",
|
||||
"toggleDarkMode": "Aktifkan/Matikan mode gelap",
|
||||
"toggleZenMode": "Aktifkan/Matikan mode zen",
|
||||
"fullScreen": "Layar penuh",
|
||||
"darkMode": "Mode gelap",
|
||||
"lightMode": "Mode terang",
|
||||
"zenMode": "Mode zen",
|
||||
"exitZenMode": "Keluar dari mode zen"
|
||||
},
|
||||
"alerts": {
|
||||
@@ -128,7 +136,7 @@
|
||||
"loadSceneOverridePrompt": "Memuat gambar external akan mengganti konten Anda yang ada. Apakah Anda ingin melanjutkan?",
|
||||
"errorLoadingLibrary": "Terdapat kesalahan dalam memuat pustaka pihak ketiga.",
|
||||
"confirmAddLibrary": "Ini akan menambahkan {{numShapes}} bentuk ke pustaka Anda. Anda yakin?",
|
||||
"imageDoesNotContainScene": "File gambar tidak berisi data pemandangan. Apa Anda sudah aktifkan ini selama ekspor?",
|
||||
"imageDoesNotContainScene": "Mengimpor gambar tidak didukung saat ini.\n\nApakah Anda ingin impor pemandangan? Gambar ini tidak berisi data pemandangan. Sudah ka Anda aktifkan ini ketika ekspor?",
|
||||
"cannotRestoreFromImage": "Pemandangan tidak dapat dipulihkan dari file gambar ini"
|
||||
},
|
||||
"toolBar": {
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "Klik dan seret, lepaskan jika Anda selesai",
|
||||
"text": "Tip: Anda juga dapat menambahkan teks dengan klik ganda di mana saja dengan alat pemilihan",
|
||||
"linearElementMulti": "Klik pada titik akhir atau tekan Escape atau Enter untuk menyelesaikan",
|
||||
"lockAngle": "Anda dapat menjaga sudut dengan menahan SHIFT",
|
||||
"resize": "Anda dapat menjaga proposi dengan menekan SHIFT sambil mengubah ukuran,\ntekan AlT untuk mengubah ukuran dari tengah",
|
||||
"rotate": "Anda dapat menjaga sudut dengan menahan SHIFT sambil memutar",
|
||||
"lineEditor_info": "Klik ganda atau tekan Enter untuk mengedit titik",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "Tambahkan baris baru (teks)",
|
||||
"textFinish": "Selesai mengedit (teks)",
|
||||
"zoomToFit": "Perbesar agar sesuai dengan semua elemen",
|
||||
"zoomToSelection": "Perbesar ke seleksi",
|
||||
"preventBinding": "Cegah pengikatan panah"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "Gambar anda terenkripsi end-to-end sehingga server Excalidraw tidak akan pernah dapat melihatnya."
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "Anda menempelkan sebuah lembar bentang tanpa sebuah kolom numerik.",
|
||||
"tooManyColumns": "Anda menempelkan sebuah lembar bentang dengan lebih dari dua kolom."
|
||||
"stats": {
|
||||
"angle": "Sudut",
|
||||
"element": "Elemen",
|
||||
"elements": "Elemen",
|
||||
"height": "Tinggi",
|
||||
"scene": "Pemandangan",
|
||||
"selected": "Terpilih",
|
||||
"storage": "Penyimpanan",
|
||||
"title": "Statistik untuk nerd",
|
||||
"total": "Total",
|
||||
"width": "Lebar"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "Seleziona tutto",
|
||||
"multiSelect": "Aggiungi elemento alla selezione",
|
||||
"moveCanvas": "Sposta tela",
|
||||
"cut": "Taglia",
|
||||
"copy": "Copia",
|
||||
"copyAsPng": "Copia negli appunti come PNG",
|
||||
"copyAsSvg": "Copia negli appunti come SVG",
|
||||
@@ -28,10 +29,15 @@
|
||||
"edges": "Bordi",
|
||||
"sharp": "Acuto",
|
||||
"round": "Rotondo",
|
||||
"arrowheads": "Punta della freccia",
|
||||
"arrowhead_none": "Nessuno",
|
||||
"arrowhead_arrow": "Freccia",
|
||||
"arrowhead_bar": "Barra",
|
||||
"arrowhead_dot": "Punto",
|
||||
"fontSize": "Dimensione carattere",
|
||||
"fontFamily": "Carattere",
|
||||
"onlySelected": "Solo selezionati",
|
||||
"withBackground": "Con Sfondo",
|
||||
"withBackground": "Con sfondo",
|
||||
"exportEmbedScene": "Incorpora la scena nel file esportato",
|
||||
"exportEmbedScene_details": "I dati della scena saranno salvati nel file PNG/SVG esportato in modo che la scena possa essere ripristinata da esso.\nQuesto aumenterà la dimensione del file esportato.",
|
||||
"addWatermark": "Aggiungi \"Creato con Excalidraw\"",
|
||||
@@ -70,10 +76,11 @@
|
||||
"group": "Crea gruppo da selezione",
|
||||
"ungroup": "Dividi gruppo da selezione",
|
||||
"collaborators": "Collaboratori",
|
||||
"toggleGridMode": "Attiva/disattiva modalità quadrícula",
|
||||
"gridMode": "Modalità griglia",
|
||||
"addToLibrary": "Aggiungi alla biblioteca",
|
||||
"removeFromLibrary": "Rimuovi dalla biblioteca",
|
||||
"libraryLoadingMessage": "Caricamento della biblioteca...",
|
||||
"libraries": "Sfoglia librerie",
|
||||
"loadingScene": "Caricamento della scena...",
|
||||
"align": "Allinea",
|
||||
"alignTop": "Allinea in alto",
|
||||
@@ -110,13 +117,14 @@
|
||||
"redo": "Ripeti",
|
||||
"roomDialog": "Inizia collaborazione in diretta",
|
||||
"createNewRoom": "Crea nuova stanza",
|
||||
"toggleFullScreen": "Attiva/Disattiva schermo intero",
|
||||
"toggleDarkMode": "Attiva tema scuro",
|
||||
"toggleZenMode": "Attiva/Disattiva modalità zen",
|
||||
"fullScreen": "Schermo intero",
|
||||
"darkMode": "Tema scuro",
|
||||
"lightMode": "Tema chiaro",
|
||||
"zenMode": "Modalità Zen",
|
||||
"exitZenMode": "Uscire dalla modalità zen"
|
||||
},
|
||||
"alerts": {
|
||||
"clearReset": "Questo cancellerà l'intera tela. Sei sicuro?",
|
||||
"clearReset": "Questa azione cancellerà l'intera tela. Sei sicuro?",
|
||||
"couldNotCreateShareableLink": "Non riesco a creare un link condivisibile.",
|
||||
"couldNotCreateShareableLinkTooBig": "Impossibile creare il link condivisibile: la scena è troppo grande",
|
||||
"couldNotLoadInvalidFile": "Impossibile caricare un file no valido",
|
||||
@@ -128,7 +136,7 @@
|
||||
"loadSceneOverridePrompt": "Se carichi questo disegno esterno, sostituirà quello che hai. Vuoi continuare?",
|
||||
"errorLoadingLibrary": "Si è verificato un errore nel caricamento della libreria di terze parti.",
|
||||
"confirmAddLibrary": "Questo aggiungerà {{numShapes}} forma(e) alla tua biblioteca. Sei sicuro?",
|
||||
"imageDoesNotContainScene": "Il file immagine non contiene dati di scena. È stato abilitato durante l'esportazione?",
|
||||
"imageDoesNotContainScene": "L'importazione di immagini al momento non è supportata.\n\nVuoi importare una scena? Questa immagine non sembra contenere alcun dato di scena. Hai abilitato questa opzione durante l'esportazione?",
|
||||
"cannotRestoreFromImage": "Impossibile ripristinare la scena da questo file immagine"
|
||||
},
|
||||
"toolBar": {
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "Clicca e trascina, rilascia quando avrai finito",
|
||||
"text": "Suggerimento: puoi anche aggiungere del testo facendo doppio clic ovunque con lo strumento di selezione",
|
||||
"linearElementMulti": "Clicca sull'ultimo punto o premi Esc o Invio per finire",
|
||||
"lockAngle": "Puoi limitare l'angolo tenendo premuto SHIFT",
|
||||
"resize": "Per vincolare le proporzioni, tenir premuto MAIUSC durante il ridimensionamento;\nper ridimensionare dal centro, tenir premuto ALT",
|
||||
"rotate": "Puoi mantenere gli angoli tenendo premuto SHIFT durante la rotazione",
|
||||
"lineEditor_info": "Fai doppio click o premi invio per modificare i punti",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "Aggiungi nuova riga (testo)",
|
||||
"textFinish": "Completa la modifica (testo)",
|
||||
"zoomToFit": "Adatta zoom per mostrare tutti gli elementi",
|
||||
"zoomToSelection": "Zoom alla selezione",
|
||||
"preventBinding": "Prevenire l'associazione freccia"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "I tuoi disegni sono crittografati end-to-end in modo che i server di Excalidraw non li possano mai vedere."
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "Hai incollato un foglio di calcolo senza una colonna numerica.",
|
||||
"tooManyColumns": "Hai incollato un foglio di calcolo con più di due colonne."
|
||||
"stats": {
|
||||
"angle": "Angolo",
|
||||
"element": "Elemento",
|
||||
"elements": "Elementi",
|
||||
"height": "Altezza",
|
||||
"scene": "Scena",
|
||||
"selected": "Selezionato",
|
||||
"storage": "Memoria",
|
||||
"title": "Statistiche per nerd",
|
||||
"total": "Totale",
|
||||
"width": "Larghezza"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "すべて選択",
|
||||
"multiSelect": "複数選択",
|
||||
"moveCanvas": "キャンバスを移動",
|
||||
"cut": "",
|
||||
"copy": "コピー",
|
||||
"copyAsPng": "PNGとしてクリップボードへコピー",
|
||||
"copyAsSvg": "SVGとしてクリップボードへコピー",
|
||||
@@ -28,10 +29,15 @@
|
||||
"edges": "角",
|
||||
"sharp": "四角",
|
||||
"round": "丸",
|
||||
"arrowheads": "",
|
||||
"arrowhead_none": "",
|
||||
"arrowhead_arrow": "",
|
||||
"arrowhead_bar": "",
|
||||
"arrowhead_dot": "",
|
||||
"fontSize": "フォントの大きさ",
|
||||
"fontFamily": "フォントの種類",
|
||||
"onlySelected": "選択中のみ",
|
||||
"withBackground": "背景を含める",
|
||||
"withBackground": "",
|
||||
"exportEmbedScene": "エクスポートされたファイルにシーンを埋め込みます",
|
||||
"exportEmbedScene_details": "シーンデータはエクスポートされたPNG/SVGファイルに保存され、シーンを復元することができます。\nエクスポートされたファイルのサイズは増加します。",
|
||||
"addWatermark": "\"Made with Excalidraw\"と表示",
|
||||
@@ -70,10 +76,11 @@
|
||||
"group": "図形のグループ化",
|
||||
"ungroup": "グループ化を解除",
|
||||
"collaborators": "共同編集者",
|
||||
"toggleGridMode": "グリッドモードに切り替える",
|
||||
"gridMode": "",
|
||||
"addToLibrary": "ライブラリに追加",
|
||||
"removeFromLibrary": "ライブラリから削除",
|
||||
"libraryLoadingMessage": "ライブラリを読み込み中...",
|
||||
"libraries": "",
|
||||
"loadingScene": "シーンを読み込み中...",
|
||||
"align": "整列",
|
||||
"alignTop": "上揃え",
|
||||
@@ -110,9 +117,10 @@
|
||||
"redo": "やり直し",
|
||||
"roomDialog": "共同編集を開始する",
|
||||
"createNewRoom": "新しい部屋を作成する",
|
||||
"toggleFullScreen": "全画面表示に切り替える",
|
||||
"toggleDarkMode": "ダークモードに切り替える",
|
||||
"toggleZenMode": "集中モードに切り替える",
|
||||
"fullScreen": "",
|
||||
"darkMode": "",
|
||||
"lightMode": "",
|
||||
"zenMode": "",
|
||||
"exitZenMode": "集中モードをやめる"
|
||||
},
|
||||
"alerts": {
|
||||
@@ -128,7 +136,7 @@
|
||||
"loadSceneOverridePrompt": "外部図面を読み込むと、既存のコンテンツが置き換わります。続行しますか?",
|
||||
"errorLoadingLibrary": "サードパーティライブラリの読み込み中にエラーが発生しました。",
|
||||
"confirmAddLibrary": "{{numShapes}} 個の図形をライブラリに追加します。よろしいですか?",
|
||||
"imageDoesNotContainScene": "画像ファイルにシーンデータが含まれていません。エクスポート中にこれを有効にしましたか?",
|
||||
"imageDoesNotContainScene": "",
|
||||
"cannotRestoreFromImage": "このイメージファイルからシーンを復元できませんでした"
|
||||
},
|
||||
"toolBar": {
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "クリックしてドラッグします。離すと終了します",
|
||||
"text": "ヒント: 選択ツールを使用して任意の場所をダブルクリックしてテキストを追加することもできます",
|
||||
"linearElementMulti": "最後のポイントをクリックするか、エスケープまたはEnterを押して終了します",
|
||||
"lockAngle": "",
|
||||
"resize": "サイズを変更中にSHIFTを押しすと比率を制御できます。Altを押すと中央からサイズを変更できます。",
|
||||
"rotate": "回転中にSHIFT キーを押すと角度を制限することができます",
|
||||
"lineEditor_info": "ポイントを編集するには、ダブルクリックまたはEnterキーを押します",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "テキストの改行",
|
||||
"textFinish": "テキストの編集を終える",
|
||||
"zoomToFit": "すべての図形が収まるよう拡大/縮小",
|
||||
"zoomToSelection": "",
|
||||
"preventBinding": "矢印を結合しない"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "描画内容はエンドツーエンド暗号化が施されており、Excalidrawサーバーが内容を見ることはできません。"
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "数値の列が存在しないスプレッドシートをペーストしました。",
|
||||
"tooManyColumns": "2列以上のスプレッドシートを貼り付けました."
|
||||
"stats": {
|
||||
"angle": "",
|
||||
"element": "",
|
||||
"elements": "",
|
||||
"height": "",
|
||||
"scene": "",
|
||||
"selected": "",
|
||||
"storage": "",
|
||||
"title": "",
|
||||
"total": "",
|
||||
"width": ""
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "전체 선택",
|
||||
"multiSelect": "선택 영역에 추가하기",
|
||||
"moveCanvas": "캔버스 이동",
|
||||
"cut": "잘라내기",
|
||||
"copy": "복사하기",
|
||||
"copyAsPng": "클립보드로 PNG 이미지 복사",
|
||||
"copyAsSvg": "클립보드로 SVG 이미지 복사",
|
||||
@@ -28,10 +29,15 @@
|
||||
"edges": "가장자리",
|
||||
"sharp": "선명하게",
|
||||
"round": "둥글게",
|
||||
"arrowheads": "화살표 모양",
|
||||
"arrowhead_none": "없음",
|
||||
"arrowhead_arrow": "화살표",
|
||||
"arrowhead_bar": "",
|
||||
"arrowhead_dot": "",
|
||||
"fontSize": "폰트 크기",
|
||||
"fontFamily": "폰트 스타일",
|
||||
"onlySelected": "선택한 항목만",
|
||||
"withBackground": "배경 포함",
|
||||
"withBackground": "",
|
||||
"exportEmbedScene": "",
|
||||
"exportEmbedScene_details": "",
|
||||
"addWatermark": "\"Made with Excalidraw\" 추가",
|
||||
@@ -70,10 +76,11 @@
|
||||
"group": "그룹 생성",
|
||||
"ungroup": "그룹 해제",
|
||||
"collaborators": "공동 작업자",
|
||||
"toggleGridMode": "격자 모드 켜기/끄기",
|
||||
"gridMode": "",
|
||||
"addToLibrary": "라이브러리에 추가",
|
||||
"removeFromLibrary": "라이브러리에서 제거",
|
||||
"libraryLoadingMessage": "라이브러리 불러오는 중...",
|
||||
"libraries": "",
|
||||
"loadingScene": "화면 불러오는 중...",
|
||||
"align": "",
|
||||
"alignTop": "",
|
||||
@@ -110,9 +117,10 @@
|
||||
"redo": "다시 실행",
|
||||
"roomDialog": "실시간 협업 시작하기",
|
||||
"createNewRoom": "방 만들기",
|
||||
"toggleFullScreen": "전체화면",
|
||||
"toggleDarkMode": "다크 모드 켜기/끄기",
|
||||
"toggleZenMode": "젠 모드 켜기/끄기",
|
||||
"fullScreen": "",
|
||||
"darkMode": "",
|
||||
"lightMode": "",
|
||||
"zenMode": "",
|
||||
"exitZenMode": "젠 모드 종료하기"
|
||||
},
|
||||
"alerts": {
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "클릭 후 드래그하세요. 완료되면 놓으세요.",
|
||||
"text": "",
|
||||
"linearElementMulti": "마지막 지점을 클릭하거나 Esc 또는 Enter 키를 눌러 완료하세요.",
|
||||
"lockAngle": "",
|
||||
"resize": "",
|
||||
"rotate": "SHIFT 키를 누르면서 회전하면 각도를 제한할 수 있습니다.",
|
||||
"lineEditor_info": "포인트를 수정하려면 두 번 클릭하거나 엔터 키를 누르세요.",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "줄바꾸기",
|
||||
"textFinish": "편집 완료",
|
||||
"zoomToFit": "",
|
||||
"zoomToSelection": "",
|
||||
"preventBinding": ""
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": ""
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "",
|
||||
"tooManyColumns": ""
|
||||
"stats": {
|
||||
"angle": "",
|
||||
"element": "",
|
||||
"elements": "",
|
||||
"height": "",
|
||||
"scene": "",
|
||||
"selected": "",
|
||||
"storage": "",
|
||||
"title": "",
|
||||
"total": "",
|
||||
"width": ""
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "အကုန်ရွေး",
|
||||
"multiSelect": "ရွေးထားသည့်ထဲပုံထည့်",
|
||||
"moveCanvas": "ကားချပ်ရွှေ့",
|
||||
"cut": "",
|
||||
"copy": "ကူး",
|
||||
"copyAsPng": "PNG အနေဖြင့်ကူး",
|
||||
"copyAsSvg": "SVG အနေဖြင့်ကူး",
|
||||
@@ -28,10 +29,15 @@
|
||||
"edges": "အစွန်း",
|
||||
"sharp": "ထောင့်ချွန်",
|
||||
"round": "ထောင့်ဝိုင်း",
|
||||
"arrowheads": "မြှားခေါင်း",
|
||||
"arrowhead_none": "ဘာမျှမရှိ",
|
||||
"arrowhead_arrow": "မြှား",
|
||||
"arrowhead_bar": "",
|
||||
"arrowhead_dot": "",
|
||||
"fontSize": "စာလုံးအရွယ်",
|
||||
"fontFamily": "စာလုံးပုံစံ",
|
||||
"onlySelected": "ရွေးထားသလောက်",
|
||||
"withBackground": "နောက်ခံပါထည့်",
|
||||
"withBackground": "",
|
||||
"exportEmbedScene": "မြင်ကွင်းပါမြှုပ်နှံ၍ထုတ်ပါ",
|
||||
"exportEmbedScene_details": "ထုတ်ယူလိုက်သော PNG/SVG ထဲမြင်ကွင်းအချက်အလက်များပါဝင်သဖြင့် ပြန်လည်ရယူနိုင်သော်လည်း ဖိုင်အရွယ်အစားကြီးပါမည်။",
|
||||
"addWatermark": "\"Excalidraw ဖြင့်ဖန်တီးသည်။\" စာသားထည့်",
|
||||
@@ -54,7 +60,7 @@
|
||||
"architect": "ဗိသုကာ",
|
||||
"artist": "ပန်းချီ",
|
||||
"cartoonist": "ကာတွန်း",
|
||||
"fileTitle": "",
|
||||
"fileTitle": "ခေါင်းစဉ်",
|
||||
"colorPicker": "အရောင်ရွေး",
|
||||
"canvasBackground": "ကားချပ်နောက်ခံ",
|
||||
"drawingCanvas": "ပုံဆွဲကားချပ်",
|
||||
@@ -63,17 +69,18 @@
|
||||
"language": "ဘာသာစကား",
|
||||
"createRoom": "တိုက်ရိုက်ပူးပေါင်းဆောင်ရွက်ရန်အဖွဲ့ဖွဲ့",
|
||||
"duplicateSelection": "ပွား",
|
||||
"untitled": "",
|
||||
"untitled": "အမည်မရှိ",
|
||||
"name": "အမည်",
|
||||
"yourName": "သင့်အမည်",
|
||||
"madeWithExcalidraw": "Excalidraw ဖြင့်ဖန်တီးသည်။",
|
||||
"group": "အုပ်စုဖွဲ့",
|
||||
"ungroup": "အုပ်စုဖျက်သိမ်း",
|
||||
"collaborators": "ပူးပေါင်းပါဝင်သူများ",
|
||||
"toggleGridMode": "ဇယားကွက်ဖော်/ဖျောက်",
|
||||
"gridMode": "",
|
||||
"addToLibrary": "မှတ်တမ်းတင်",
|
||||
"removeFromLibrary": "မှတ်တမ်းမှထုတ်",
|
||||
"libraryLoadingMessage": "မှတ်တမ်းအား တင်သွင်းနေသည်...",
|
||||
"libraries": "စာကြည့်တိုက်တွင်ရှာဖွေပါ",
|
||||
"loadingScene": "မြင်ကွင်းဖော်နေသည်...",
|
||||
"align": "ချိန်ညှိ",
|
||||
"alignTop": "ထိပ်ညှိ",
|
||||
@@ -82,8 +89,8 @@
|
||||
"alignRight": "ညာညှိ",
|
||||
"centerVertically": "ဒေါင်လိုက်အလယ်ညှိ",
|
||||
"centerHorizontally": "အလျားလိုက်အလယ်ညှိ",
|
||||
"distributeHorizontally": "",
|
||||
"distributeVertically": ""
|
||||
"distributeHorizontally": "အလျားလိုက်",
|
||||
"distributeVertically": "ထောင်လိုက်"
|
||||
},
|
||||
"buttons": {
|
||||
"clearReset": "ကားချပ်ရှင်းလင်း",
|
||||
@@ -110,9 +117,10 @@
|
||||
"redo": "ထပ်လုပ်",
|
||||
"roomDialog": "တိုက်ရိုက်ပူးပေါင်းမှုစတင်",
|
||||
"createNewRoom": "အခန်းသစ်ဖွဲ့",
|
||||
"toggleFullScreen": "မြင်ကွင်းကျယ်ဖွင့်/ပိတ်",
|
||||
"toggleDarkMode": "အလင်း/အမှောင်",
|
||||
"toggleZenMode": "ဇင်မြင်ကွင်းဖွင့်/ပိတ်",
|
||||
"fullScreen": "",
|
||||
"darkMode": "",
|
||||
"lightMode": "",
|
||||
"zenMode": "",
|
||||
"exitZenMode": "ဇင်မြင်ကွင်းမှထွက်"
|
||||
},
|
||||
"alerts": {
|
||||
@@ -128,7 +136,7 @@
|
||||
"loadSceneOverridePrompt": "လက်ရှိရေးဆွဲထားသမျှအား ပြင်ပမှတင်သွင်းသောပုံနှင့်အစားထိုးပါမည်။ ဆက်လက်ဆောင်ရွက်လိုပါသလား။",
|
||||
"errorLoadingLibrary": "ပြင်ပမှမှတ်တမ်းအားတင်သွင်းရာတွင်အမှားအယွင်းရှိနေသည်။",
|
||||
"confirmAddLibrary": "{{numShapes}} ခုသောပုံသဏ္ဌာန်အားမှတ်တမ်းတင်ပါမည်။ အတည်ပြုပါ။",
|
||||
"imageDoesNotContainScene": "ပုံတွင် မြင်ကွင်းအချက်အလက်များမပါဝင်ပါ။ ပုံထုတ်ယူချိန်တွင်ထည့်သွင်းခဲ့ပါသလား။",
|
||||
"imageDoesNotContainScene": "",
|
||||
"cannotRestoreFromImage": "ဤပုံဖြင့်မြင်ကွင်းပြန်လည်မရယူနိုင်ပါ။"
|
||||
},
|
||||
"toolBar": {
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "ကလစ်နှိပ်၍ တရွတ်ဆွဲပါ၊ ပြီးလျှင်လွှတ်ပါ။",
|
||||
"text": "မှတ်ချက်။ ။မည်သည့်ကိရိယာရွေးထားသည်ဖြစ်စေ ကလစ်နှစ်ချက်နှိပ်၍စာသားထည့်နိုင်သည်",
|
||||
"linearElementMulti": "နောက်ဆုံးအမှတ်ပေါ်တွင်ကလစ်နှိပ်ခြင်း၊ Escape (သို့) Enter နှိပ်ခြင်းတို့ဖြင့်အဆုံးသတ်နိုင်",
|
||||
"lockAngle": "",
|
||||
"resize": "အချိုးအစားကန့်သတ်ရန် Shift နှင့် ဗဟိုမှချိန်ညှိရန် Alt တို့ကိုနှိပ်ထားနိုင်သည်",
|
||||
"rotate": "Shift ကိုနှိပ်ထားခြင်းဖြင့် ထောင့်အလိုက်လှည့်နိုင်သည်",
|
||||
"lineEditor_info": "အမှတ်များပြင်ဆင်သတ်မှတ်ရင် ကလစ်နှစ်ချက် (သို့) Enter ကိုနှိပ်ပါ",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "စာသားဖြည့်သွင်း",
|
||||
"textFinish": "စာသားဖြည့်သွင်းပြီး",
|
||||
"zoomToFit": "ကားချပ်အပြည့်ဖေါ်",
|
||||
"zoomToSelection": "",
|
||||
"preventBinding": "မြှားများမပေါင်းစေရန်"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "ရေးဆွဲထားသောပုံများအား နှစ်ဘက်စွန်းတိုင်လျှို့ဝှက်ထားသဖြင့် Excalidraw ၏ဆာဗာများပင်လျှင်မြင်တွေ့ရမည်မဟုတ်ပါ။"
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "အမှတ်စဉ်ကော်လံမပါဝင်သောဇယားအားထည့်သွင်းလိုက်သည်။",
|
||||
"tooManyColumns": "ကော်လံနှစ်ခုထက်ပိုပါနေသောဇယားအားထည့်သွင်းလိုက်သည်။"
|
||||
"stats": {
|
||||
"angle": "ထောင့်",
|
||||
"element": "",
|
||||
"elements": "",
|
||||
"height": "အမြင့်",
|
||||
"scene": "မြင်ကွင်း",
|
||||
"selected": "ရွေးချယ်သည်",
|
||||
"storage": "သိုလှောင်ခန်း",
|
||||
"title": "အက္ခရာများအတွက်အချက်အလက်များ",
|
||||
"total": "စုစုပေါင်း",
|
||||
"width": "အကျယ်"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "Velg alt",
|
||||
"multiSelect": "Legg til element i utvalg",
|
||||
"moveCanvas": "Flytt lerretet",
|
||||
"cut": "Klipp ut",
|
||||
"copy": "Kopier",
|
||||
"copyAsPng": "Kopier til PNG",
|
||||
"copyAsSvg": "Kopier til utklippstavlen som SVG",
|
||||
@@ -28,10 +29,15 @@
|
||||
"edges": "Kanter",
|
||||
"sharp": "Skarp",
|
||||
"round": "Rund",
|
||||
"arrowheads": "Pilspisser",
|
||||
"arrowhead_none": "Ingen",
|
||||
"arrowhead_arrow": "Pil",
|
||||
"arrowhead_bar": "Søyle",
|
||||
"arrowhead_dot": "Prikk",
|
||||
"fontSize": "Skriftstørrelse",
|
||||
"fontFamily": "Fontfamilie",
|
||||
"onlySelected": "Kun valgte",
|
||||
"withBackground": "Inkluder bakgrunn",
|
||||
"withBackground": "Med bakgrunn",
|
||||
"exportEmbedScene": "Bygg inn scenen i den eksporterte filen",
|
||||
"exportEmbedScene_details": "Scenedata vil bli lagret i den eksporterte PNG/SVG-filen, slik at scenen kan gjenopprettes fra den.\nDet vil øke den eksporterte filstørrelsen.",
|
||||
"addWatermark": "Legg til \"Laget med Excalidraw\"",
|
||||
@@ -70,10 +76,11 @@
|
||||
"group": "Gruppér utvalg",
|
||||
"ungroup": "Avgruppér utvalg",
|
||||
"collaborators": "Samarbeidspartnere",
|
||||
"toggleGridMode": "Slå av/på rutenett",
|
||||
"gridMode": "Rutevisning",
|
||||
"addToLibrary": "Legg til i bibliotek",
|
||||
"removeFromLibrary": "Fjern fra bibliotek",
|
||||
"libraryLoadingMessage": "Laster bibliotek...",
|
||||
"libraries": "Bla gjennom biblioteker",
|
||||
"loadingScene": "Laster inn scene...",
|
||||
"align": "Juster",
|
||||
"alignTop": "Juster øverst",
|
||||
@@ -110,9 +117,10 @@
|
||||
"redo": "Gjør om",
|
||||
"roomDialog": "Start sanntids-samarbeid",
|
||||
"createNewRoom": "Opprett et nytt rom",
|
||||
"toggleFullScreen": "Skru fullskjerm av/på",
|
||||
"toggleDarkMode": "Skru mørk modus av/på",
|
||||
"toggleZenMode": "Slå av/på zen-modus",
|
||||
"fullScreen": "Fullskjerm",
|
||||
"darkMode": "Mørk modus",
|
||||
"lightMode": "Lys modus",
|
||||
"zenMode": "Zen-modus",
|
||||
"exitZenMode": "Avslutt zen-modus"
|
||||
},
|
||||
"alerts": {
|
||||
@@ -128,7 +136,7 @@
|
||||
"loadSceneOverridePrompt": "Å laste inn ekstern tegning vil erstatte det eksisterende innholdet. Ønsker du å fortsette?",
|
||||
"errorLoadingLibrary": "Det oppstod en feil under lasting av tredjepartsbiblioteket.",
|
||||
"confirmAddLibrary": "Dette vil legge til {{numShapes}} figur(er) i biblioteket ditt. Er du sikker?",
|
||||
"imageDoesNotContainScene": "Bildefilen inneholder ikke scenedata. Har du aktivert dette under eksport?",
|
||||
"imageDoesNotContainScene": "Importering av bilder støttes ikke for øyeblikket.\n\nVil du importere en scene? Dette bildet ser ikke ut til å inneholde noen scene-data. Har du aktivert dette under eksporten?",
|
||||
"cannotRestoreFromImage": "Scenen kunne ikke gjenopprettes fra denne bildefilen"
|
||||
},
|
||||
"toolBar": {
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "Klikk og dra, slipp når du er ferdig",
|
||||
"text": "Tips: du kan også legge til tekst ved å dobbeltklikke hvor som helst med utvalgsverktøyet",
|
||||
"linearElementMulti": "Klikk på siste punkt eller trykk Escape eller Enter for å fullføre",
|
||||
"lockAngle": "Du kan låse vinkelen ved å holde nede SHIFT",
|
||||
"resize": "Du kan beholde forholdet ved å trykke SHIFT mens du endrer størrelse,\ntrykk ALT for å endre størrelsen fra midten",
|
||||
"rotate": "Du kan låse vinklene ved å holde SHIFT mens du roterer",
|
||||
"lineEditor_info": "Dobbeltklikk eller trykk Enter for å redigere punkter",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "Legg til ny linje (tekst)",
|
||||
"textFinish": "Fullfør redigering (tekst)",
|
||||
"zoomToFit": "Zoom for å passe alle elementene",
|
||||
"zoomToSelection": "Zoom til utvalg",
|
||||
"preventBinding": "Forhindre pilbinding"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "Dine tegninger er ende-til-ende-krypterte slik at Excalidraw sine servere aldri vil se dem."
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "Du limte inn et regneark uten en numerisk kolonne.",
|
||||
"tooManyColumns": "Du limte inn et regneark med mer enn to kolonner."
|
||||
"stats": {
|
||||
"angle": "Vinkel",
|
||||
"element": "Element",
|
||||
"elements": "Elementer",
|
||||
"height": "Høyde",
|
||||
"scene": "Scene",
|
||||
"selected": "Valgt",
|
||||
"storage": "Lagring",
|
||||
"title": "Statistikk for nerder",
|
||||
"total": "Totalt",
|
||||
"width": "Bredde"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,11 +4,12 @@
|
||||
"selectAll": "Alles selecteren",
|
||||
"multiSelect": "Voeg element toe aan selectie",
|
||||
"moveCanvas": "Canvas verplaatsen",
|
||||
"cut": "Knip",
|
||||
"copy": "Kopiëren",
|
||||
"copyAsPng": "Kopieer als PNG",
|
||||
"copyAsSvg": "Kopieer als SVG",
|
||||
"copyAsSvg": "Kopieer naar klembord als SVG",
|
||||
"bringForward": "Breng naar voren",
|
||||
"sendToBack": "Breng naar achtergrond",
|
||||
"sendToBack": "Stuur naar achtergrond",
|
||||
"bringToFront": "Breng naar voorgrond",
|
||||
"sendBackward": "Breng naar achter",
|
||||
"delete": "Verwijderen",
|
||||
@@ -28,12 +29,17 @@
|
||||
"edges": "Randen",
|
||||
"sharp": "Hoekig",
|
||||
"round": "Rond",
|
||||
"arrowheads": "Pijlpunten",
|
||||
"arrowhead_none": "Geen",
|
||||
"arrowhead_arrow": "Pijl",
|
||||
"arrowhead_bar": "Balk",
|
||||
"arrowhead_dot": "Punt",
|
||||
"fontSize": "Tekstgrootte",
|
||||
"fontFamily": "Lettertype",
|
||||
"onlySelected": "Enkel geselecteerde",
|
||||
"withBackground": "Met achtergrond",
|
||||
"exportEmbedScene": "",
|
||||
"exportEmbedScene_details": "",
|
||||
"exportEmbedScene": "Scène in geëxporteerd bestand invoegen",
|
||||
"exportEmbedScene_details": "Scènegegevens worden in het geëxporteerde PNG/SVG-bestand opgeslagen zodat de scène kan worden hersteld.\nDe grootte van de geëxporteerde bestanden zal toenemen.",
|
||||
"addWatermark": "Voeg \"Gemaakt met Excalidraw\" toe",
|
||||
"handDrawn": "Handgetekend",
|
||||
"normal": "Normaal",
|
||||
@@ -54,7 +60,7 @@
|
||||
"architect": "Architect",
|
||||
"artist": "Artiest",
|
||||
"cartoonist": "Cartoonist",
|
||||
"fileTitle": "",
|
||||
"fileTitle": "Bestandsnaam",
|
||||
"colorPicker": "Kleurenkiezer",
|
||||
"canvasBackground": "Canvas achtergrond",
|
||||
"drawingCanvas": "Canvas",
|
||||
@@ -63,27 +69,28 @@
|
||||
"language": "Taal",
|
||||
"createRoom": "Deel een live-samenwerkingssessie",
|
||||
"duplicateSelection": "Dupliceer",
|
||||
"untitled": "",
|
||||
"untitled": "Naamloos",
|
||||
"name": "Naam",
|
||||
"yourName": "Jouw naam",
|
||||
"madeWithExcalidraw": "Gemaakt met Excalidraw",
|
||||
"group": "Groeperen",
|
||||
"ungroup": "Groep opheffen",
|
||||
"collaborators": "Deelnemers",
|
||||
"toggleGridMode": "Rasterlijnen in-/uitschakelen",
|
||||
"gridMode": "Rasterweergave",
|
||||
"addToLibrary": "Voeg toe aan bibliotheek",
|
||||
"removeFromLibrary": "Verwijder uit bibliotheek",
|
||||
"libraryLoadingMessage": "Bibliotheek laden...",
|
||||
"libraries": "Blader door bibliotheken",
|
||||
"loadingScene": "Scène laden...",
|
||||
"align": "",
|
||||
"alignTop": "",
|
||||
"alignBottom": "",
|
||||
"alignLeft": "",
|
||||
"alignRight": "",
|
||||
"centerVertically": "",
|
||||
"centerHorizontally": "",
|
||||
"distributeHorizontally": "",
|
||||
"distributeVertically": ""
|
||||
"align": "Uitlijnen",
|
||||
"alignTop": "Boven uitlijnen",
|
||||
"alignBottom": "Onder uitlijnen",
|
||||
"alignLeft": "Links uitlijnen",
|
||||
"alignRight": "Rechts uitlijnen",
|
||||
"centerVertically": "Verticaal Centreren",
|
||||
"centerHorizontally": "Horizontaal Centreren",
|
||||
"distributeHorizontally": "Horizontaal verspreiden",
|
||||
"distributeVertically": "Verticaal distribueren"
|
||||
},
|
||||
"buttons": {
|
||||
"clearReset": "Canvas opnieuw instellen",
|
||||
@@ -110,15 +117,16 @@
|
||||
"redo": "Herstel ongedaan maken",
|
||||
"roomDialog": "Live-samenwerkingssessie starten",
|
||||
"createNewRoom": "Creëer live-samenwerkingssessie",
|
||||
"toggleFullScreen": "Volledig scherm in-/uitschakelen",
|
||||
"toggleDarkMode": "Donkere modus in-/uitschakelen",
|
||||
"toggleZenMode": "Zen modus in-/uitschakelen",
|
||||
"fullScreen": "Volledig scherm",
|
||||
"darkMode": "Donkere modus",
|
||||
"lightMode": "Lichte modus",
|
||||
"zenMode": "Zen modus",
|
||||
"exitZenMode": "Verlaat zen modus"
|
||||
},
|
||||
"alerts": {
|
||||
"clearReset": "Dit zal het hele canvas verwijderen. Weet je het zeker?",
|
||||
"couldNotCreateShareableLink": "Kon geen deelbare link aanmaken.",
|
||||
"couldNotCreateShareableLinkTooBig": "",
|
||||
"couldNotCreateShareableLinkTooBig": "Kan geen deelbare link aanmaken: de scène is te groot",
|
||||
"couldNotLoadInvalidFile": "Kan ongeldig bestand niet laden",
|
||||
"importBackendFailed": "Importeren vanuit backend mislukt.",
|
||||
"cannotExportEmptyCanvas": "Kan geen leeg canvas exporteren.",
|
||||
@@ -128,8 +136,8 @@
|
||||
"loadSceneOverridePrompt": "Het laden van externe tekening zal uw bestaande inhoud vervangen. Wil je doorgaan?",
|
||||
"errorLoadingLibrary": "Bij het laden van de externe bibliotheek is een fout opgetreden.",
|
||||
"confirmAddLibrary": "Hiermee worden {{numShapes}} vorm(n) aan uw bibliotheek toegevoegd. Ben je het zeker?",
|
||||
"imageDoesNotContainScene": "",
|
||||
"cannotRestoreFromImage": ""
|
||||
"imageDoesNotContainScene": "Afbeeldingen importeren wordt op dit moment niet ondersteund.\n\nWil je een scène importeren? Deze afbeelding lijkt geen scène gegevens te bevatten. Heb je dit geactiveerd tijdens het exporteren?",
|
||||
"cannotRestoreFromImage": "Scène kan niet worden hersteld vanuit dit afbeeldingsbestand"
|
||||
},
|
||||
"toolBar": {
|
||||
"selection": "Selectie",
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "Klik en sleep, laat los als je klaar bent",
|
||||
"text": "Tip: je kunt tekst toevoegen door ergens dubbel te klikken met de selectietool",
|
||||
"linearElementMulti": "Klik op het laatste punt of druk op Escape of Enter om te stoppen",
|
||||
"lockAngle": "Je kunt de hoek beperken door SHIFT ingedrukt te houden",
|
||||
"resize": "Houd tijdens het vergroten SHIFT ingedrukt om verhoudingen te behouden,\ngebruik ALT om vanuit het midden te vergroten/verkleinen",
|
||||
"rotate": "Je kan hoeken beperken door SHIFT ingedrukt te houden wanneer je draait",
|
||||
"lineEditor_info": "Dubbelklik of druk op Enter om punten te bewerken",
|
||||
@@ -160,9 +169,9 @@
|
||||
"lineEditor_nothingSelected": "Selecteer een punt om te verplaatsen of te verwijderen, of houd Alt ingedrukt en klik om nieuwe punten toe te voegen"
|
||||
},
|
||||
"canvasError": {
|
||||
"cannotShowPreview": "",
|
||||
"canvasTooBig": "",
|
||||
"canvasTooBigTip": ""
|
||||
"cannotShowPreview": "Kan voorbeeld niet tonen",
|
||||
"canvasTooBig": "Het canvas is mogelijk te groot.",
|
||||
"canvasTooBigTip": "Tip: beweeg de verste elementen iets dichter bij elkaar."
|
||||
},
|
||||
"errorSplash": {
|
||||
"headingMain_pre": "Fout opgetreden. Probeer ",
|
||||
@@ -184,7 +193,7 @@
|
||||
"button_stopSession": "Sessie afbreken",
|
||||
"desc_inProgressIntro": "De live-samenwerkingssessie is nu gestart.",
|
||||
"desc_shareLink": "Deel deze link met iedereen waarmee je wil samenwerken:",
|
||||
"desc_exitSession": ""
|
||||
"desc_exitSession": "Het stoppen van de sessie zal je loskoppelen van de kamer, maar je kunt lokaal doorwerken met de scène.\nPas op: dit heeft geen invloed op andere mensen en dat zij nog steeds in staat zullen zijn om samen te werken aan hun versie."
|
||||
},
|
||||
"errorDialog": {
|
||||
"title": "Fout"
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "Nieuwe regel toevoegen (tekst)",
|
||||
"textFinish": "Voltooi bewerken (tekst)",
|
||||
"zoomToFit": "Zoom in op alle elementen",
|
||||
"preventBinding": ""
|
||||
"zoomToSelection": "Inzoomen op selectie",
|
||||
"preventBinding": "Pijlbinding voorkomen"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "Je tekeningen zijn beveiligd met end-to-end encryptie, dus Excalidraw's servers zullen nooit zien wat je tekent."
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "Je hebt een werkblad geplakt zonder een numerieke kolom.",
|
||||
"tooManyColumns": "Je hebt een werkblad geplakt met meer dan twee kolommen."
|
||||
"stats": {
|
||||
"angle": "Hoek",
|
||||
"element": "Element",
|
||||
"elements": "Elementen",
|
||||
"height": "Hoogte",
|
||||
"scene": "Scene",
|
||||
"selected": "Geselecteerd",
|
||||
"storage": "Opslag",
|
||||
"title": "Statistieken voor nerds",
|
||||
"total": "Totaal",
|
||||
"width": "Breedte"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "Vel alt",
|
||||
"multiSelect": "Legg til element i utval",
|
||||
"moveCanvas": "Flytt lerretet",
|
||||
"cut": "Klipp ut",
|
||||
"copy": "Kopier",
|
||||
"copyAsPng": "Kopier til utklippstavla som PNG",
|
||||
"copyAsSvg": "Kopier til utklippstavla som SVG",
|
||||
@@ -28,12 +29,17 @@
|
||||
"edges": "Kanter",
|
||||
"sharp": "Skarp",
|
||||
"round": "Rund",
|
||||
"arrowheads": "Pilhovud",
|
||||
"arrowhead_none": "Ingen",
|
||||
"arrowhead_arrow": "Pil",
|
||||
"arrowhead_bar": "Stolpe",
|
||||
"arrowhead_dot": "Prikk",
|
||||
"fontSize": "Skriftstorleik",
|
||||
"fontFamily": "Skrifttype",
|
||||
"onlySelected": "Kun valde",
|
||||
"withBackground": "Inkluder bakgrunn",
|
||||
"exportEmbedScene": "",
|
||||
"exportEmbedScene_details": "",
|
||||
"withBackground": "Med bakgrunn",
|
||||
"exportEmbedScene": "Bygg scena inn i eksportert fil",
|
||||
"exportEmbedScene_details": "Scenedataa vert lagra i den eksporterte PNG- eller SVG-fila slik at scena kan bli gjenopprettast frå den. Dette vil auke eksportert filstorleik.",
|
||||
"addWatermark": "Legg til «Laga med Excalidraw»",
|
||||
"handDrawn": "Handteikna",
|
||||
"normal": "Normal",
|
||||
@@ -54,7 +60,7 @@
|
||||
"architect": "Arkitekt",
|
||||
"artist": "Kunstnar",
|
||||
"cartoonist": "Teiknar",
|
||||
"fileTitle": "",
|
||||
"fileTitle": "Filnamn",
|
||||
"colorPicker": "Fargeveljar",
|
||||
"canvasBackground": "Lerretsbakgrunn",
|
||||
"drawingCanvas": "Lerret",
|
||||
@@ -63,27 +69,28 @@
|
||||
"language": "Språk",
|
||||
"createRoom": "Del ei sanntids-samarbeidsøkt",
|
||||
"duplicateSelection": "Dupliser",
|
||||
"untitled": "",
|
||||
"untitled": "Utan namn",
|
||||
"name": "Namn",
|
||||
"yourName": "Namnet ditt",
|
||||
"madeWithExcalidraw": "Laga med Excalidraw",
|
||||
"group": "Grupper utval",
|
||||
"ungroup": "Avgrupper utval",
|
||||
"collaborators": "Samarbeidarar",
|
||||
"toggleGridMode": "Sla på/av rutenett",
|
||||
"gridMode": "",
|
||||
"addToLibrary": "Legg til i bibliotek",
|
||||
"removeFromLibrary": "Fjern frå bibliotek",
|
||||
"libraryLoadingMessage": "Laster bibliotek...",
|
||||
"libraries": "Blad gjennom bibliotek",
|
||||
"loadingScene": "Laster scene...",
|
||||
"align": "",
|
||||
"alignTop": "",
|
||||
"alignBottom": "",
|
||||
"alignLeft": "",
|
||||
"alignRight": "",
|
||||
"centerVertically": "",
|
||||
"centerHorizontally": "",
|
||||
"distributeHorizontally": "",
|
||||
"distributeVertically": ""
|
||||
"align": "Juster",
|
||||
"alignTop": "Juster til topp",
|
||||
"alignBottom": "Juster til botn",
|
||||
"alignLeft": "Juster til venstre",
|
||||
"alignRight": "Juster til høgre",
|
||||
"centerVertically": "Midtstill vertikalt",
|
||||
"centerHorizontally": "Midtstill horisontalt",
|
||||
"distributeHorizontally": "Sprei horisontalt",
|
||||
"distributeVertically": "Sprei vertikalt"
|
||||
},
|
||||
"buttons": {
|
||||
"clearReset": "Tilbakestill lerretet",
|
||||
@@ -92,7 +99,7 @@
|
||||
"exportToSvg": "Eksporter til SVG",
|
||||
"copyToClipboard": "Kopier til utklippstavla",
|
||||
"copyPngToClipboard": "Kopier PNG til utklippstavla",
|
||||
"scale": "",
|
||||
"scale": "Skaler",
|
||||
"save": "Lagre",
|
||||
"saveAs": "Lagre som",
|
||||
"load": "Opne",
|
||||
@@ -110,15 +117,16 @@
|
||||
"redo": "Gjer om",
|
||||
"roomDialog": "Start sanntids-samarbeid",
|
||||
"createNewRoom": "Lag nytt rom",
|
||||
"toggleFullScreen": "Slå på/av fullskjerm",
|
||||
"toggleDarkMode": "Skru av/på skumringsmodus",
|
||||
"toggleZenMode": "Slå på/av zen-modus",
|
||||
"fullScreen": "",
|
||||
"darkMode": "",
|
||||
"lightMode": "",
|
||||
"zenMode": "",
|
||||
"exitZenMode": "Avslutt zen-modus"
|
||||
},
|
||||
"alerts": {
|
||||
"clearReset": "Dette vil tømme lerretet. Er du sikker?",
|
||||
"couldNotCreateShareableLink": "Kunne ikkje lage delingslenke.",
|
||||
"couldNotCreateShareableLinkTooBig": "",
|
||||
"couldNotCreateShareableLinkTooBig": "Kunne ikkje opprette deleleg lenke: scena er for stor",
|
||||
"couldNotLoadInvalidFile": "Kunne ikkje laste inn ugyldig fil",
|
||||
"importBackendFailed": "Importering av backend feila.",
|
||||
"cannotExportEmptyCanvas": "Kan ikkje eksportere eit tomt lerret.",
|
||||
@@ -129,7 +137,7 @@
|
||||
"errorLoadingLibrary": "Det oppstod ein feil under lastinga av tredjepartsbibliotek.",
|
||||
"confirmAddLibrary": "Dette vil legge til {{numShapes}} form(er) i biblioteket ditt. Er du sikker?",
|
||||
"imageDoesNotContainScene": "",
|
||||
"cannotRestoreFromImage": ""
|
||||
"cannotRestoreFromImage": "Scena kunne ikkje gjenopprettast frå denne biletfila"
|
||||
},
|
||||
"toolBar": {
|
||||
"selection": "Vel",
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "Klikk og drag, slepp når du er ferdig",
|
||||
"text": "Tips: du kan òg leggje til tekst ved å dobbeltklikke kor som helst med utvalgsverktyet",
|
||||
"linearElementMulti": "Klikk på siste punkt eller trykk Escape eller Enter for å fullføre",
|
||||
"lockAngle": "",
|
||||
"resize": "Du kan halde fram med forholdet ved å trykke SHIFT medan du endrar storleik,\ntrykk ALT for å endre storleiken frå midten",
|
||||
"rotate": "Du kan låse vinklane ved å halde SHIFT medan du roterer",
|
||||
"lineEditor_info": "Dobbeltklikk eller trykk Enter for å redigere punkt",
|
||||
@@ -160,9 +169,9 @@
|
||||
"lineEditor_nothingSelected": "Vel eit punkt å flytte eller fjerne, eller hald Alt og klikk for å legge til nye punkt"
|
||||
},
|
||||
"canvasError": {
|
||||
"cannotShowPreview": "",
|
||||
"canvasTooBig": "",
|
||||
"canvasTooBigTip": ""
|
||||
"cannotShowPreview": "Kan ikkje vise førehandsvising",
|
||||
"canvasTooBig": "Lerretet er mogleg for stort.",
|
||||
"canvasTooBigTip": "Tips: prøv å flytte elementa som er lengst frå kvarandre, litt nærare kvarandre."
|
||||
},
|
||||
"errorSplash": {
|
||||
"headingMain_pre": "Ein feil oppstod. Prøv ",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "Legg til ny linje (tekst)",
|
||||
"textFinish": "Fullfør redigering (tekst)",
|
||||
"zoomToFit": "Zoom for å sjå alle elementa",
|
||||
"zoomToSelection": "Zoom til utval",
|
||||
"preventBinding": "Hindre pilkobling"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "Teikningane dine er ende-til-ende-krypterte slik at Excalidraw sine serverar aldri får sjå dei."
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "Du limte inn eit rekneark utan ei numerisk kolonne.",
|
||||
"tooManyColumns": "Du limte inn eit rekneark med meir enn to kolonnar."
|
||||
"stats": {
|
||||
"angle": "Vinkel",
|
||||
"element": "Element",
|
||||
"elements": "Element",
|
||||
"height": "Høgde",
|
||||
"scene": "Scene",
|
||||
"selected": "Valde",
|
||||
"storage": "Lagring",
|
||||
"title": "Statistikk for nerdar",
|
||||
"total": "Totalt",
|
||||
"width": "Breidde"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,33 +1,34 @@
|
||||
{
|
||||
"ar-SA": 98,
|
||||
"bg-BG": 67,
|
||||
"ca-ES": 89,
|
||||
"ar-SA": 86,
|
||||
"bg-BG": 60,
|
||||
"ca-ES": 78,
|
||||
"de-DE": 100,
|
||||
"el-GR": 96,
|
||||
"en": 100,
|
||||
"es-ES": 89,
|
||||
"fa-IR": 98,
|
||||
"es-ES": 99,
|
||||
"fa-IR": 86,
|
||||
"fi-FI": 100,
|
||||
"fr-FR": 100,
|
||||
"he-IL": 76,
|
||||
"hi-IN": 85,
|
||||
"hu-HU": 48,
|
||||
"he-IL": 96,
|
||||
"hi-IN": 82,
|
||||
"hu-HU": 92,
|
||||
"id-ID": 100,
|
||||
"it-IT": 100,
|
||||
"ja-JP": 98,
|
||||
"ko-KR": 75,
|
||||
"my-MM": 97,
|
||||
"ja-JP": 85,
|
||||
"ko-KR": 67,
|
||||
"my-MM": 93,
|
||||
"nb-NO": 100,
|
||||
"nl-NL": 88,
|
||||
"nn-NO": 89,
|
||||
"pl-PL": 88,
|
||||
"pt-PT": 92,
|
||||
"nl-NL": 100,
|
||||
"nn-NO": 96,
|
||||
"pl-PL": 95,
|
||||
"pt-BR": 100,
|
||||
"pt-PT": 100,
|
||||
"ro-RO": 100,
|
||||
"ru-RU": 85,
|
||||
"ru-RU": 97,
|
||||
"sk-SK": 100,
|
||||
"sv-SE": 100,
|
||||
"tr-TR": 90,
|
||||
"uk-UA": 100,
|
||||
"tr-TR": 87,
|
||||
"uk-UA": 99,
|
||||
"zh-CN": 100,
|
||||
"zh-TW": 100
|
||||
"zh-TW": 99
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "Zaznacz wszystko",
|
||||
"multiSelect": "Dodaj element do zaznaczenia",
|
||||
"moveCanvas": "Przesuń obszar roboczy",
|
||||
"cut": "Wytnij",
|
||||
"copy": "Kopiuj",
|
||||
"copyAsPng": "Skopiuj do schowka jako plik PNG",
|
||||
"copyAsSvg": "Skopiuj do schowka jako plik SVG",
|
||||
@@ -28,12 +29,17 @@
|
||||
"edges": "Krawędzie",
|
||||
"sharp": "Ostry",
|
||||
"round": "Zaokrąglij",
|
||||
"arrowheads": "Groty",
|
||||
"arrowhead_none": "Brak",
|
||||
"arrowhead_arrow": "Strzałka",
|
||||
"arrowhead_bar": "",
|
||||
"arrowhead_dot": "Kropka",
|
||||
"fontSize": "Rozmiar tekstu",
|
||||
"fontFamily": "Krój pisma",
|
||||
"onlySelected": "Tylko wybrane",
|
||||
"withBackground": "Z tłem dokumentu",
|
||||
"exportEmbedScene": "",
|
||||
"exportEmbedScene_details": "",
|
||||
"withBackground": "",
|
||||
"exportEmbedScene": "Osadź scenę w eksportowanym pliku",
|
||||
"exportEmbedScene_details": "Dane sceny zostaną zapisane w eksportowanym pliku PNG/SVG tak, aby scena mogła zostać z niego przywrócona.\nZwiększy to rozmiar eksportowanego pliku.",
|
||||
"addWatermark": "Dodaj \"Zrobione w Excalidraw\"",
|
||||
"handDrawn": "Odręczny",
|
||||
"normal": "Normalny",
|
||||
@@ -54,7 +60,7 @@
|
||||
"architect": "Dokładny",
|
||||
"artist": "Artystyczny",
|
||||
"cartoonist": "Rysunkowy",
|
||||
"fileTitle": "",
|
||||
"fileTitle": "Tytuł pliku",
|
||||
"colorPicker": "Paleta kolorów",
|
||||
"canvasBackground": "Kolor dokumentu",
|
||||
"drawingCanvas": "Obszar roboczy",
|
||||
@@ -63,27 +69,28 @@
|
||||
"language": "Język",
|
||||
"createRoom": "Udostępnij sesję współpracy na żywo",
|
||||
"duplicateSelection": "Powiel",
|
||||
"untitled": "",
|
||||
"untitled": "Bez tytułu",
|
||||
"name": "Nazwa",
|
||||
"yourName": "Twoje imię",
|
||||
"madeWithExcalidraw": "Zrobione w Excalidraw",
|
||||
"group": "Zgrupuj wybrane",
|
||||
"ungroup": "Rozgrupuj wybrane",
|
||||
"collaborators": "Współtwórcy",
|
||||
"toggleGridMode": "Włącz siatkę",
|
||||
"gridMode": "Tryb siatki",
|
||||
"addToLibrary": "Dodaj do biblioteki",
|
||||
"removeFromLibrary": "Usuń z biblioteki",
|
||||
"libraryLoadingMessage": "Wczytywanie biblioteki...",
|
||||
"libraries": "Przeglądaj biblioteki",
|
||||
"loadingScene": "Ładowanie sceny...",
|
||||
"align": "",
|
||||
"alignTop": "",
|
||||
"alignBottom": "",
|
||||
"alignLeft": "",
|
||||
"alignRight": "",
|
||||
"centerVertically": "",
|
||||
"centerHorizontally": "",
|
||||
"distributeHorizontally": "",
|
||||
"distributeVertically": ""
|
||||
"align": "Wyrównaj",
|
||||
"alignTop": "Wyrównaj do góry",
|
||||
"alignBottom": "Wyrównaj do dołu",
|
||||
"alignLeft": "Wyrównaj do lewej",
|
||||
"alignRight": "Wyrównaj do prawej",
|
||||
"centerVertically": "Wyśrodkuj w pionie",
|
||||
"centerHorizontally": "Wyśrodkuj w poziomie",
|
||||
"distributeHorizontally": "Rozłóż poziomo",
|
||||
"distributeVertically": "Rozłóż pionowo"
|
||||
},
|
||||
"buttons": {
|
||||
"clearReset": "Wyczyść dokument i zresetuj kolor dokumentu",
|
||||
@@ -110,15 +117,16 @@
|
||||
"redo": "Przywróć",
|
||||
"roomDialog": "Utwórz nową sesję współpracy na żywo",
|
||||
"createNewRoom": "Utwórz nowy pokój",
|
||||
"toggleFullScreen": "Włącz/wyłącz tryb pełnoekranowy",
|
||||
"toggleDarkMode": "Włącz tryb ciemny",
|
||||
"toggleZenMode": "Włącz tryb Zen",
|
||||
"fullScreen": "",
|
||||
"darkMode": "",
|
||||
"lightMode": "",
|
||||
"zenMode": "",
|
||||
"exitZenMode": "Wyjdź z trybu Zen"
|
||||
},
|
||||
"alerts": {
|
||||
"clearReset": "To spowoduje usunięcie wszystkiego z dokumentu. Czy chcesz kontynuować?",
|
||||
"couldNotCreateShareableLink": "Wystąpił błąd przy generowaniu linka do udostępniania.",
|
||||
"couldNotCreateShareableLinkTooBig": "",
|
||||
"couldNotCreateShareableLinkTooBig": "Nie można utworzyć udostępnialnego linku: scena jest za duża",
|
||||
"couldNotLoadInvalidFile": "Nie udało się otworzyć pliku. Wybrany plik jest nieprawidłowy.",
|
||||
"importBackendFailed": "Wystąpił błąd podczas importowania pliku.",
|
||||
"cannotExportEmptyCanvas": "Najpierw musisz coś narysować, aby zapisać dokument.",
|
||||
@@ -126,10 +134,10 @@
|
||||
"decryptFailed": "Nie udało się odszyfrować danych.",
|
||||
"uploadedSecurly": "By zapewnić Ci prywatność, udostępnianie projektu jest zabezpieczone szyfrowaniem end-to-end, co oznacza, że poza tobą i osobą z którą podzielisz się linkiem, nikt nie ma dostępu do tego co udostępniasz.",
|
||||
"loadSceneOverridePrompt": "Wczytanie zewnętrznego rysunku zastąpi istniejącą zawartość. Czy chcesz kontynuować?",
|
||||
"errorLoadingLibrary": "",
|
||||
"confirmAddLibrary": "",
|
||||
"errorLoadingLibrary": "Wystąpił błąd podczas ładowania biblioteki stron trzecich.",
|
||||
"confirmAddLibrary": "To doda {{numShapes}} kształtów do twojej biblioteki. Jesteś pewien?",
|
||||
"imageDoesNotContainScene": "",
|
||||
"cannotRestoreFromImage": ""
|
||||
"cannotRestoreFromImage": "Scena nie mogła zostać przywrócona z pliku obrazu"
|
||||
},
|
||||
"toolBar": {
|
||||
"selection": "Zaznaczenie",
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "Naciśnij i przeciągnij by rysować, puść kiedy skończysz",
|
||||
"text": "Wskazówka: możesz również dodać tekst klikając dwukrotnie gdziekolwiek za pomocą narzędzia zaznaczania",
|
||||
"linearElementMulti": "Aby zakończyć krzywą, ponownie kliknij w ostatni punkt, bądź naciśnij Esc albo Enter",
|
||||
"lockAngle": "",
|
||||
"resize": "Możesz zachować proporcję trzymająć wcisnięty SHIFT, przytrzymaj ALT by zmienić rozmiar względem środka",
|
||||
"rotate": "Możesz obracać element w równych odstępach trzymając wciśnięty SHIFT",
|
||||
"lineEditor_info": "Kliknij dwukrotnie lub naciśnij Enter, aby edytować punkty",
|
||||
@@ -160,9 +169,9 @@
|
||||
"lineEditor_nothingSelected": "Naciśnij w punkt by go edytować, przytrzymaj Alt i naciśnij by dodać nowy punkt"
|
||||
},
|
||||
"canvasError": {
|
||||
"cannotShowPreview": "",
|
||||
"canvasTooBig": "",
|
||||
"canvasTooBigTip": ""
|
||||
"cannotShowPreview": "Nie można pokazać podglądu",
|
||||
"canvasTooBig": "Płótno może być za duże.",
|
||||
"canvasTooBigTip": "Wskazówka: spróbuj nieco zbliżyć najdalej wysunięte elementy."
|
||||
},
|
||||
"errorSplash": {
|
||||
"headingMain_pre": "Wystąpił błąd. Spróbuj ",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "Dodaj nową linię (tekst)",
|
||||
"textFinish": "Zakończ edycję (tekst)",
|
||||
"zoomToFit": "Powiększ, aby wyświetlić wszystkie elementy",
|
||||
"zoomToSelection": "Przybliż zaznaczenie",
|
||||
"preventBinding": "Zablokuj przywiązanie strzałek do obiektu"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "Twoje rysunki są zabezpieczone szyfrowaniem end-to-end, tak więc nawet w Excalidraw nie jesteśmy w stanie zobaczyć tego co tworzysz."
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "Wklejono arkusz kalkulacyjny bez kolumny numerycznej.",
|
||||
"tooManyColumns": "Wklejono arkusz kalkulacyjny z więcej niż dwoma kolumnami."
|
||||
"stats": {
|
||||
"angle": "Kąt",
|
||||
"element": "Element",
|
||||
"elements": "Elementy",
|
||||
"height": "Wysokość",
|
||||
"scene": "Scena",
|
||||
"selected": "Zaznaczenie",
|
||||
"storage": "Pamięć",
|
||||
"title": "Statystyki dla nerdów",
|
||||
"total": "Suma",
|
||||
"width": "Szerokość"
|
||||
}
|
||||
}
|
||||
|
||||
235
src/locales/pt-BR.json
Normal file
235
src/locales/pt-BR.json
Normal file
@@ -0,0 +1,235 @@
|
||||
{
|
||||
"labels": {
|
||||
"paste": "Colar",
|
||||
"selectAll": "Selecionar tudo",
|
||||
"multiSelect": "Adicionar elemento à seleção",
|
||||
"moveCanvas": "Mover tela",
|
||||
"cut": "Cortar",
|
||||
"copy": "Copiar",
|
||||
"copyAsPng": "Copiar para a área de transferência como PNG",
|
||||
"copyAsSvg": "Copiar para a área de transferência como SVG",
|
||||
"bringForward": "Trazer para a frente",
|
||||
"sendToBack": "Enviar para o fundo",
|
||||
"bringToFront": "Trazer para o primeiro plano",
|
||||
"sendBackward": "Enviar para trás",
|
||||
"delete": "Apagar",
|
||||
"copyStyles": "Copiar os estilos",
|
||||
"pasteStyles": "Colar os estilos",
|
||||
"stroke": "Contorno",
|
||||
"background": "Fundo",
|
||||
"fill": "Preenchimento",
|
||||
"strokeWidth": "Espessura do traço",
|
||||
"strokeStyle": "Estilo de traço",
|
||||
"strokeStyle_solid": "Sólido",
|
||||
"strokeStyle_dashed": "Tracejado",
|
||||
"strokeStyle_dotted": "Pontilhado",
|
||||
"sloppiness": "Precisão do traço",
|
||||
"opacity": "Opacidade",
|
||||
"textAlign": "Alinhamento do texto",
|
||||
"edges": "Arestas",
|
||||
"sharp": "Pontudo",
|
||||
"round": "Arredondado",
|
||||
"arrowheads": "Pontas",
|
||||
"arrowhead_none": "Nenhuma",
|
||||
"arrowhead_arrow": "Flecha",
|
||||
"arrowhead_bar": "Barra",
|
||||
"arrowhead_dot": "Ponto",
|
||||
"fontSize": "Tamanho da fonte",
|
||||
"fontFamily": "Família da fonte",
|
||||
"onlySelected": "Somente a seleção",
|
||||
"withBackground": "Com fundo",
|
||||
"exportEmbedScene": "Incorporar a cena no arquivo exportado",
|
||||
"exportEmbedScene_details": "Os dados da cena serão salvos no arquivo PNG/SVG exportado para que a cena possa ser restaurada.\nIrá aumentar o tamanho do arquivo exportado.",
|
||||
"addWatermark": "Adicionar \"Feito com Excalidraw\"",
|
||||
"handDrawn": "Manuscrito",
|
||||
"normal": "Normal",
|
||||
"code": "Código",
|
||||
"small": "Pequeno",
|
||||
"medium": "Médio",
|
||||
"large": "Grande",
|
||||
"veryLarge": "Muito grande",
|
||||
"solid": "Sólido",
|
||||
"hachure": "Hachura",
|
||||
"crossHatch": "Hachura cruzada",
|
||||
"thin": "Fino",
|
||||
"bold": "Espesso",
|
||||
"left": "Esquerda",
|
||||
"center": "Centralizar",
|
||||
"right": "Direita",
|
||||
"extraBold": "Muito espesso",
|
||||
"architect": "Arquiteto",
|
||||
"artist": "Artista",
|
||||
"cartoonist": "Cartunista",
|
||||
"fileTitle": "Título do arquivo",
|
||||
"colorPicker": "Seletor de cores",
|
||||
"canvasBackground": "Fundo da tela",
|
||||
"drawingCanvas": "Tela de desenho",
|
||||
"layers": "Camadas",
|
||||
"actions": "Ações",
|
||||
"language": "Idioma",
|
||||
"createRoom": "Compartilhar uma sessão de colaboração ao vivo",
|
||||
"duplicateSelection": "Duplicar",
|
||||
"untitled": "Sem título",
|
||||
"name": "Nome",
|
||||
"yourName": "Seu nome",
|
||||
"madeWithExcalidraw": "Feito com Excalidraw",
|
||||
"group": "Agrupar seleção",
|
||||
"ungroup": "Desagrupar seleção",
|
||||
"collaborators": "Colaboradores",
|
||||
"gridMode": "Modo grade",
|
||||
"addToLibrary": "Adicionar à biblioteca",
|
||||
"removeFromLibrary": "Remover da biblioteca",
|
||||
"libraryLoadingMessage": "Carregando biblioteca...",
|
||||
"libraries": "Procurar bibliotecas",
|
||||
"loadingScene": "Carregando cena...",
|
||||
"align": "Alinhamento",
|
||||
"alignTop": "Alinhar ao topo",
|
||||
"alignBottom": "Alinhar embaixo",
|
||||
"alignLeft": "Alinhar à esquerda",
|
||||
"alignRight": "Alinhar à direita",
|
||||
"centerVertically": "Centralizar verticalmente",
|
||||
"centerHorizontally": "Centralizar horizontalmente",
|
||||
"distributeHorizontally": "Distribuir horizontalmente",
|
||||
"distributeVertically": "Distribuir verticalmente"
|
||||
},
|
||||
"buttons": {
|
||||
"clearReset": "Limpar o canvas e redefinir a cor de fundo",
|
||||
"export": "Exportar",
|
||||
"exportToPng": "Exportar em PNG",
|
||||
"exportToSvg": "Exportar em SVG",
|
||||
"copyToClipboard": "Copiar para o clipboard",
|
||||
"copyPngToClipboard": "Copiar PNG para área de transferência",
|
||||
"scale": "Escala",
|
||||
"save": "Salvar",
|
||||
"saveAs": "Salvar como",
|
||||
"load": "Carregar",
|
||||
"getShareableLink": "Obter um link de compartilhamento",
|
||||
"close": "Fechar",
|
||||
"selectLanguage": "Selecionar idioma",
|
||||
"scrollBackToContent": "Voltar para o conteúdo",
|
||||
"zoomIn": "Aumentar zoom",
|
||||
"zoomOut": "Diminuir zoom",
|
||||
"resetZoom": "Redefinir zoom",
|
||||
"menu": "Menu",
|
||||
"done": "Concluído",
|
||||
"edit": "Editar",
|
||||
"undo": "Desfazer",
|
||||
"redo": "Refazer",
|
||||
"roomDialog": "Iniciar colaboração ao vivo",
|
||||
"createNewRoom": "Criar nova sala",
|
||||
"fullScreen": "Tela cheia",
|
||||
"darkMode": "Modo escuro",
|
||||
"lightMode": "Modo claro",
|
||||
"zenMode": "Modo Zen",
|
||||
"exitZenMode": "Sair do modo zen"
|
||||
},
|
||||
"alerts": {
|
||||
"clearReset": "Isto irá limpar toda a tela. Você tem certeza?",
|
||||
"couldNotCreateShareableLink": "Não foi possível criar um link de compartilhamento.",
|
||||
"couldNotCreateShareableLinkTooBig": "Não foi possível criar um link compartilhável: a cena é muito grande",
|
||||
"couldNotLoadInvalidFile": "Não foi possível carregar o arquivo inválido",
|
||||
"importBackendFailed": "A importação do servidor falhou.",
|
||||
"cannotExportEmptyCanvas": "Não é possível exportar um canvas vazio.",
|
||||
"couldNotCopyToClipboard": "Não foi possível copiar para a área de transferência. Experimente usando o navegador Chrome.",
|
||||
"decryptFailed": "Não foi possível descriptografar os dados.",
|
||||
"uploadedSecurly": "O upload foi protegido com criptografia de ponta a ponta, o que significa que o servidor do Excalidraw e terceiros não podem ler o conteúdo.",
|
||||
"loadSceneOverridePrompt": "Carregar um desenho externo substituirá o seu conteúdo existente. Deseja continuar?",
|
||||
"errorLoadingLibrary": "Houve um erro ao carregar a biblioteca de terceiros.",
|
||||
"confirmAddLibrary": "Isso adicionará {{numShapes}} forma(s) à sua biblioteca. Tem certeza?",
|
||||
"imageDoesNotContainScene": "A importação de imagens não é suportada no momento.\n\nVocê deseja importar uma cena? Esta imagem parece não conter dados de cena. Você ativou isto durante a exportação?",
|
||||
"cannotRestoreFromImage": "Não foi possível restaurar a cena deste arquivo de imagem"
|
||||
},
|
||||
"toolBar": {
|
||||
"selection": "Seleção",
|
||||
"draw": "Desenho livre",
|
||||
"rectangle": "Retângulo",
|
||||
"diamond": "Losango",
|
||||
"ellipse": "Elipse",
|
||||
"arrow": "Flecha",
|
||||
"line": "Linha",
|
||||
"text": "Texto",
|
||||
"library": "Biblioteca",
|
||||
"lock": "Manter ativa a ferramenta selecionada após desenhar"
|
||||
},
|
||||
"headings": {
|
||||
"canvasActions": "Ações da tela",
|
||||
"selectedShapeActions": "Ações das formas selecionadas",
|
||||
"shapes": "Formas"
|
||||
},
|
||||
"hints": {
|
||||
"linearElement": "Clique para iniciar vários pontos, arraste para uma única linha",
|
||||
"freeDraw": "Toque e arraste, solte quando terminar",
|
||||
"text": "Dica: você também pode adicionar texto clicando duas vezes em qualquer lugar com a ferramenta de seleção",
|
||||
"linearElementMulti": "Clique no último ponto ou pressione Escape ou Enter para terminar",
|
||||
"lockAngle": "Você pode restringir o ângulo segurando o SHIFT",
|
||||
"resize": "Você pode restringir proporções segurando SHIFT enquanto redimensiona,\nsegure ALT para redimensionar do centro",
|
||||
"rotate": "Você pode restringir os ângulos segurando SHIFT enquanto gira",
|
||||
"lineEditor_info": "Clique duas vezes ou pressione Enter para editar os pontos",
|
||||
"lineEditor_pointSelected": "Pressione Deletar para remover o ponto, CtrlOuCmd+D para duplicar ou arraste para mover",
|
||||
"lineEditor_nothingSelected": "Selecione um ponto para mover ou remover, ou segure Alt e clique para adicionar novos pontos"
|
||||
},
|
||||
"canvasError": {
|
||||
"cannotShowPreview": "Não é possível mostrar pré-visualização",
|
||||
"canvasTooBig": "A tela pode ser muito grande.",
|
||||
"canvasTooBigTip": "Dica: tente aproximar um pouco os elementos mais distantes."
|
||||
},
|
||||
"errorSplash": {
|
||||
"headingMain_pre": "Foi encontrado um erro. Tente ",
|
||||
"headingMain_button": "recarregar a página.",
|
||||
"clearCanvasMessage": "Se recarregar a página não funcionar, tente ",
|
||||
"clearCanvasMessage_button": "limpando a tela.",
|
||||
"clearCanvasCaveat": " Isso resultará em perda de trabalho ",
|
||||
"trackedToSentry_pre": "O erro com o identificador ",
|
||||
"trackedToSentry_post": " foi rastreado no nosso sistema.",
|
||||
"openIssueMessage_pre": "Fomos muito cautelosos para não incluir suas informações de cena no erro. Se sua cena não for privada, por favor, considere seguir nosso ",
|
||||
"openIssueMessage_button": "rastreador de bugs.",
|
||||
"openIssueMessage_post": " Por favor, inclua informações abaixo, copiando e colando para a issue do GitHub.",
|
||||
"sceneContent": "Conteúdo da cena:"
|
||||
},
|
||||
"roomDialog": {
|
||||
"desc_intro": "Você pode convidar pessoas para sua cena atual para colaborar com você.",
|
||||
"desc_privacy": "Não se preocupe, a sessão usa criptografia de ponta a ponta; portanto, o que você desenhar permanecerá privado. Nem mesmo nosso servidor poderá ver o que você cria.",
|
||||
"button_startSession": "Iniciar sessão",
|
||||
"button_stopSession": "Parar sessão",
|
||||
"desc_inProgressIntro": "A sessão de colaboração ao vivo está agora em andamento.",
|
||||
"desc_shareLink": "Compartilhe este link com qualquer pessoa com quem você queira colaborar:",
|
||||
"desc_exitSession": "Interrompendo a sessão você irá se desconectar da sala, mas você poderá continuar trabalhando com a cena localmente. Observe que isso não afetará outras pessoas, e elas ainda poderão colaborar em suas versões."
|
||||
},
|
||||
"errorDialog": {
|
||||
"title": "Erro"
|
||||
},
|
||||
"shortcutsDialog": {
|
||||
"title": "Atalhos de teclado",
|
||||
"shapes": "Formas",
|
||||
"or": "ou",
|
||||
"click": "clicar",
|
||||
"drag": "arrastar",
|
||||
"curvedArrow": "Seta curva",
|
||||
"curvedLine": "Linha curva",
|
||||
"editor": "Editor",
|
||||
"view": "Visualizar",
|
||||
"blog": "Leia o nosso blog",
|
||||
"howto": "Siga os nossos guias",
|
||||
"github": "Encontrou algum problema? Nos informe",
|
||||
"textNewLine": "Adicionar nova linha (texto)",
|
||||
"textFinish": "Finalizar edição (texto)",
|
||||
"zoomToFit": "Ajustar para caber todos os elementos",
|
||||
"zoomToSelection": "Ampliar a seleção",
|
||||
"preventBinding": "Prevenir fixação de seta"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "Seus desenhos são criptografados de ponta a ponta, então os servidores do Excalidraw nunca os verão."
|
||||
},
|
||||
"stats": {
|
||||
"angle": "Ângulo",
|
||||
"element": "Elemento",
|
||||
"elements": "Elementos",
|
||||
"height": "Altura",
|
||||
"scene": "Cena",
|
||||
"selected": "Selecionado",
|
||||
"storage": "Armazenamento",
|
||||
"title": "Estatísticas para nerds",
|
||||
"total": "Total",
|
||||
"width": "Largura"
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "Selecionar tudo",
|
||||
"multiSelect": "Adicionar elemento à seleção",
|
||||
"moveCanvas": "Mover tela",
|
||||
"cut": "Cortar",
|
||||
"copy": "Copiar",
|
||||
"copyAsPng": "Copiar para a área de transferência como PNG",
|
||||
"copyAsSvg": "Copiar para a área de transferência como SVG",
|
||||
@@ -28,6 +29,11 @@
|
||||
"edges": "Arestas",
|
||||
"sharp": "Aguçado",
|
||||
"round": "Redondo",
|
||||
"arrowheads": "Pontas",
|
||||
"arrowhead_none": "Nenhuma",
|
||||
"arrowhead_arrow": "Seta",
|
||||
"arrowhead_bar": "Barra",
|
||||
"arrowhead_dot": "Ponto",
|
||||
"fontSize": "Tamanho da fonte",
|
||||
"fontFamily": "Família da fontes",
|
||||
"onlySelected": "Somente a seleção",
|
||||
@@ -54,7 +60,7 @@
|
||||
"architect": "Arquitecto",
|
||||
"artist": "Artista",
|
||||
"cartoonist": "Caricaturista",
|
||||
"fileTitle": "",
|
||||
"fileTitle": "Título do ficheiro",
|
||||
"colorPicker": "Seletor de cores",
|
||||
"canvasBackground": "Fundo da tela",
|
||||
"drawingCanvas": "Tela de desenho",
|
||||
@@ -63,27 +69,28 @@
|
||||
"language": "Idioma",
|
||||
"createRoom": "Compartilhar uma sessão de colaboração ao vivo",
|
||||
"duplicateSelection": "Duplicar",
|
||||
"untitled": "",
|
||||
"untitled": "Sem título",
|
||||
"name": "Nome",
|
||||
"yourName": "Seu nome",
|
||||
"madeWithExcalidraw": "Feito com Excalidraw",
|
||||
"group": "Agrupar seleção",
|
||||
"ungroup": "Desagrupar seleção",
|
||||
"collaborators": "Colaboradores",
|
||||
"toggleGridMode": "Alternar modo de grade",
|
||||
"gridMode": "Modo grade",
|
||||
"addToLibrary": "Adicionar à biblioteca",
|
||||
"removeFromLibrary": "Remover da biblioteca",
|
||||
"libraryLoadingMessage": "Carregando biblioteca...",
|
||||
"libraries": "Procurar bibliotecas",
|
||||
"loadingScene": "Carregando cena...",
|
||||
"align": "",
|
||||
"alignTop": "",
|
||||
"alignBottom": "",
|
||||
"alignLeft": "",
|
||||
"alignRight": "",
|
||||
"centerVertically": "",
|
||||
"centerHorizontally": "",
|
||||
"distributeHorizontally": "",
|
||||
"distributeVertically": ""
|
||||
"align": "Alinhamento",
|
||||
"alignTop": "Alinhar ao topo",
|
||||
"alignBottom": "Alinhar ao fundo",
|
||||
"alignLeft": "Alinhar à esquerda",
|
||||
"alignRight": "Alinhar à direita",
|
||||
"centerVertically": "Centralizar verticalmente",
|
||||
"centerHorizontally": "Centralizar horizontalmente",
|
||||
"distributeHorizontally": "Distribuir horizontalmente",
|
||||
"distributeVertically": "Distribuir verticalmente"
|
||||
},
|
||||
"buttons": {
|
||||
"clearReset": "Limpar o canvas e redefinir a cor de fundo",
|
||||
@@ -110,9 +117,10 @@
|
||||
"redo": "Refazer",
|
||||
"roomDialog": "Iniciar colaboração ao vivo",
|
||||
"createNewRoom": "Criar nova sala",
|
||||
"toggleFullScreen": "Alternar tela cheia",
|
||||
"toggleDarkMode": "Alternar modo escuro",
|
||||
"toggleZenMode": "Alternar modo zen",
|
||||
"fullScreen": "Tela cheia",
|
||||
"darkMode": "Modo escuro",
|
||||
"lightMode": "Modo claro",
|
||||
"zenMode": "Modo Zen",
|
||||
"exitZenMode": "Sair do modo zen"
|
||||
},
|
||||
"alerts": {
|
||||
@@ -128,7 +136,7 @@
|
||||
"loadSceneOverridePrompt": "Carregar um desenho externo substituirá o seu conteúdo existente. Deseja continuar?",
|
||||
"errorLoadingLibrary": "Houve um erro ao carregar a biblioteca de terceiros.",
|
||||
"confirmAddLibrary": "Isso adicionará {{numShapes}} forma(s) à sua biblioteca. Tem certeza?",
|
||||
"imageDoesNotContainScene": "O arquivo de imagem não contém dados de cena. Você ativou durante a exportação?",
|
||||
"imageDoesNotContainScene": "A importação de imagens não é suportada no momento.\n\nVocê deseja importar uma cena? Esta imagem parece não conter dados de cena. Você ativou isto durante a exportação?",
|
||||
"cannotRestoreFromImage": "Não foi possível restaurar a cena deste arquivo de imagem"
|
||||
},
|
||||
"toolBar": {
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "Toque e arraste, solte quando terminar",
|
||||
"text": "Dica: você também pode adicionar texto clicando duas vezes em qualquer lugar com a ferramenta de seleção",
|
||||
"linearElementMulti": "Clique no último ponto ou pressione Escape ou Enter para terminar",
|
||||
"lockAngle": "Você pode restringir o ângulo segurando SHIFT",
|
||||
"resize": "Você pode restringir proporções segurando SHIFT enquanto redimensiona,\nsegure ALT para redimensionar do centro",
|
||||
"rotate": "Você pode restringir os ângulos segurando SHIFT enquanto gira",
|
||||
"lineEditor_info": "Clique duas vezes ou pressione Enter para editar os pontos",
|
||||
@@ -160,9 +169,9 @@
|
||||
"lineEditor_nothingSelected": "Selecione um ponto para mover ou remover, ou segure Alt e clique para adicionar novos pontos"
|
||||
},
|
||||
"canvasError": {
|
||||
"cannotShowPreview": "",
|
||||
"canvasTooBig": "",
|
||||
"canvasTooBigTip": ""
|
||||
"cannotShowPreview": "Não é possível mostrar pré-visualização",
|
||||
"canvasTooBig": "A tela pode ser muito grande.",
|
||||
"canvasTooBigTip": "Dica: tente aproximar um pouco os elementos mais distantes."
|
||||
},
|
||||
"errorSplash": {
|
||||
"headingMain_pre": "Foi encontrado um erro. Tente ",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "Adicionar nova linha (texto)",
|
||||
"textFinish": "Finalizar edição (texto)",
|
||||
"zoomToFit": "Ajustar para caber todos os elementos",
|
||||
"zoomToSelection": "Ampliar a seleção",
|
||||
"preventBinding": "Prevenir fixação de seta"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "Seus desenhos são criptografados de ponta a ponta, então os servidores do Excalidraw nunca os verão."
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "Você colou uma planilha sem uma coluna numérica.",
|
||||
"tooManyColumns": "Você colou uma planilha com mais de duas colunas."
|
||||
"stats": {
|
||||
"angle": "Ângulo",
|
||||
"element": "Elemento",
|
||||
"elements": "Elementos",
|
||||
"height": "Altura",
|
||||
"scene": "Cena",
|
||||
"selected": "Selecionado",
|
||||
"storage": "Armazenamento",
|
||||
"title": "Estatísticas para nerds",
|
||||
"total": "Total",
|
||||
"width": "Largura"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "Selectare totală",
|
||||
"multiSelect": "Adaugă element la selecție",
|
||||
"moveCanvas": "Mutare pânză",
|
||||
"cut": "Decupare",
|
||||
"copy": "Copiere",
|
||||
"copyAsPng": "Copiere în memoria temporară ca PNG",
|
||||
"copyAsSvg": "Copiere în memoria temporară ca SVG",
|
||||
@@ -28,6 +29,11 @@
|
||||
"edges": "Margini",
|
||||
"sharp": "Ascuțite",
|
||||
"round": "Rotunde",
|
||||
"arrowheads": "Vârfuri de săgeată",
|
||||
"arrowhead_none": "Niciunul",
|
||||
"arrowhead_arrow": "Săgeată",
|
||||
"arrowhead_bar": "Bară",
|
||||
"arrowhead_dot": "Bulină",
|
||||
"fontSize": "Dimensiune font",
|
||||
"fontFamily": "Familia de fonturi",
|
||||
"onlySelected": "Numai selecția",
|
||||
@@ -70,10 +76,11 @@
|
||||
"group": "Grupare selecție",
|
||||
"ungroup": "Degrupare selecție",
|
||||
"collaborators": "Colaboratori",
|
||||
"toggleGridMode": "Comută modul grilă",
|
||||
"gridMode": "Mod grilă",
|
||||
"addToLibrary": "Adăugare la bibliotecă",
|
||||
"removeFromLibrary": "Eliminare din bibliotecă",
|
||||
"libraryLoadingMessage": "Se încarcă biblioteca...",
|
||||
"libraries": "Răsfoiește bibliotecile",
|
||||
"loadingScene": "Se încarcă scena...",
|
||||
"align": "Aliniere",
|
||||
"alignTop": "Aliniere sus",
|
||||
@@ -110,9 +117,10 @@
|
||||
"redo": "Refacere",
|
||||
"roomDialog": "Colaborare în direct",
|
||||
"createNewRoom": "Creare cameră nouă",
|
||||
"toggleFullScreen": "Comută modul ecran complet",
|
||||
"toggleDarkMode": "Comută modul întunecat",
|
||||
"toggleZenMode": "Comută modul zen",
|
||||
"fullScreen": "Ecran complet",
|
||||
"darkMode": "Mod întunecat",
|
||||
"lightMode": "Mod luminos",
|
||||
"zenMode": "Mod zen",
|
||||
"exitZenMode": "Ieșire din modul zen"
|
||||
},
|
||||
"alerts": {
|
||||
@@ -128,7 +136,7 @@
|
||||
"loadSceneOverridePrompt": "Încărcarea desenului extern va înlocui conținutul existent. Dorești să continui?",
|
||||
"errorLoadingLibrary": "A apărut o eroare la încărcarea bibliotecii terțe.",
|
||||
"confirmAddLibrary": "Această acțiune va adăuga {{numShapes}} formă(e) la biblioteca ta. Confirmi?",
|
||||
"imageDoesNotContainScene": "Fișierul de imagine nu conține date de scenă. Ai activat această opțiune pe durata exportării?",
|
||||
"imageDoesNotContainScene": "Importarea imaginilor nu este acceptată în acest moment.\n\nVoiai să imporți o scenă? Această imagine nu pare să conțină date de scenă. Ai activat această opțiune pe durata exportării?",
|
||||
"cannotRestoreFromImage": "Scena nu a putut fi restaurată din acest fișier de imagine"
|
||||
},
|
||||
"toolBar": {
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "Dă clic pe pânză și glisează cursorul, apoi eliberează-l când ai terminat",
|
||||
"text": "Sfat: poți adăuga text și dând dublu clic oriunde cu instrumentul de selecție",
|
||||
"linearElementMulti": "Dă clic pe ultimul punct sau apasă tasta Escape sau tasta Enter pentru a termina",
|
||||
"lockAngle": "Poți constrânge unghiul prin ținerea apăsată a tastei SHIFT",
|
||||
"resize": "Poți constrânge proporțiile, ținând apăsată tasta SHIFT în timp ce redimensionezi,\nține apăsată tasta ALT pentru a redimensiona de la centru",
|
||||
"rotate": "Poți constrânge unghiurile, ținând apăsată tasta SHIFT în timp ce rotești",
|
||||
"lineEditor_info": "Dă dublu clic sau apasă tasta Enter pentru a edita punctele",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "Adaugă o linie nouă (text)",
|
||||
"textFinish": "Finalizează editarea (text)",
|
||||
"zoomToFit": "Apropiere/depărtare pentru a cuprinde totul",
|
||||
"zoomToSelection": "Panoramare la selecție",
|
||||
"preventBinding": "Împiedică legarea săgeții"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "Desenele tale sunt criptate integral, astfel că serverele Excalidraw nu le vor vedea niciodată."
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "Ai inserat o foaie de calcul fără o coloană numerică.",
|
||||
"tooManyColumns": "Ai inserat o foaie de calcul cu mai mult de două coloane."
|
||||
"stats": {
|
||||
"angle": "Unghi",
|
||||
"element": "Element",
|
||||
"elements": "Elemente",
|
||||
"height": "Înălțime",
|
||||
"scene": "Scenă",
|
||||
"selected": "Selectate",
|
||||
"storage": "Stocare",
|
||||
"title": "Statistici pentru pasionați",
|
||||
"total": "Total",
|
||||
"width": "Lățime"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,8 +2,9 @@
|
||||
"labels": {
|
||||
"paste": "Вставить",
|
||||
"selectAll": "Выбрать все",
|
||||
"multiSelect": "Добавить элемент к выбору",
|
||||
"multiSelect": "Добавить элемент в выделенный фрагмент",
|
||||
"moveCanvas": "Переместить холст",
|
||||
"cut": "Вырезать",
|
||||
"copy": "Копировать",
|
||||
"copyAsPng": "Скопировать в буфер обмена как PNG",
|
||||
"copyAsSvg": "Скопировать в буфер обмена как SVG",
|
||||
@@ -28,12 +29,17 @@
|
||||
"edges": "Края",
|
||||
"sharp": "Острые",
|
||||
"round": "Скругленные",
|
||||
"arrowheads": "Стрелка",
|
||||
"arrowhead_none": "Без стрелки",
|
||||
"arrowhead_arrow": "Cтрелка",
|
||||
"arrowhead_bar": "Столбец",
|
||||
"arrowhead_dot": "Точка",
|
||||
"fontSize": "Размер шрифта",
|
||||
"fontFamily": "Семейство шрифтов",
|
||||
"onlySelected": "Только выбранные",
|
||||
"withBackground": "С фоном",
|
||||
"exportEmbedScene": "",
|
||||
"exportEmbedScene_details": "",
|
||||
"exportEmbedScene": "Встроить информацию о сцене в экспортируемый файл",
|
||||
"exportEmbedScene_details": "Сцена будет сохранена в PNG/SVG файл так, чтобы всю сцену можно будет восстановить из этого файла. Это увеличит размер файла.",
|
||||
"addWatermark": "Добавить \"Сделано с Excalidraw\"",
|
||||
"handDrawn": "Нарисованный от руки",
|
||||
"normal": "Обычный",
|
||||
@@ -69,21 +75,22 @@
|
||||
"madeWithExcalidraw": "Сделано в Excalidraw",
|
||||
"group": "Сгруппировать выделение",
|
||||
"ungroup": "Разделить выделение",
|
||||
"collaborators": "Сотрудники",
|
||||
"toggleGridMode": "Переключить режим сетки",
|
||||
"collaborators": "Участники",
|
||||
"gridMode": "",
|
||||
"addToLibrary": "Добавить в библиотеку",
|
||||
"removeFromLibrary": "Удалить из библиотеки",
|
||||
"libraryLoadingMessage": "Загрузка библиотеки...",
|
||||
"libraries": "Просмотреть библиотеки",
|
||||
"loadingScene": "Загрузка сцены...",
|
||||
"align": "",
|
||||
"alignTop": "",
|
||||
"alignBottom": "",
|
||||
"alignLeft": "",
|
||||
"alignRight": "",
|
||||
"centerVertically": "",
|
||||
"centerHorizontally": "",
|
||||
"distributeHorizontally": "",
|
||||
"distributeVertically": ""
|
||||
"align": "Выровнять",
|
||||
"alignTop": "Выровнять по верхнему краю",
|
||||
"alignBottom": "Выровнять по нижнему краю",
|
||||
"alignLeft": "Выровнять по левому краю",
|
||||
"alignRight": "Выровнять по правому краю",
|
||||
"centerVertically": "Центрировать по вертикали",
|
||||
"centerHorizontally": "Центрировать по горизонтали",
|
||||
"distributeHorizontally": "Распределить по горизонтали",
|
||||
"distributeVertically": "Распределить по вертикали"
|
||||
},
|
||||
"buttons": {
|
||||
"clearReset": "Очистить холст и сбросить цвет фона",
|
||||
@@ -92,7 +99,7 @@
|
||||
"exportToSvg": "Экспорт в SVG",
|
||||
"copyToClipboard": "Скопировать в буфер обмена",
|
||||
"copyPngToClipboard": "Скопировать PNG в буфер обмена",
|
||||
"scale": "Шкала",
|
||||
"scale": "Масштаб",
|
||||
"save": "Сохранить",
|
||||
"saveAs": "Сохранить как",
|
||||
"load": "Загрузить",
|
||||
@@ -110,26 +117,27 @@
|
||||
"redo": "Шаг вперед",
|
||||
"roomDialog": "Начать совместную работу",
|
||||
"createNewRoom": "Создать новую комнату",
|
||||
"toggleFullScreen": "Переключить полноэкранный режим",
|
||||
"toggleDarkMode": "Переключить тёмную тему",
|
||||
"toggleZenMode": "Переключить режим концентрации внимания",
|
||||
"fullScreen": "Полный экран",
|
||||
"darkMode": "",
|
||||
"lightMode": "",
|
||||
"zenMode": "",
|
||||
"exitZenMode": "Выключить режим концентрации внимания"
|
||||
},
|
||||
"alerts": {
|
||||
"clearReset": "Это очистит весь холст. Вы уверены?",
|
||||
"couldNotCreateShareableLink": "Не удалось создать общедоступную ссылку.",
|
||||
"couldNotCreateShareableLinkTooBig": "",
|
||||
"couldNotCreateShareableLinkTooBig": "Нельзя создать ссылку, чтобы поделиться. Сцена слишком большая",
|
||||
"couldNotLoadInvalidFile": "Не удалось загрузить недопустимый файл",
|
||||
"importBackendFailed": "Не удалось импортировать из бэкэнда.",
|
||||
"cannotExportEmptyCanvas": "Не может экспортировать пустой холст.",
|
||||
"couldNotCopyToClipboard": "Не удалось скопировать в буфер обмена. Попробуйте использовать веб-браузер Chrome.",
|
||||
"decryptFailed": "Не удалось декодировать данные.",
|
||||
"decryptFailed": "Не удалось расшифровать данные.",
|
||||
"uploadedSecurly": "Загружаемые данные защищена сквозным шифрованием, что означает, что сервер Excalidraw и третьи стороны не могут прочитать содержимое.",
|
||||
"loadSceneOverridePrompt": "",
|
||||
"errorLoadingLibrary": "",
|
||||
"confirmAddLibrary": "",
|
||||
"loadSceneOverridePrompt": "Загрузка рисунка приведёт к замене имеющегося содержимого. Вы хотите продолжить?",
|
||||
"errorLoadingLibrary": "Произошла ошибка при загрузке сторонней библиотеки.",
|
||||
"confirmAddLibrary": "Будет добавлено {{numShapes}} фигур в вашу библиотеку. Продолжить?",
|
||||
"imageDoesNotContainScene": "",
|
||||
"cannotRestoreFromImage": ""
|
||||
"cannotRestoreFromImage": "Сцена не может быть восстановлена из этого изображения"
|
||||
},
|
||||
"toolBar": {
|
||||
"selection": "Выделение области",
|
||||
@@ -151,18 +159,19 @@
|
||||
"hints": {
|
||||
"linearElement": "Нажмите, чтобы начать несколько точек, перетащите для одной линии",
|
||||
"freeDraw": "Нажмите и перетаскивайте, отпустите по завершении",
|
||||
"text": "",
|
||||
"text": "Совет: при выбранном инструменте выделения дважды щёлкните в любом месте, чтобы добавить текст",
|
||||
"linearElementMulti": "Кликните на последней точке или нажмите Escape или Enter чтобы закончить",
|
||||
"lockAngle": "",
|
||||
"resize": "Вы можете ограничить пропорции, удерживая SHIFT во время изменения размеров,\nудерживайте ALT чтобы изменить размер из центра",
|
||||
"rotate": "Вы можете ограничить углы, удерживая SHIFT во время вращения",
|
||||
"lineEditor_info": "Дважды кликните или нажмите Enter, чтобы редактировать точки",
|
||||
"lineEditor_pointSelected": "",
|
||||
"lineEditor_nothingSelected": ""
|
||||
"lineEditor_pointSelected": "Нажмите Delete для удаления точки, Ctrl или Cmd + D для дублирования, перетащите для перемещения",
|
||||
"lineEditor_nothingSelected": "Выберите точку для перемещения или удаления. Alt + клик чтобы добавить новые точки"
|
||||
},
|
||||
"canvasError": {
|
||||
"cannotShowPreview": "",
|
||||
"canvasTooBig": "",
|
||||
"canvasTooBigTip": ""
|
||||
"cannotShowPreview": "Не удается отобразить предпросмотр",
|
||||
"canvasTooBig": "Сцена слишком большая.",
|
||||
"canvasTooBigTip": "Совет: попробуйте сблизить элементы рисунка."
|
||||
},
|
||||
"errorSplash": {
|
||||
"headingMain_pre": "Возникла ошибка. Попробуйте ",
|
||||
@@ -180,11 +189,11 @@
|
||||
"roomDialog": {
|
||||
"desc_intro": "Вы можете пригласить людей в текущую сцену для совместной работы.",
|
||||
"desc_privacy": "Не беспокойтесь, сессия использует сквозное шифрование, поэтому всё что вы нарисуете останется приватным. Ваша информация не будет доступна даже на наших серверах.",
|
||||
"button_startSession": "Начать сессию",
|
||||
"button_stopSession": "Закончить сессию",
|
||||
"button_startSession": "Начать сеанс",
|
||||
"button_stopSession": "Завершить сеанс",
|
||||
"desc_inProgressIntro": "Совместная сессия теперь активна.",
|
||||
"desc_shareLink": "Поделитесь этой ссылкой со всеми участниками:",
|
||||
"desc_exitSession": ""
|
||||
"desc_exitSession": "Завершив сеанс, вы выйдете из комнаты, но сможете продолжить работать с документом локально. Это не повлияет на работу других пользователей — они смогут продолжить совместную работу с их версией документа."
|
||||
},
|
||||
"errorDialog": {
|
||||
"title": "Ошибка"
|
||||
@@ -204,14 +213,23 @@
|
||||
"github": "Нашли проблему? Отправьте",
|
||||
"textNewLine": "Добавить новую строку (текст)",
|
||||
"textFinish": "Закончить редактирование (текст)",
|
||||
"zoomToFit": "",
|
||||
"zoomToFit": "Отмастштабировать, чтобы поместились все элементы",
|
||||
"zoomToSelection": "Перейти к выделенному",
|
||||
"preventBinding": "Предотвратить привязку стрелок"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": ""
|
||||
"tooltip": "Ваши данные защищены сквозным (End-to-end) шифрованием. Серверы Excalidraw никогда не получат доступ к ним."
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "",
|
||||
"tooManyColumns": "Вы вставили таблицу с более чем двумя столбцами."
|
||||
"stats": {
|
||||
"angle": "Угол",
|
||||
"element": "Элемент",
|
||||
"elements": "Элементы",
|
||||
"height": "Высота",
|
||||
"scene": "Сцены",
|
||||
"selected": "Выбран",
|
||||
"storage": "Хранилище",
|
||||
"title": "Статистика для ботаников",
|
||||
"total": "Всего",
|
||||
"width": "Ширина"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "Vybrať všetko",
|
||||
"multiSelect": "Pridať prvok do výberu",
|
||||
"moveCanvas": "Pohyb plátna",
|
||||
"cut": "Vystrihnúť",
|
||||
"copy": "Kopírovať",
|
||||
"copyAsPng": "Kopírovať do schránky ako PNG",
|
||||
"copyAsSvg": "Kopírovať do schránky ako SVG",
|
||||
@@ -28,6 +29,11 @@
|
||||
"edges": "Okraje",
|
||||
"sharp": "Ostré",
|
||||
"round": "Zaokrúhlené",
|
||||
"arrowheads": "Zakončenie šípky",
|
||||
"arrowhead_none": "Žiadne",
|
||||
"arrowhead_arrow": "Šípka",
|
||||
"arrowhead_bar": "Čiara",
|
||||
"arrowhead_dot": "Bod",
|
||||
"fontSize": "Veľkosť písma",
|
||||
"fontFamily": "Písmo",
|
||||
"onlySelected": "Iba vybrané",
|
||||
@@ -70,10 +76,11 @@
|
||||
"group": "Zoskupiť",
|
||||
"ungroup": "Zrušiť zoskupenie",
|
||||
"collaborators": "Spolupracovníci",
|
||||
"toggleGridMode": "Prepnúť mriežku",
|
||||
"gridMode": "Režim mriežky",
|
||||
"addToLibrary": "Pridať do knižnice",
|
||||
"removeFromLibrary": "Odstrániť z knižnice",
|
||||
"libraryLoadingMessage": "Načítavanie knižnice...",
|
||||
"libraries": "Prehliadať knižnice",
|
||||
"loadingScene": "Načítavanie scény...",
|
||||
"align": "Zarovnanie",
|
||||
"alignTop": "Zarovnať nahor",
|
||||
@@ -110,9 +117,10 @@
|
||||
"redo": "Znova",
|
||||
"roomDialog": "Začať živú spoluprácu",
|
||||
"createNewRoom": "Vytvoriť novú miestnosť",
|
||||
"toggleFullScreen": "Prepnúť režim celej obrazovky",
|
||||
"toggleDarkMode": "Prepnúť tmavý režim",
|
||||
"toggleZenMode": "Prepnúť režim zen",
|
||||
"fullScreen": "Celá obrazovka",
|
||||
"darkMode": "Tmavý režim",
|
||||
"lightMode": "Svetlý režim",
|
||||
"zenMode": "Režim zen",
|
||||
"exitZenMode": "Zrušiť režim zen"
|
||||
},
|
||||
"alerts": {
|
||||
@@ -128,7 +136,7 @@
|
||||
"loadSceneOverridePrompt": "Nahratie externej kresby nahradí existujúci obsah. Prajete si pokračovať?",
|
||||
"errorLoadingLibrary": "Nepodarilo sa načítať externú knižnicu.",
|
||||
"confirmAddLibrary": "Týmto sa pridá {{numShapes}} tvar(ov) do vašej knižnice. Ste si istí?",
|
||||
"imageDoesNotContainScene": "Obrázkový súbor neobsahuje údaje scény. Povolili ste ich pri exportovaní?",
|
||||
"imageDoesNotContainScene": "Importovanie obrázku v tomto momente nie je možné.\n\nChceli ste importovať scénu? Tento obrázok neobsahuje žiadne údaje scény. Povolili ste túto možnosť počas exportovania?",
|
||||
"cannotRestoreFromImage": "Nepodarilo sa obnoviť scénu z tohto obrázkového súboru"
|
||||
},
|
||||
"toolBar": {
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "Kliknite a ťahajte, pustite na ukončenie",
|
||||
"text": "Tip: text môžete pridať aj dvojklikom kdekoľvek, ak je zvolený nástroj výber",
|
||||
"linearElementMulti": "Kliknite na počiatočný bod alebo stlačte Escape alebo Enter na ukončenie",
|
||||
"lockAngle": "Počas rotácie obmedzíte uhol podržaním SHIFT",
|
||||
"resize": "Počas zmeny veľkosti zachováte proporcie podržaním SHIFT,\\npodržaním ALT meníte veľkosť so zachovaním stredu",
|
||||
"rotate": "Počas rotácie obmedzíte uhol podržaním SHIFT",
|
||||
"lineEditor_info": "Použite dvojklik alebo stlačte Enter na editáciu bodov",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "Vložiť nový riadok (text)",
|
||||
"textFinish": "Ukončenie editovania (text)",
|
||||
"zoomToFit": "Priblížiť aby boli zahrnuté všetky prvky",
|
||||
"zoomToSelection": "Priblížiť na výber",
|
||||
"preventBinding": "Zakázať pripájanie šípky"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "Vaše kresby používajú end-to-end šifrovanie, takže ich Excalidraw server nedokáže prečítať."
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "Prilepili ste tabuľku bez číselného stĺpca.",
|
||||
"tooManyColumns": "Prilepili ste tabuľku s viac ako dvoma stĺpcami."
|
||||
"stats": {
|
||||
"angle": "Uhol",
|
||||
"element": "Prvok",
|
||||
"elements": "Prvky",
|
||||
"height": "Výška",
|
||||
"scene": "Scéna",
|
||||
"selected": "Vybrané",
|
||||
"storage": "Úložisko",
|
||||
"title": "Štatistiky",
|
||||
"total": "Celkom",
|
||||
"width": "Šírka"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "Markera alla",
|
||||
"multiSelect": "Lägg till element till markering",
|
||||
"moveCanvas": "Flytta canvas",
|
||||
"cut": "Klipp ut",
|
||||
"copy": "Kopiera",
|
||||
"copyAsPng": "Kopiera till urklipp som PNG",
|
||||
"copyAsSvg": "Kopiera till urklipp som SVG",
|
||||
@@ -28,6 +29,11 @@
|
||||
"edges": "Kanter",
|
||||
"sharp": "Skarp",
|
||||
"round": "Rund",
|
||||
"arrowheads": "Pilhuvuden",
|
||||
"arrowhead_none": "Inga",
|
||||
"arrowhead_arrow": "Pil",
|
||||
"arrowhead_bar": "Stolpe",
|
||||
"arrowhead_dot": "Punkt",
|
||||
"fontSize": "Teckenstorlek",
|
||||
"fontFamily": "Teckensnitt",
|
||||
"onlySelected": "Endast markering",
|
||||
@@ -70,10 +76,11 @@
|
||||
"group": "Gruppera markering",
|
||||
"ungroup": "Avgruppera markering",
|
||||
"collaborators": "Medarbetare",
|
||||
"toggleGridMode": "Växla rutnätsläge",
|
||||
"gridMode": "Rutnätsläge",
|
||||
"addToLibrary": "Lägg till i biblioteket",
|
||||
"removeFromLibrary": "Ta bort från bibliotek",
|
||||
"libraryLoadingMessage": "Laddar bibliotek...",
|
||||
"libraries": "Bläddra i bibliotek",
|
||||
"loadingScene": "Laddar scen...",
|
||||
"align": "Justera",
|
||||
"alignTop": "Justera överkant",
|
||||
@@ -110,9 +117,10 @@
|
||||
"redo": "Gör om",
|
||||
"roomDialog": "Starta live-samarbete",
|
||||
"createNewRoom": "Skapa ett nytt rum",
|
||||
"toggleFullScreen": "Växla fullskärmsläge",
|
||||
"toggleDarkMode": "Växla mörkt läge",
|
||||
"toggleZenMode": "Växla zen-läge",
|
||||
"fullScreen": "Helskärm",
|
||||
"darkMode": "Mörkt läge",
|
||||
"lightMode": "Ljust läge",
|
||||
"zenMode": "Zen-läge",
|
||||
"exitZenMode": "Gå ur zen-läge"
|
||||
},
|
||||
"alerts": {
|
||||
@@ -128,7 +136,7 @@
|
||||
"loadSceneOverridePrompt": "Laddning av extern skiss kommer att ersätta ditt befintliga innehåll. Vill du fortsätta?",
|
||||
"errorLoadingLibrary": "Fel vid inläsning av tredjeparts bibliotek.",
|
||||
"confirmAddLibrary": "Detta kommer att lägga till {{numShapes}} form(er) till ditt bibliotek. Är du säker?",
|
||||
"imageDoesNotContainScene": "Bildfilen innehåller inte skissdata. Har du aktiverat detta under export?",
|
||||
"imageDoesNotContainScene": "Importering av bilder stöds inte just nu.\n\nVill du importera en skiss? Den här bilden verkar inte innehålla någon skissdata. Har du aktiverat detta under export?",
|
||||
"cannotRestoreFromImage": "Skiss kunde inte återställas från denna bildfil"
|
||||
},
|
||||
"toolBar": {
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "Klicka och dra, släpp när du är klar",
|
||||
"text": "Tips: du kan också lägga till text genom att dubbelklicka var som helst med markeringsverktyget",
|
||||
"linearElementMulti": "Klicka på sista punkten eller tryck Escape eller Enter för att avsluta",
|
||||
"lockAngle": "Du kan begränsa vinkeln genom att hålla SKIFT",
|
||||
"resize": "Du kan behålla proportioner genom att hålla SHIFT medan du ändrar storlek,\nhåller du ALT ändras storlek relativt mitten",
|
||||
"rotate": "Du kan begränsa vinklar genom att hålla SHIFT medan du roterar",
|
||||
"lineEditor_info": "Dubbelklicka eller tryck på Enter för att redigera punkter",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "Lägg till ny rad (text)",
|
||||
"textFinish": "Slutför redigering (text)",
|
||||
"zoomToFit": "Zooma för att rymma alla element",
|
||||
"zoomToSelection": "Zooma till markering",
|
||||
"preventBinding": "Förhindra pilbindning"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "Dina skisser är krypterade från ände till ände så Excalidraws servrar kommer aldrig att se dem."
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "Du klistrade in ett kalkylblad utan en numerisk kolumn.",
|
||||
"tooManyColumns": "Du klistrade in ett kalkylblad med mer än två kolumner."
|
||||
"stats": {
|
||||
"angle": "Vinkel",
|
||||
"element": "Element",
|
||||
"elements": "Element",
|
||||
"height": "Höjd",
|
||||
"scene": "Skiss",
|
||||
"selected": "Valda",
|
||||
"storage": "Lagring",
|
||||
"title": "Statistik för nördar",
|
||||
"total": "Totalt",
|
||||
"width": "Bredd"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "Tümünü seç",
|
||||
"multiSelect": "Seçime öge ekle",
|
||||
"moveCanvas": "Tuvali taşı",
|
||||
"cut": "Kes",
|
||||
"copy": "Kopyala",
|
||||
"copyAsPng": "Panoya PNG olarak kopyala",
|
||||
"copyAsSvg": "Panoya SVG olarak kopyala",
|
||||
@@ -28,10 +29,15 @@
|
||||
"edges": "Kenarlar",
|
||||
"sharp": "Keskin",
|
||||
"round": "Yuvarlak",
|
||||
"arrowheads": "",
|
||||
"arrowhead_none": "",
|
||||
"arrowhead_arrow": "",
|
||||
"arrowhead_bar": "",
|
||||
"arrowhead_dot": "",
|
||||
"fontSize": "Yazı tipi boyutu",
|
||||
"fontFamily": "Yazı tipi ailesi",
|
||||
"onlySelected": "Sadece seçilen",
|
||||
"withBackground": "Arka Plan İle Beraber",
|
||||
"withBackground": "",
|
||||
"exportEmbedScene": "",
|
||||
"exportEmbedScene_details": "",
|
||||
"addWatermark": "\"Excalidraw ile yapıldı\" yazısını ekle",
|
||||
@@ -54,7 +60,7 @@
|
||||
"architect": "Mimar",
|
||||
"artist": "Sanatçı",
|
||||
"cartoonist": "Karikatürist",
|
||||
"fileTitle": "",
|
||||
"fileTitle": "Dosya adı",
|
||||
"colorPicker": "Renk seçici",
|
||||
"canvasBackground": "Tuval arka planı",
|
||||
"drawingCanvas": "Çizim tuvali",
|
||||
@@ -63,25 +69,26 @@
|
||||
"language": "Dil",
|
||||
"createRoom": "Ortak çalışma ortamını paylaş",
|
||||
"duplicateSelection": "Çoğalt",
|
||||
"untitled": "",
|
||||
"untitled": "Adsız",
|
||||
"name": "İsim",
|
||||
"yourName": "İsminiz",
|
||||
"madeWithExcalidraw": "Excalidraw ile yapıldı",
|
||||
"group": "Seçimi grup yap",
|
||||
"ungroup": "Seçilen grubu dağıt",
|
||||
"collaborators": "Ortaklar",
|
||||
"toggleGridMode": "Izgara modunu aç",
|
||||
"gridMode": "",
|
||||
"addToLibrary": "Kütüphaneye ekle",
|
||||
"removeFromLibrary": "Kütüphaneden kaldır",
|
||||
"libraryLoadingMessage": "Kütüphane yükleniyor...",
|
||||
"libraries": "",
|
||||
"loadingScene": "Çalışma alanı yükleniyor...",
|
||||
"align": "",
|
||||
"alignTop": "",
|
||||
"alignBottom": "",
|
||||
"alignLeft": "",
|
||||
"alignRight": "",
|
||||
"centerVertically": "",
|
||||
"centerHorizontally": "",
|
||||
"align": "Hizala",
|
||||
"alignTop": "Yukarı hizala",
|
||||
"alignBottom": "Aşağı hizala",
|
||||
"alignLeft": "Sola yasla",
|
||||
"alignRight": "Sağa yasla",
|
||||
"centerVertically": "Dikeyde ortala",
|
||||
"centerHorizontally": "Yatayda ortala",
|
||||
"distributeHorizontally": "",
|
||||
"distributeVertically": ""
|
||||
},
|
||||
@@ -110,9 +117,10 @@
|
||||
"redo": "Yeniden yap",
|
||||
"roomDialog": "Ortak çalışma ortamı yarat",
|
||||
"createNewRoom": "Yeni oda oluştur",
|
||||
"toggleFullScreen": "Tam ekranı aç/kapa",
|
||||
"toggleDarkMode": "Karanlık modu aç/kapa",
|
||||
"toggleZenMode": "Zen modunu aç/kapa",
|
||||
"fullScreen": "",
|
||||
"darkMode": "",
|
||||
"lightMode": "",
|
||||
"zenMode": "",
|
||||
"exitZenMode": "Zen modundan çık"
|
||||
},
|
||||
"alerts": {
|
||||
@@ -128,7 +136,7 @@
|
||||
"loadSceneOverridePrompt": "Harici çizimler yüklemek mevcut olan içeriği değiştirecektir. Devam etmek istiyor musunuz?",
|
||||
"errorLoadingLibrary": "Üçüncü taraf kitaplığı yüklerken bir hata oluştu.",
|
||||
"confirmAddLibrary": "Bu, kitaplığınıza {{numShapes}} tane şekil ekleyecek. Emin misiniz?",
|
||||
"imageDoesNotContainScene": "Görsel dosyası herhangi bir sahne verisi bulundurmuyor. Dışa aktarırken bunu etkinleştirdiniz mi?",
|
||||
"imageDoesNotContainScene": "",
|
||||
"cannotRestoreFromImage": "Bu görsel dosyasından sahne onarılamıyor"
|
||||
},
|
||||
"toolBar": {
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "Tıkla ve sürükle, bitirdiğinde serbest bırak",
|
||||
"text": "İpucu: seçme aracıyla herhangi bir yere çift tıklayarak da yazı ekleyebilirsin",
|
||||
"linearElementMulti": "Tamamlamak için son noktayı seçin veya Escape ve Enter'dan birine basın",
|
||||
"lockAngle": "",
|
||||
"resize": "Yeniden boyutlandırırken SHIFT'e basılı tutarak oranları kısıtlayabilirsiniz, merkezden yeniden boyutlandırmak için ALT'a basılı tutun",
|
||||
"rotate": "Döndürürken SHIFT tuşuna basılı tutarak açıları koruyabilirsiniz",
|
||||
"lineEditor_info": "Noktaları düzenlemek için çift-tıklayın veya Enter'a basın",
|
||||
@@ -160,7 +169,7 @@
|
||||
"lineEditor_nothingSelected": "Kaldırmak veya oynatmak için bir nokta seç, veya yeni noktalar eklemek için Alt'a basılı tut"
|
||||
},
|
||||
"canvasError": {
|
||||
"cannotShowPreview": "",
|
||||
"cannotShowPreview": "Önizleme gösterilemiyor",
|
||||
"canvasTooBig": "",
|
||||
"canvasTooBigTip": ""
|
||||
},
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "Yeni satır ekle (yazı)",
|
||||
"textFinish": "(Yazıyı) düzenlemeyi bitir",
|
||||
"zoomToFit": "Tüm öğeleri sığdırmak için yakınlaştır",
|
||||
"zoomToSelection": "",
|
||||
"preventBinding": "Ok bağlamayı önleyin"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "Çizimleriniz uçtan-uca şifrelenmiştir, Excalidraw'ın sunucuları bile onları göremez."
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "Sayısal sütunu olmayan bir tablo yapıştırdın.",
|
||||
"tooManyColumns": "İkiden daha fazla sütuna sahip bir tablo yapıştırdın."
|
||||
"stats": {
|
||||
"angle": "Açı",
|
||||
"element": "Bileşen",
|
||||
"elements": "Bileşenler",
|
||||
"height": "Yükseklik",
|
||||
"scene": "",
|
||||
"selected": "Seçili",
|
||||
"storage": "Depolama",
|
||||
"title": "",
|
||||
"total": "Toplam",
|
||||
"width": ""
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "Вибрати все",
|
||||
"multiSelect": "Додати елемент до вибраного",
|
||||
"moveCanvas": "Перемістити полотно",
|
||||
"cut": "Вирізати",
|
||||
"copy": "Копіювати",
|
||||
"copyAsPng": "Копіювати як PNG",
|
||||
"copyAsSvg": "Копіювати як SVG",
|
||||
@@ -28,10 +29,15 @@
|
||||
"edges": "Краї",
|
||||
"sharp": "Гострі",
|
||||
"round": "Круглі",
|
||||
"arrowheads": "Закінчення стрілки",
|
||||
"arrowhead_none": "Жоден",
|
||||
"arrowhead_arrow": "Стрілка",
|
||||
"arrowhead_bar": "Колона",
|
||||
"arrowhead_dot": "Точка",
|
||||
"fontSize": "Розмір шрифту",
|
||||
"fontFamily": "Шрифт",
|
||||
"onlySelected": "Тільки вибране",
|
||||
"withBackground": "З тлом",
|
||||
"withBackground": "З фоном",
|
||||
"exportEmbedScene": "Вставити сцену в експортований файл",
|
||||
"exportEmbedScene_details": "Дані сцени будуть збережені в експортований файл PNG/SVG. Ця сцена може бути відновленна з нього, однак це збільшить розмір експортованого файлу.",
|
||||
"addWatermark": "Додати «Накреслене в Excalidraw»",
|
||||
@@ -70,10 +76,11 @@
|
||||
"group": "Групувати виділене",
|
||||
"ungroup": "Розгрупувати виділене",
|
||||
"collaborators": "Співавтори",
|
||||
"toggleGridMode": "Режим сітки",
|
||||
"gridMode": "Режим сітки",
|
||||
"addToLibrary": "Додати до бібліотеки",
|
||||
"removeFromLibrary": "Видалити з бібліотеки",
|
||||
"libraryLoadingMessage": "Завантажити бібліотеку...",
|
||||
"libraries": "Огляд бібліотек",
|
||||
"loadingScene": "Завантаження сцени...",
|
||||
"align": "Вирівнювання",
|
||||
"alignTop": "Вирівняти по верхньому краю",
|
||||
@@ -110,9 +117,10 @@
|
||||
"redo": "Повторити",
|
||||
"roomDialog": "Відкрити сесію спільної роботи",
|
||||
"createNewRoom": "Створити нову кімнату",
|
||||
"toggleFullScreen": "Повноекранний режим",
|
||||
"toggleDarkMode": "Переключити темний режим",
|
||||
"toggleZenMode": "Дзен-режим",
|
||||
"fullScreen": "Повноекранний режим",
|
||||
"darkMode": "Темний режим",
|
||||
"lightMode": "Світлий режим",
|
||||
"zenMode": "Режим Дзен",
|
||||
"exitZenMode": "Вийти з дзен-режиму"
|
||||
},
|
||||
"alerts": {
|
||||
@@ -128,7 +136,7 @@
|
||||
"loadSceneOverridePrompt": "Завантаження зовнішнього креслення замінить ваш наявний контент. Продовжити?",
|
||||
"errorLoadingLibrary": "Помилка при завантаженні сторонньої бібліотеки.",
|
||||
"confirmAddLibrary": "Це призведе до додавання {{numShapes}} фігур до вашої бібліотеки. Ви впевнені?",
|
||||
"imageDoesNotContainScene": "Файл зображення не містить даних сцени. Ви увімкнули це під час експорту?",
|
||||
"imageDoesNotContainScene": "Імпортування зображень на даний момент не підтримується.\n\nЧи хочете ви імпортувати сцену? Це зображення не містить ніяких даних сцен. Ви увімкнули це під час експорту?",
|
||||
"cannotRestoreFromImage": "Сцена не може бути відновлена з цього файлу зображення"
|
||||
},
|
||||
"toolBar": {
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "Натисніть і потягніть, відпустіть коли завершите",
|
||||
"text": "Порада: можна також додати текст, двічі клацнувши по будь-якому місці інструментом вибору",
|
||||
"linearElementMulti": "Натисніть на останню точку, клацніть Esc або Enter щоб завершити",
|
||||
"lockAngle": "",
|
||||
"resize": "Ви можете зберегти пропорції, утримуючи SHIFT під час зміни розміру,\nутримуйте ALT для змінення розміру від центру",
|
||||
"rotate": "Ви можете обмежити кути, утримуючи SHIFT під час обертання",
|
||||
"lineEditor_info": "Двічі клацніть або натисніть Enter щоб редагувати точки",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "Додати новий рядок (текст)",
|
||||
"textFinish": "Завершити редагування (текст)",
|
||||
"zoomToFit": "Збільшити щоб умістити все",
|
||||
"zoomToSelection": "Перейти до виділеного",
|
||||
"preventBinding": "Запобігти зв'язування зі стрілками"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "Ваші креслення захищені наскрізним шифруванням — сервери Excalidraw ніколи їх не побачать."
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "Ви вставили таблицю без числової колонки.",
|
||||
"tooManyColumns": "Ви вставляли таблицю з більш ніж двома колонками."
|
||||
"stats": {
|
||||
"angle": "Кут",
|
||||
"element": "Елемент",
|
||||
"elements": "Елементи",
|
||||
"height": "Висота",
|
||||
"scene": "Сцена",
|
||||
"selected": "Вибраний",
|
||||
"storage": "Сховище",
|
||||
"title": "Статистика",
|
||||
"total": "Всього",
|
||||
"width": "Ширина"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "全部选中",
|
||||
"multiSelect": "添加元素到选区",
|
||||
"moveCanvas": "移动画布",
|
||||
"cut": "剪切",
|
||||
"copy": "复制",
|
||||
"copyAsPng": "复制为 PNG 到剪贴板",
|
||||
"copyAsSvg": "复制为 SVG 到剪贴板",
|
||||
@@ -28,10 +29,15 @@
|
||||
"edges": "边角",
|
||||
"sharp": "尖锐",
|
||||
"round": "圆润",
|
||||
"arrowheads": "箭头",
|
||||
"arrowhead_none": "无",
|
||||
"arrowhead_arrow": "箭头",
|
||||
"arrowhead_bar": "条",
|
||||
"arrowhead_dot": "圆点",
|
||||
"fontSize": "字体大小",
|
||||
"fontFamily": "字体",
|
||||
"onlySelected": "仅被选中",
|
||||
"withBackground": "添加背景",
|
||||
"withBackground": "使用背景",
|
||||
"exportEmbedScene": "将场景嵌入到导出的文件",
|
||||
"exportEmbedScene_details": "场景数据将被保存到导出的 PNG/SVG 文件,以便恢复。\n将会增加导出的文件大小。",
|
||||
"addWatermark": "添加 “使用 Excalidraw 创建” 水印",
|
||||
@@ -70,10 +76,11 @@
|
||||
"group": "组选",
|
||||
"ungroup": "取消组选",
|
||||
"collaborators": "协作者",
|
||||
"toggleGridMode": "切换网格模式",
|
||||
"gridMode": "网格模式",
|
||||
"addToLibrary": "添加到库中",
|
||||
"removeFromLibrary": "从库中移除",
|
||||
"libraryLoadingMessage": "正在加载库...",
|
||||
"libraries": "浏览库",
|
||||
"loadingScene": "正在加载绘图...",
|
||||
"align": "对齐",
|
||||
"alignTop": "顶部对齐",
|
||||
@@ -110,9 +117,10 @@
|
||||
"redo": "重做",
|
||||
"roomDialog": "开始实时协作",
|
||||
"createNewRoom": "新建会议室",
|
||||
"toggleFullScreen": "切换全屏显示",
|
||||
"toggleDarkMode": "切换暗黑模式",
|
||||
"toggleZenMode": "切换禅模式",
|
||||
"fullScreen": "全屏",
|
||||
"darkMode": "暗色主题",
|
||||
"lightMode": "浅色模式",
|
||||
"zenMode": "禅意模式",
|
||||
"exitZenMode": "退出禅模式"
|
||||
},
|
||||
"alerts": {
|
||||
@@ -128,7 +136,7 @@
|
||||
"loadSceneOverridePrompt": "加载外部绘图将取代您现有的内容。您想要继续吗?",
|
||||
"errorLoadingLibrary": "加载第三方库时出错。",
|
||||
"confirmAddLibrary": "这将添加 {{numShapes}} 个形状到您的库。您确定吗?",
|
||||
"imageDoesNotContainScene": "图像文件不包含场景数据。您是否在导出过程中启用了此选项?",
|
||||
"imageDoesNotContainScene": "当前不支持导入图片。\n\n您想要导入场景吗?此图像似乎不包含任何场景数据。您是否在导出过程中启用了这个数据?",
|
||||
"cannotRestoreFromImage": "无法从此图像文件恢复场景"
|
||||
},
|
||||
"toolBar": {
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "点击并拖动,完成后发布",
|
||||
"text": "提示:您也可以使用选择工具双击任意位置来添加文字",
|
||||
"linearElementMulti": "点击最后一个点或按下 Esc/Enter 来完成",
|
||||
"lockAngle": "可以按住 Shift 来约束角度",
|
||||
"resize": "您可以按住SHIFT来限制比例大小,\n按住ALT来调整中心大小",
|
||||
"rotate": "旋转时可以按住 Shift 来约束角度",
|
||||
"lineEditor_info": "双击或按回车键编辑",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "文本换行",
|
||||
"textFinish": "完成编辑文本",
|
||||
"zoomToFit": "缩放以适应所有元素",
|
||||
"zoomToSelection": "缩放至选择部分",
|
||||
"preventBinding": "防止箭头吸附"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "您的绘图采用的端到端加密,因此Excalidraw服务器永远不会收集。"
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "您粘贴了一个没有数字列的表格。",
|
||||
"tooManyColumns": "您粘贴了两列以上的表格。"
|
||||
"stats": {
|
||||
"angle": "角度",
|
||||
"element": "元素",
|
||||
"elements": "元素",
|
||||
"height": "高度",
|
||||
"scene": "场景",
|
||||
"selected": "选中",
|
||||
"storage": "存储",
|
||||
"title": "玩家统计",
|
||||
"total": "总计",
|
||||
"width": "宽度"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"selectAll": "全選",
|
||||
"multiSelect": "將物件加入選取範圍",
|
||||
"moveCanvas": "移動畫布",
|
||||
"cut": "剪下",
|
||||
"copy": "複製",
|
||||
"copyAsPng": "複製 PNG 至剪貼簿",
|
||||
"copyAsSvg": "複製 SVG 至剪貼簿",
|
||||
@@ -28,6 +29,11 @@
|
||||
"edges": "邊緣",
|
||||
"sharp": "尖銳",
|
||||
"round": "平滑",
|
||||
"arrowheads": "箭頭",
|
||||
"arrowhead_none": "無",
|
||||
"arrowhead_arrow": "箭頭",
|
||||
"arrowhead_bar": "塊",
|
||||
"arrowhead_dot": "點",
|
||||
"fontSize": "字型大小",
|
||||
"fontFamily": "字體",
|
||||
"onlySelected": "僅選取物件",
|
||||
@@ -70,10 +76,11 @@
|
||||
"group": "建立群組",
|
||||
"ungroup": "取消群組",
|
||||
"collaborators": "協作者",
|
||||
"toggleGridMode": "切換格線模式",
|
||||
"gridMode": "網格模式",
|
||||
"addToLibrary": "加入資料庫",
|
||||
"removeFromLibrary": "從資料庫中移除",
|
||||
"libraryLoadingMessage": "資料庫讀取中…",
|
||||
"libraries": "",
|
||||
"loadingScene": "場景讀取中…",
|
||||
"align": "對齊",
|
||||
"alignTop": "對齊頂部",
|
||||
@@ -110,9 +117,10 @@
|
||||
"redo": "重做",
|
||||
"roomDialog": "開始即時協作",
|
||||
"createNewRoom": "建立新協作會議室",
|
||||
"toggleFullScreen": "切換全螢幕",
|
||||
"toggleDarkMode": "切換深色模式",
|
||||
"toggleZenMode": "切換專注模式",
|
||||
"fullScreen": "全螢幕",
|
||||
"darkMode": "深色模式",
|
||||
"lightMode": "淺色模式",
|
||||
"zenMode": "專注模式",
|
||||
"exitZenMode": "離開專注模式"
|
||||
},
|
||||
"alerts": {
|
||||
@@ -128,7 +136,7 @@
|
||||
"loadSceneOverridePrompt": "讀取外部圖樣將取代目前的內容。是否要繼續?",
|
||||
"errorLoadingLibrary": "載入第三方套件時出現錯誤。",
|
||||
"confirmAddLibrary": "這將會將 {{numShapes}} 個圖形加入你的資料庫,你確定嗎?",
|
||||
"imageDoesNotContainScene": "圖檔中未包含場景資料。輸出檔案時是否有包含此資料?",
|
||||
"imageDoesNotContainScene": "目前尚不支援載入圖片。\n您是否要載入場景?此圖片中並無任何場景資料,輸出時是否有選擇包含?",
|
||||
"cannotRestoreFromImage": "無法由此檔案回復場景。"
|
||||
},
|
||||
"toolBar": {
|
||||
@@ -153,6 +161,7 @@
|
||||
"freeDraw": "點擊並拖曳來繪圖,放開即結束",
|
||||
"text": "提示:亦可使用選取工具在任何地方雙擊來加入文字",
|
||||
"linearElementMulti": "按下 Escape 或 Enter 以結束繪製",
|
||||
"lockAngle": "按住 SHIFT 可限制旋轉角度",
|
||||
"resize": "縮放時按住 Shift 可保持原比例縮放;\\n按住 Alt 可由中心點進行縮放",
|
||||
"rotate": "旋轉時按住 Shift 可限制旋轉角度",
|
||||
"lineEditor_info": "雙擊滑鼠左鍵或按 Enter 來編輯控制點",
|
||||
@@ -205,13 +214,22 @@
|
||||
"textNewLine": "換行(文字)",
|
||||
"textFinish": "完成編輯(文字)",
|
||||
"zoomToFit": "放大至填滿畫面",
|
||||
"zoomToSelection": "縮放至選取區",
|
||||
"preventBinding": "防止箭頭綁定"
|
||||
},
|
||||
"encrypted": {
|
||||
"tooltip": "你的作品已使用 end-to-end 方式加密,Excalidraw 的伺服器也無法取得其內容。"
|
||||
},
|
||||
"charts": {
|
||||
"noNumericColumn": "你貼上的 spreadsheet 沒有數字欄。",
|
||||
"tooManyColumns": "你貼上的 spreadsheet 超過兩欄。"
|
||||
"stats": {
|
||||
"angle": "角度",
|
||||
"element": "元素",
|
||||
"elements": "元素",
|
||||
"height": "高度",
|
||||
"scene": "場景",
|
||||
"selected": "已選",
|
||||
"storage": "儲存",
|
||||
"title": "詳細統計",
|
||||
"total": "合計",
|
||||
"width": "寬度"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
# Changelog
|
||||
|
||||
## 0.1.0
|
||||
|
||||
First release of `@excalidraw/excalidraw`
|
||||
|
||||
## 0.1.1
|
||||
|
||||
#### Fix
|
||||
- Update the homepage URL so it redirects to correct readme [#2498](https://github.com/excalidraw/excalidraw/pull/2498)
|
||||
62
src/packages/excalidraw/CHANGELOG.md
Normal file
62
src/packages/excalidraw/CHANGELOG.md
Normal file
@@ -0,0 +1,62 @@
|
||||
# Changelog
|
||||
|
||||
<!--
|
||||
Guidelines for changelog:
|
||||
The change should be grouped under one of the below section and must contain PR link.
|
||||
- Features: For new features.
|
||||
- Fixes: For bug fixes.
|
||||
- Chore: Changes for non src files example package.json.
|
||||
- Improvements: For any improvements.
|
||||
- Refactor: For any refactoring.
|
||||
|
||||
Please add the latest change on the top under the correct section.
|
||||
-->
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Features
|
||||
|
||||
- Add support for `exportToBackend` prop to allow host apps to implement shareable links [#2612](https://github.com/excalidraw/excalidraw/pull/2612/files)
|
||||
- Add zoom to selection [#2522](https://github.com/excalidraw/excalidraw/pull/2522)
|
||||
- Insert Library items in the middle of the screen [#2527](https://github.com/excalidraw/excalidraw/pull/2527)
|
||||
- Show shortcut context menu [#2501](https://github.com/excalidraw/excalidraw/pull/2501)
|
||||
- Aligns arrowhead schemas [#2517](https://github.com/excalidraw/excalidraw/pull/2517)
|
||||
- Add Cut to menus [#2511](https://github.com/excalidraw/excalidraw/pull/2511)
|
||||
- More Arrowheads: dot, bar [#2486](https://github.com/excalidraw/excalidraw/pull/2486)
|
||||
- Support CSV graphs and improve the look and feel [#2495](https://github.com/excalidraw/excalidraw/pull/2495)
|
||||
|
||||
### Fixes
|
||||
|
||||
- Consistent case for export locale strings [#2622](https://github.com/excalidraw/excalidraw/pull/2622)
|
||||
- Remove unnecessary console.error as it was polluting Sentry [#2637](https://github.com/excalidraw/excalidraw/pull/2637)
|
||||
- Fix scroll-to-center on init for non-zero canvas offsets [#2445](https://github.com/excalidraw/excalidraw/pull/2445)
|
||||
- Hide collab button when onCollabButtonClick not supplied [#2598](https://github.com/excalidraw/excalidraw/pull/2598)
|
||||
- Fix resizing the pasted charts [#2586](https://github.com/excalidraw/excalidraw/pull/2586)
|
||||
- Fix element visibility and zoom on cursor when canvas offset isn't 0. [#2534](https://github.com/excalidraw/excalidraw/pull/2534)
|
||||
- Fix Library Menu Layout [#2502](https://github.com/excalidraw/excalidraw/pull/2502)
|
||||
- Support number with commas in charts [#2636](https://github.com/excalidraw/excalidraw/pull/2636)
|
||||
- Don't break zoom when zooming in on UI [#2638](https://github.com/excalidraw/excalidraw/pull/2638)
|
||||
|
||||
### Improvements
|
||||
|
||||
- Display proper tooltip for 2-point lines during resize, and normalize modifier key labels in hints [#2655](https://github.com/excalidraw/excalidraw/pull/2655)
|
||||
- Improve error message around importing images [#2619](https://github.com/excalidraw/excalidraw/pull/2619)
|
||||
- Add tooltip with icon for embedding scenes [#2532](https://github.com/excalidraw/excalidraw/pull/2532)
|
||||
- RTL support for the stats dialog [#2530](https://github.com/excalidraw/excalidraw/pull/2530)
|
||||
- Expand canvas padding based on zoom. [#2515](https://github.com/excalidraw/excalidraw/pull/2515)
|
||||
- Hide shortcuts on pickers for mobile [#2508](https://github.com/excalidraw/excalidraw/pull/2508)
|
||||
- Hide stats and scrollToContent-button when mobile menus open [#2509](https://github.com/excalidraw/excalidraw/pull/2509)
|
||||
|
||||
### Chore
|
||||
|
||||
- Bump ini from 1.3.5 to 1.3.7 in /src/packages/excalidraw [#2500](https://github.com/excalidraw/excalidraw/pull/2500)
|
||||
|
||||
## 0.1.1
|
||||
|
||||
#### Fix
|
||||
|
||||
- Update the homepage URL so it redirects to correct readme [#2498](https://github.com/excalidraw/excalidraw/pull/2498)
|
||||
|
||||
## 0.1.0
|
||||
|
||||
First release of `@excalidraw/excalidraw`
|
||||
@@ -39,26 +39,19 @@ import "./styles.css";
|
||||
export default function App() {
|
||||
const excalidrawRef = createRef();
|
||||
|
||||
const onChange = (elements, state) => {
|
||||
console.log(excalidrawRef.current);
|
||||
console.log("Elements :", elements, "State : ", state);
|
||||
};
|
||||
|
||||
const [dimensions, setDimensions] = useState({
|
||||
width: window.innerWidth,
|
||||
height: window.innerHeight,
|
||||
});
|
||||
|
||||
const onResize = () => {
|
||||
setDimensions({
|
||||
width: window.innerWidth,
|
||||
height: window.innerHeight,
|
||||
});
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
const onResize = () => {
|
||||
setDimensions({
|
||||
width: window.innerWidth,
|
||||
height: window.innerHeight,
|
||||
});
|
||||
};
|
||||
window.addEventListener("resize", onResize);
|
||||
|
||||
return () => window.removeEventListener("resize", onResize);
|
||||
}, []);
|
||||
|
||||
@@ -94,7 +87,6 @@ export default function App() {
|
||||
excalidrawRef.current.updateScene(sceneData);
|
||||
};
|
||||
|
||||
const { width, height } = dimensions;
|
||||
return (
|
||||
<div className="App">
|
||||
<button className="update-scene" onClick={updateScene}>
|
||||
@@ -111,12 +103,17 @@ export default function App() {
|
||||
<div className="excalidraw-wrapper">
|
||||
<Excalidraw
|
||||
ref={excalidrawRef}
|
||||
width={width}
|
||||
height={height}
|
||||
width={dimensions.width}
|
||||
height={dimensions.height}
|
||||
initialData={InitialData}
|
||||
onChange={onChange}
|
||||
onChange={(elements, state) => {
|
||||
console.log("Latest elements:", elements, "Latest state:", state);
|
||||
}}
|
||||
user={{ name: "Excalidraw User" }}
|
||||
onPointerUpdate={(payload) => console.log(payload)}
|
||||
onPointerUpdate={(pointerData) => console.log(pointerData)}
|
||||
onCollabButtonClick={() => {
|
||||
window.alert("You clicked on collab button");
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -141,6 +138,7 @@ export default function App() {
|
||||
| [`onCollabButtonClick`](#onCollabButtonClick) | Function | | Callback to be triggered when the collab button is clicked |
|
||||
| [`isCollaborating`](#isCollaborating) | `boolean` | | This implies if the app is in collaboration mode |
|
||||
| [`onPointerUpdate`](#onPointerUpdate) | Function | | Callback triggered when mouse pointer is updated. |
|
||||
| [`onExportToBackend`](#onExportToBackend) | Function | | Callback triggered when link button is clicked on export dialog |
|
||||
|
||||
#### `width`
|
||||
|
||||
@@ -219,8 +217,8 @@ This is the user name which shows during collaboration. Defaults to `{name: ''}`
|
||||
|
||||
#### `excalidrawRef`
|
||||
|
||||
You can pass a ref when you want to access some excalidraw API's.
|
||||
We expose the below API's
|
||||
You can pass a `ref` when you want to access some excalidraw APIs.
|
||||
We expose the below APIs:
|
||||
|
||||
| API | signature | Usage |
|
||||
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||||
@@ -241,15 +239,15 @@ const excalidrawRef = { current: { readyPromise: <a href="https://github.com/exc
|
||||
|
||||
#### `onCollabButtonClick`
|
||||
|
||||
This callback is triggered when clicked on the collab button in excalidraw
|
||||
This callback is triggered when clicked on the collab button in excalidraw. If not supplied, the collab dialog button is not rendered.
|
||||
|
||||
#### `isCollaborating`
|
||||
|
||||
This props implies if the app is in collaboration mode
|
||||
This prop indicates if the app is in collaboration mode.
|
||||
|
||||
#### `onPointerUpdate`
|
||||
|
||||
This callback is triggered when mouse pointer is updated
|
||||
This callback is triggered when mouse pointer is updated.
|
||||
|
||||
```js
|
||||
({ x, y }, button, pointersMap}) => void;
|
||||
@@ -260,3 +258,15 @@ This callback is triggered when mouse pointer is updated
|
||||
2.`button`: The position of the button. This will be one of `["down", "up"]`
|
||||
|
||||
3.`pointersMap`: [`pointers map`](https://github.com/excalidraw/excalidraw/blob/182a3e39e1362d73d2a565c870eb2fb72071fdcc/src/types.ts#L122) of the scene
|
||||
|
||||
#### `onExportToBackend`
|
||||
|
||||
This callback is triggered when the shareable-link button is clicked in the export dialog. The link button will only be shown if this callback is passed.
|
||||
|
||||
```js
|
||||
(exportedElements, appState, canvas) => void
|
||||
```
|
||||
|
||||
1. `exportedElements`: An array of [non deleted elements](https://github.com/excalidraw/excalidraw/blob/6e45cb95dbd7a8be1859c7055b06957298e3097c/src/element/types.ts#L76) which needs to be exported.
|
||||
2. `appState`: [AppState](https://github.com/excalidraw/excalidraw/blob/4c90ea5667d29effe8ec4a115e49efc7c340cdb3/src/types.ts#L33) of the scene.
|
||||
3. `canvas`: The `HTMLCanvasElement` of the scene.
|
||||
|
||||
@@ -8,7 +8,6 @@ import "../../css/styles.scss";
|
||||
|
||||
import { ExcalidrawAPIRefValue, ExcalidrawProps } from "../../types";
|
||||
import { IsMobileProvider } from "../../is-mobile";
|
||||
import { noop } from "../../utils";
|
||||
|
||||
const Excalidraw = (props: ExcalidrawProps) => {
|
||||
const {
|
||||
@@ -20,9 +19,10 @@ const Excalidraw = (props: ExcalidrawProps) => {
|
||||
initialData,
|
||||
user,
|
||||
excalidrawRef,
|
||||
onCollabButtonClick = noop,
|
||||
onCollabButtonClick,
|
||||
isCollaborating,
|
||||
onPointerUpdate,
|
||||
onExportToBackend,
|
||||
} = props;
|
||||
|
||||
useEffect(() => {
|
||||
@@ -58,6 +58,7 @@ const Excalidraw = (props: ExcalidrawProps) => {
|
||||
onCollabButtonClick={onCollabButtonClick}
|
||||
isCollaborating={isCollaborating}
|
||||
onPointerUpdate={onPointerUpdate}
|
||||
onExportToBackend={onExportToBackend}
|
||||
/>
|
||||
</IsMobileProvider>
|
||||
</InitializeApp>
|
||||
|
||||
6223
src/packages/excalidraw/package-lock.json
generated
6223
src/packages/excalidraw/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -37,30 +37,30 @@
|
||||
]
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^16.13.1",
|
||||
"react-dom": "^16.13.1"
|
||||
"react": "^17.0.1",
|
||||
"react-dom": "^17.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.9.0",
|
||||
"@babel/plugin-transform-arrow-functions": "7.8.3",
|
||||
"@babel/plugin-transform-async-to-generator": "7.8.3",
|
||||
"@babel/plugin-transform-runtime": "7.12.1",
|
||||
"@babel/plugin-transform-typescript": "7.9.4",
|
||||
"@babel/preset-env": "7.9.5",
|
||||
"@babel/preset-react": "7.9.4",
|
||||
"@babel/preset-typescript": "7.9.0",
|
||||
"babel-loader": "8.1.0",
|
||||
"@babel/core": "7.12.10",
|
||||
"@babel/plugin-transform-arrow-functions": "7.12.1",
|
||||
"@babel/plugin-transform-async-to-generator": "7.12.1",
|
||||
"@babel/plugin-transform-runtime": "7.12.10",
|
||||
"@babel/plugin-transform-typescript": "7.12.1",
|
||||
"@babel/preset-env": "7.12.11",
|
||||
"@babel/preset-react": "7.12.10",
|
||||
"@babel/preset-typescript": "7.12.7",
|
||||
"babel-loader": "8.2.2",
|
||||
"babel-plugin-transform-class-properties": "6.24.1",
|
||||
"cross-env": "7.0.2",
|
||||
"css-loader": "3.5.2",
|
||||
"file-loader": "6.0.0",
|
||||
"mini-css-extract-plugin": "0.8.0",
|
||||
"sass-loader": "8.0.2",
|
||||
"terser-webpack-plugin": "2.3.5",
|
||||
"ts-loader": "7.0.0",
|
||||
"webpack": "4.42.0",
|
||||
"webpack-bundle-analyzer": "3.9.0",
|
||||
"webpack-cli": "3.3.11"
|
||||
"cross-env": "7.0.3",
|
||||
"css-loader": "5.0.1",
|
||||
"file-loader": "6.2.0",
|
||||
"mini-css-extract-plugin": "1.3.3",
|
||||
"sass-loader": "10.1.0",
|
||||
"terser-webpack-plugin": "5.0.3",
|
||||
"ts-loader": "8.0.12",
|
||||
"webpack": "5.11.0",
|
||||
"webpack-bundle-analyzer": "4.3.0",
|
||||
"webpack-cli": "4.2.0"
|
||||
},
|
||||
"bugs": "https://github.com/excalidraw/excalidraw/issues",
|
||||
"repository": "https://github.com/excalidraw/excalidraw",
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { exportToBlob, exportToSvg } from "../utils.ts";
|
||||
export { exportToBlob, exportToSvg, exportToCanvas } from "./utils";
|
||||
|
||||
5232
src/packages/utils/package-lock.json
generated
5232
src/packages/utils/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"name": "@excalidraw/utils",
|
||||
"sideEffects": false,
|
||||
"version": "0.1.0",
|
||||
"main": "dist/excalidraw-utils.min.js",
|
||||
"files": [
|
||||
@@ -34,21 +35,21 @@
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.9.0",
|
||||
"@babel/plugin-transform-arrow-functions": "7.8.3",
|
||||
"@babel/plugin-transform-async-to-generator": "7.8.3",
|
||||
"@babel/plugin-transform-runtime": "^7.12.1",
|
||||
"@babel/plugin-transform-typescript": "7.9.4",
|
||||
"@babel/preset-env": "7.9.5",
|
||||
"@babel/preset-typescript": "7.9.0",
|
||||
"babel-loader": "8.1.0",
|
||||
"@babel/core": "7.12.10",
|
||||
"@babel/plugin-transform-arrow-functions": "7.12.1",
|
||||
"@babel/plugin-transform-async-to-generator": "7.12.1",
|
||||
"@babel/plugin-transform-runtime": "^7.12.10",
|
||||
"@babel/plugin-transform-typescript": "7.12.1",
|
||||
"@babel/preset-env": "7.12.11",
|
||||
"@babel/preset-typescript": "7.12.7",
|
||||
"babel-loader": "8.2.2",
|
||||
"babel-plugin-transform-class-properties": "6.24.1",
|
||||
"cross-env": "7.0.2",
|
||||
"file-loader": "6.0.0",
|
||||
"ts-loader": "7.0.0",
|
||||
"webpack": "4.42.0",
|
||||
"webpack-bundle-analyzer": "3.9.0",
|
||||
"webpack-cli": "3.3.11"
|
||||
"cross-env": "7.0.3",
|
||||
"file-loader": "6.2.0",
|
||||
"ts-loader": "8.0.12",
|
||||
"webpack": "5.11.0",
|
||||
"webpack-bundle-analyzer": "4.3.0",
|
||||
"webpack-cli": "4.2.0"
|
||||
},
|
||||
"bugs": "https://github.com/excalidraw/excalidraw/issues",
|
||||
"repository": "https://github.com/excalidraw/excalidraw",
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import {
|
||||
exportToCanvas as _exportToCanvas,
|
||||
exportToSvg as _exportToSvg,
|
||||
} from "../scene/export";
|
||||
import { getDefaultAppState } from "../appState";
|
||||
import { AppState } from "../types";
|
||||
import { ExcalidrawElement } from "../element/types";
|
||||
import { getNonDeletedElements } from "../element";
|
||||
} from "../../scene/export";
|
||||
import { getDefaultAppState } from "../../appState";
|
||||
import { AppState } from "../../types";
|
||||
import { ExcalidrawElement } from "../../element/types";
|
||||
import { getNonDeletedElements } from "../../element";
|
||||
|
||||
type ExportOpts = {
|
||||
elements: readonly ExcalidrawElement[];
|
||||
@@ -16,7 +16,7 @@ type ExportOpts = {
|
||||
) => { width: number; height: number; scale: number };
|
||||
};
|
||||
|
||||
const exportToCanvas = ({
|
||||
export const exportToCanvas = ({
|
||||
elements,
|
||||
appState = getDefaultAppState(),
|
||||
getDimensions = (width, height) => ({ width, height, scale: 1 }),
|
||||
@@ -13,7 +13,7 @@ module.exports = {
|
||||
libraryTarget: "umd",
|
||||
},
|
||||
resolve: {
|
||||
extensions: [".tsx", ".ts", ".js"],
|
||||
extensions: [".ts", ".js"],
|
||||
},
|
||||
optimization: {
|
||||
runtimeChunk: false,
|
||||
@@ -40,4 +40,18 @@ module.exports = {
|
||||
}),
|
||||
...(process.env.ANALYZER === "true" ? [new BundleAnalyzerPlugin()] : []),
|
||||
],
|
||||
externals: {
|
||||
react: {
|
||||
root: "React",
|
||||
commonjs2: "react",
|
||||
commonjs: "react",
|
||||
amd: "react",
|
||||
},
|
||||
"react-dom": {
|
||||
root: "ReactDOM",
|
||||
commonjs2: "react-dom",
|
||||
commonjs: "react-dom",
|
||||
amd: "react-dom",
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -763,13 +763,20 @@ const isVisibleElement = (
|
||||
) => {
|
||||
const [x1, y1, x2, y2] = getElementBounds(element); // scene coordinates
|
||||
const topLeftSceneCoords = viewportCoordsToSceneCoords(
|
||||
{ clientX: 0, clientY: 0 },
|
||||
{
|
||||
clientX: viewTransformations.offsetLeft,
|
||||
clientY: viewTransformations.offsetTop,
|
||||
},
|
||||
viewTransformations,
|
||||
);
|
||||
const bottomRightSceneCoords = viewportCoordsToSceneCoords(
|
||||
{ clientX: canvasWidth, clientY: canvasHeight },
|
||||
{
|
||||
clientX: viewTransformations.offsetLeft + canvasWidth,
|
||||
clientY: viewTransformations.offsetTop + canvasHeight,
|
||||
},
|
||||
viewTransformations,
|
||||
);
|
||||
|
||||
return (
|
||||
topLeftSceneCoords.x <= x2 &&
|
||||
topLeftSceneCoords.y <= y2 &&
|
||||
|
||||
@@ -7,7 +7,6 @@ import { renderScene, renderSceneToSvg } from "../renderer/renderScene";
|
||||
import { distance, SVG_NS } from "../utils";
|
||||
import { normalizeScroll } from "./scroll";
|
||||
import { AppState } from "../types";
|
||||
import { t } from "../i18n";
|
||||
import { DEFAULT_FONT_FAMILY, DEFAULT_VERTICAL_ALIGN } from "../constants";
|
||||
import { getDefaultAppState } from "../appState";
|
||||
|
||||
@@ -23,12 +22,14 @@ export const exportToCanvas = (
|
||||
viewBackgroundColor,
|
||||
scale = 1,
|
||||
shouldAddWatermark,
|
||||
watermarkText,
|
||||
}: {
|
||||
exportBackground: boolean;
|
||||
exportPadding?: number;
|
||||
scale?: number;
|
||||
viewBackgroundColor: string;
|
||||
shouldAddWatermark: boolean;
|
||||
watermarkText?: string;
|
||||
},
|
||||
createCanvas: (width: number, height: number) => HTMLCanvasElement = (
|
||||
width,
|
||||
@@ -40,7 +41,11 @@ export const exportToCanvas = (
|
||||
return tempCanvas;
|
||||
},
|
||||
) => {
|
||||
const sceneElements = getElementsAndWatermark(elements, shouldAddWatermark);
|
||||
const sceneElements = getElementsAndWatermark(
|
||||
elements,
|
||||
shouldAddWatermark,
|
||||
watermarkText,
|
||||
);
|
||||
|
||||
const [minX, minY, width, height] = getCanvasSize(
|
||||
sceneElements,
|
||||
@@ -152,20 +157,25 @@ export const exportToSvg = (
|
||||
const getElementsAndWatermark = (
|
||||
elements: readonly NonDeletedExcalidrawElement[],
|
||||
shouldAddWatermark: boolean,
|
||||
watermarkText?: string,
|
||||
): readonly NonDeletedExcalidrawElement[] => {
|
||||
let _elements = [...elements];
|
||||
|
||||
if (shouldAddWatermark) {
|
||||
const [, , maxX, maxY] = getCommonBounds(elements);
|
||||
_elements = [..._elements, getWatermarkElement(maxX, maxY)];
|
||||
_elements = [..._elements, getWatermarkElement(maxX, maxY, watermarkText)];
|
||||
}
|
||||
|
||||
return _elements;
|
||||
};
|
||||
|
||||
const getWatermarkElement = (maxX: number, maxY: number) => {
|
||||
const getWatermarkElement = (
|
||||
maxX: number,
|
||||
maxY: number,
|
||||
watermarkText: string = "",
|
||||
) => {
|
||||
return newTextElement({
|
||||
text: t("labels.madeWithExcalidraw"),
|
||||
text: watermarkText,
|
||||
fontSize: WATERMARK_HEIGHT,
|
||||
fontFamily: DEFAULT_FONT_FAMILY,
|
||||
textAlign: "right",
|
||||
@@ -204,8 +214,13 @@ export const getExportSize = (
|
||||
exportPadding: number,
|
||||
shouldAddWatermark: boolean,
|
||||
scale: number,
|
||||
watermarkText?: string,
|
||||
): [number, number] => {
|
||||
const sceneElements = getElementsAndWatermark(elements, shouldAddWatermark);
|
||||
const sceneElements = getElementsAndWatermark(
|
||||
elements,
|
||||
shouldAddWatermark,
|
||||
watermarkText,
|
||||
);
|
||||
|
||||
const [, , width, height] = getCanvasSize(
|
||||
sceneElements,
|
||||
|
||||
@@ -3,6 +3,7 @@ import { NormalizedZoomValue, PointerCoords, Zoom } from "../types";
|
||||
export const getNewZoom = (
|
||||
newZoomValue: NormalizedZoomValue,
|
||||
prevZoom: Zoom,
|
||||
canvasOffset: { left: number; top: number },
|
||||
zoomOnViewportPoint: PointerCoords = { x: 0, y: 0 },
|
||||
): Zoom => {
|
||||
return {
|
||||
@@ -10,11 +11,13 @@ export const getNewZoom = (
|
||||
translation: {
|
||||
x:
|
||||
zoomOnViewportPoint.x -
|
||||
(zoomOnViewportPoint.x - prevZoom.translation.x) *
|
||||
canvasOffset.left -
|
||||
(zoomOnViewportPoint.x - canvasOffset.left - prevZoom.translation.x) *
|
||||
(newZoomValue / prevZoom.value),
|
||||
y:
|
||||
zoomOnViewportPoint.y -
|
||||
(zoomOnViewportPoint.y - prevZoom.translation.y) *
|
||||
canvasOffset.top -
|
||||
(zoomOnViewportPoint.y - canvasOffset.top - prevZoom.translation.y) *
|
||||
(newZoomValue / prevZoom.value),
|
||||
},
|
||||
};
|
||||
|
||||
20
src/tests/__snapshots__/charts.test.tsx.snap
Normal file
20
src/tests/__snapshots__/charts.test.tsx.snap
Normal file
@@ -0,0 +1,20 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`tryParseSpreadsheet works for numbers with comma in them 1`] = `
|
||||
Object {
|
||||
"spreadsheet": Object {
|
||||
"labels": Array [
|
||||
"Week 1",
|
||||
"Week 2",
|
||||
"Week 3",
|
||||
],
|
||||
"title": "Users",
|
||||
"values": Array [
|
||||
814,
|
||||
10301,
|
||||
4264,
|
||||
],
|
||||
},
|
||||
"type": "VALID_SPREADSHEET",
|
||||
}
|
||||
`;
|
||||
File diff suppressed because it is too large
Load Diff
13
src/tests/charts.test.tsx
Normal file
13
src/tests/charts.test.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { tryParseSpreadsheet } from "../charts";
|
||||
|
||||
describe("tryParseSpreadsheet", () => {
|
||||
it("works for numbers with comma in them", () => {
|
||||
const result = tryParseSpreadsheet(
|
||||
`Week Index${"\t"}Users
|
||||
Week 1${"\t"}814
|
||||
Week 2${"\t"}10,301
|
||||
Week 3${"\t"}4,264`,
|
||||
);
|
||||
expect(result).toMatchSnapshot();
|
||||
});
|
||||
});
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user