Compare commits
19
Commits
v1.0.0-beta.0
...
v1.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
16a822cc7d | ||
|
|
6f219e5368 | ||
|
|
e239d85901 | ||
|
|
f539e7b76d | ||
|
|
0c92623109 | ||
|
|
95ea1e97d3 | ||
|
|
6f99d99683 | ||
|
|
afdcd11da6 | ||
|
|
a628f116a7 | ||
|
|
6b158f0f1d | ||
|
|
f59981db79 | ||
|
|
96fa39e830 | ||
|
|
2efc20cc02 | ||
|
|
31d314736a | ||
|
|
729e5dac5e | ||
|
|
07e58ffe0c | ||
|
|
32aae89c6e | ||
|
|
1a5c0f53f8 | ||
|
|
b63f0742ba |
@@ -1,12 +0,0 @@
|
||||
# These are supported funding model platforms
|
||||
|
||||
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
||||
patreon: # Replace with a single Patreon username
|
||||
open_collective: # Replace with a single Open Collective username
|
||||
ko_fi: meltyshev
|
||||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
||||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
||||
liberapay: # Replace with a single Liberapay username
|
||||
issuehunt: # Replace with a single IssueHunt username
|
||||
otechie: # Replace with a single Otechie username
|
||||
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npx lint-staged
|
||||
+15
-11
@@ -1,22 +1,23 @@
|
||||
FROM node AS client-builder
|
||||
FROM node:lts AS client-builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY client .
|
||||
COPY client/package.json client/package-lock.json ./
|
||||
|
||||
RUN npm install npm@latest --global \
|
||||
&& npm install \
|
||||
&& npm run build
|
||||
&& npm install
|
||||
|
||||
FROM node:alpine
|
||||
COPY client .
|
||||
RUN npm run build
|
||||
|
||||
FROM node:lts-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY server .
|
||||
COPY docker-start.sh start.sh
|
||||
COPY server/.npmrc server/package.json server/package-lock.json ./
|
||||
|
||||
ARG ALPINE_VERSION=3.12
|
||||
ARG VIPS_VERSION=8.10.2
|
||||
ARG ALPINE_VERSION=3.15
|
||||
ARG VIPS_VERSION=8.12.2
|
||||
|
||||
RUN apk -U upgrade \
|
||||
&& apk add \
|
||||
@@ -43,8 +44,11 @@ RUN apk -U upgrade \
|
||||
&& rm -rf /tmp/vips-${VIPS_VERSION} \
|
||||
&& npm install npm@latest --global \
|
||||
&& npm install --production \
|
||||
&& apk del vips-dependencies --purge \
|
||||
&& chmod +x start.sh
|
||||
&& apk del vips-dependencies --purge
|
||||
|
||||
COPY docker-start.sh start.sh
|
||||
RUN chmod +x start.sh
|
||||
COPY server .
|
||||
|
||||
COPY --from=client-builder /app/build public
|
||||
COPY --from=client-builder /app/build/index.html views
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Planka
|
||||
|
||||
  
|
||||
  
|
||||
|
||||
A Trello-like kanban board built with React and Redux.
|
||||
|
||||
@@ -8,8 +8,6 @@ A Trello-like kanban board built with React and Redux.
|
||||
|
||||
[**Client demo**](https://plankanban.github.io/planka) (without server features).
|
||||
|
||||
<a href="https://ko-fi.com/meltyshev" target="_blank"><img src="https://cdn.ko-fi.com/cdn/kofi4.png?v=2" alt="Buy Me a Coffee at ko-fi.com" border="0" height="36" style="border:0px;height:36px;" /></a>
|
||||
|
||||
## Features
|
||||
|
||||
- Create projects, boards, lists, cards, labels and tasks
|
||||
@@ -21,23 +19,8 @@ A Trello-like kanban board built with React and Redux.
|
||||
- User notifications
|
||||
- Internationalization
|
||||
|
||||
## Roadmap
|
||||
|
||||
### Current task
|
||||
|
||||
Projects should have Managers who have the ability to create/edit/delete boards. Boards should have their own Members, so members won't see all boards, just those they belong to. Planka will be released after this breaking change.
|
||||
|
||||
### Future tasks
|
||||
|
||||
- Fetch last data after reconnection
|
||||
- Custom fields
|
||||
- Public boards
|
||||
- Automatic actions
|
||||
|
||||
## Deploy
|
||||
|
||||
**Please note that Planka is NOT released yet, API and database structure may be changed!**
|
||||
|
||||
### Docker Compose
|
||||
|
||||
[](https://hub.docker.com/r/meltyshev/planka)
|
||||
|
||||
Generated
+16341
-23543
File diff suppressed because it is too large
Load Diff
+43
-34
@@ -25,7 +25,15 @@
|
||||
"browser": true,
|
||||
"jest": true
|
||||
},
|
||||
"parser": "babel-eslint",
|
||||
"parser": "@babel/eslint-parser",
|
||||
"parserOptions": {
|
||||
"babelOptions": {
|
||||
"presets": [
|
||||
"airbnb"
|
||||
]
|
||||
},
|
||||
"requireConfigFile": false
|
||||
},
|
||||
"plugins": [
|
||||
"prettier"
|
||||
],
|
||||
@@ -56,54 +64,55 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"classnames": "^2.2.6",
|
||||
"connected-react-router": "^6.8.0",
|
||||
"date-fns": "^2.22.1",
|
||||
"connected-react-router": "^6.9.2",
|
||||
"date-fns": "^2.28.0",
|
||||
"dequal": "^2.0.2",
|
||||
"history": "^4.10.1",
|
||||
"i18next": "^20.3.2",
|
||||
"i18next-browser-languagedetector": "^6.1.2",
|
||||
"initials": "^3.1.1",
|
||||
"i18next": "^21.6.16",
|
||||
"i18next-browser-languagedetector": "^6.1.4",
|
||||
"initials": "^3.1.2",
|
||||
"lodash": "^4.17.20",
|
||||
"node-sass": "^6.0.0",
|
||||
"prop-types": "^15.7.2",
|
||||
"react": "^17.0.1",
|
||||
"node-sass": "^7.0.1",
|
||||
"prop-types": "^15.8.1",
|
||||
"react": "^17.0.2",
|
||||
"react-beautiful-dnd": "^13.0.0",
|
||||
"react-datepicker": "^4.1.1",
|
||||
"react-dom": "^17.0.1",
|
||||
"react-dropzone": "^11.3.1",
|
||||
"react-i18next": "^11.11.0",
|
||||
"react-datepicker": "^4.7.0",
|
||||
"react-dom": "^17.0.2",
|
||||
"react-dropzone": "^12.0.5",
|
||||
"react-i18next": "^11.16.6",
|
||||
"react-input-mask": "^2.0.4",
|
||||
"react-markdown": "^6.0.2",
|
||||
"react-redux": "^7.2.4",
|
||||
"react-router-dom": "^5.2.0",
|
||||
"react-scripts": "4.0.3",
|
||||
"react-markdown": "^8.0.2",
|
||||
"react-redux": "^7.2.8",
|
||||
"react-router-dom": "^5.3.1",
|
||||
"react-scripts": "5.0.1",
|
||||
"react-textarea-autosize": "^8.3.3",
|
||||
"redux": "^4.1.0",
|
||||
"redux": "^4.1.2",
|
||||
"redux-logger": "^3.0.6",
|
||||
"redux-orm": "^0.16.2",
|
||||
"redux-saga": "^1.1.3",
|
||||
"remark-gfm": "^1.0.0",
|
||||
"reselect": "^4.0.0",
|
||||
"remark-gfm": "^3.0.1",
|
||||
"reselect": "^4.1.5",
|
||||
"sails.io.js": "^1.2.1",
|
||||
"semantic-ui-react": "^2.0.3",
|
||||
"semantic-ui-react": "^2.1.2",
|
||||
"socket.io-client": "^2.3.1",
|
||||
"validator": "^13.6.0",
|
||||
"validator": "^13.7.0",
|
||||
"whatwg-fetch": "^3.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.2",
|
||||
"chai": "^4.3.0",
|
||||
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
|
||||
"babel-preset-airbnb": "^5.0.0",
|
||||
"chai": "^4.3.6",
|
||||
"enzyme": "^3.11.0",
|
||||
"eslint": "^7.29.0",
|
||||
"eslint-config-airbnb": "^18.2.1",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-import": "^2.23.4",
|
||||
"eslint-plugin-jsx-a11y": "^6.4.1",
|
||||
"eslint-plugin-prettier": "^3.4.0",
|
||||
"eslint-plugin-react": "^7.24.0",
|
||||
"eslint-plugin-react-hooks": "^4.2.0",
|
||||
"eslint": "^8.13.0",
|
||||
"eslint-config-airbnb": "^19.0.4",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.5.1",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"eslint-plugin-react": "^7.29.4",
|
||||
"eslint-plugin-react-hooks": "^4.4.0",
|
||||
"jest-enzyme": "^7.1.2",
|
||||
"prettier": "2.3.1",
|
||||
"react-test-renderer": "^17.0.1"
|
||||
"prettier": "2.6.2",
|
||||
"react-test-renderer": "^17.0.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,18 +9,20 @@ import { ProjectBackgroundTypes } from '../../constants/Enums';
|
||||
import styles from './Background.module.scss';
|
||||
import globalStyles from '../../styles.module.scss';
|
||||
|
||||
const Background = ({ type, name, imageUrl }) => (
|
||||
<div
|
||||
className={classNames(
|
||||
styles.wrapper,
|
||||
type === ProjectBackgroundTypes.GRADIENT &&
|
||||
globalStyles[`background${upperFirst(camelCase(name))}`],
|
||||
)}
|
||||
style={{
|
||||
background: type === 'image' && `url("${imageUrl}") center / cover`,
|
||||
}}
|
||||
/>
|
||||
);
|
||||
function Background({ type, name, imageUrl }) {
|
||||
return (
|
||||
<div
|
||||
className={classNames(
|
||||
styles.wrapper,
|
||||
type === ProjectBackgroundTypes.GRADIENT &&
|
||||
globalStyles[`background${upperFirst(camelCase(name))}`],
|
||||
)}
|
||||
style={{
|
||||
background: type === 'image' && `url("${imageUrl}") center / cover`,
|
||||
}}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Background.propTypes = {
|
||||
type: PropTypes.string.isRequired,
|
||||
|
||||
@@ -40,9 +40,7 @@ const Tasks = React.memo(({ items }) => {
|
||||
<span
|
||||
className={classNames(styles.count, isOpened ? styles.countOpened : styles.countClosed)}
|
||||
>
|
||||
{completedItems.length}
|
||||
{'/'}
|
||||
{items.length}
|
||||
{completedItems.length}/{items.length}
|
||||
</span>
|
||||
</div>
|
||||
{isOpened && (
|
||||
|
||||
@@ -123,9 +123,12 @@
|
||||
overflow-wrap: break-word;
|
||||
padding: 0;
|
||||
text-align: left;
|
||||
white-space: pre-line;
|
||||
width: 100%;
|
||||
|
||||
p {
|
||||
white-space: pre-line;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
@@ -9,22 +9,24 @@ import UserSettingsModalContainer from '../containers/UserSettingsModalContainer
|
||||
import ProjectAddModalContainer from '../containers/ProjectAddModalContainer';
|
||||
import Background from './Background';
|
||||
|
||||
const Core = ({ currentModal, currentProject }) => (
|
||||
<>
|
||||
{currentProject && currentProject.background && (
|
||||
<Background
|
||||
type={currentProject.background.type}
|
||||
name={currentProject.background.name}
|
||||
imageUrl={currentProject.backgroundImage && currentProject.backgroundImage.url}
|
||||
/>
|
||||
)}
|
||||
<FixedContainer />
|
||||
<StaticContainer />
|
||||
{currentModal === ModalTypes.USERS && <UsersModalContainer />}
|
||||
{currentModal === ModalTypes.USER_SETTINGS && <UserSettingsModalContainer />}
|
||||
{currentModal === ModalTypes.PROJECT_ADD && <ProjectAddModalContainer />}
|
||||
</>
|
||||
);
|
||||
function Core({ currentModal, currentProject }) {
|
||||
return (
|
||||
<>
|
||||
{currentProject && currentProject.background && (
|
||||
<Background
|
||||
type={currentProject.background.type}
|
||||
name={currentProject.background.name}
|
||||
imageUrl={currentProject.backgroundImage && currentProject.backgroundImage.url}
|
||||
/>
|
||||
)}
|
||||
<FixedContainer />
|
||||
<StaticContainer />
|
||||
{currentModal === ModalTypes.USERS && <UsersModalContainer />}
|
||||
{currentModal === ModalTypes.USER_SETTINGS && <UserSettingsModalContainer />}
|
||||
{currentModal === ModalTypes.PROJECT_ADD && <ProjectAddModalContainer />}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Core.propTypes = {
|
||||
currentModal: PropTypes.oneOf(Object.values(ModalTypes)),
|
||||
|
||||
@@ -7,13 +7,15 @@ import BoardActionsContainer from '../../containers/BoardActionsContainer';
|
||||
|
||||
import styles from './Fixed.module.scss';
|
||||
|
||||
const Fixed = ({ projectId, board }) => (
|
||||
<div className={styles.wrapper}>
|
||||
<HeaderContainer />
|
||||
{projectId && <ProjectContainer />}
|
||||
{board && !board.isFetching && <BoardActionsContainer />}
|
||||
</div>
|
||||
);
|
||||
function Fixed({ projectId, board }) {
|
||||
return (
|
||||
<div className={styles.wrapper}>
|
||||
<HeaderContainer />
|
||||
{projectId && <ProjectContainer />}
|
||||
{board && !board.isFetching && <BoardActionsContainer />}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Fixed.propTypes = {
|
||||
projectId: PropTypes.string,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
const NotFound = () => {
|
||||
function NotFound() {
|
||||
const [t] = useTranslation();
|
||||
|
||||
return (
|
||||
@@ -11,6 +11,6 @@ const NotFound = () => {
|
||||
})}
|
||||
</h1>
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
export default NotFound;
|
||||
|
||||
@@ -14,20 +14,22 @@ import '../lib/custom-ui/styles.css';
|
||||
|
||||
import '../styles.module.scss';
|
||||
|
||||
const Root = ({ store, history }) => (
|
||||
<Provider store={store}>
|
||||
<ConnectedRouter history={history}>
|
||||
<Switch>
|
||||
<Route exact path={Paths.LOGIN} component={LoginContainer} />
|
||||
<Route exact path={Paths.ROOT} component={CoreWrapperContainer} />
|
||||
<Route exact path={Paths.PROJECTS} component={CoreWrapperContainer} />
|
||||
<Route exact path={Paths.BOARDS} component={CoreWrapperContainer} />
|
||||
<Route exact path={Paths.CARDS} component={CoreWrapperContainer} />
|
||||
<Route path="*" component={NotFound} />
|
||||
</Switch>
|
||||
</ConnectedRouter>
|
||||
</Provider>
|
||||
);
|
||||
function Root({ store, history }) {
|
||||
return (
|
||||
<Provider store={store}>
|
||||
<ConnectedRouter history={history}>
|
||||
<Switch>
|
||||
<Route exact path={Paths.LOGIN} component={LoginContainer} />
|
||||
<Route exact path={Paths.ROOT} component={CoreWrapperContainer} />
|
||||
<Route exact path={Paths.PROJECTS} component={CoreWrapperContainer} />
|
||||
<Route exact path={Paths.BOARDS} component={CoreWrapperContainer} />
|
||||
<Route exact path={Paths.CARDS} component={CoreWrapperContainer} />
|
||||
<Route path="*" component={NotFound} />
|
||||
</Switch>
|
||||
</ConnectedRouter>
|
||||
</Provider>
|
||||
);
|
||||
}
|
||||
|
||||
Root.propTypes = {
|
||||
/* eslint-disable react/forbid-prop-types */
|
||||
|
||||
@@ -9,7 +9,7 @@ import BoardWrapperContainer from '../../containers/BoardWrapperContainer';
|
||||
|
||||
import styles from './Static.module.scss';
|
||||
|
||||
const Static = ({ cardId, boardId, projectId }) => {
|
||||
function Static({ cardId, boardId, projectId }) {
|
||||
const [t] = useTranslation();
|
||||
|
||||
if (projectId === undefined) {
|
||||
@@ -85,7 +85,7 @@ const Static = ({ cardId, boardId, projectId }) => {
|
||||
<BoardWrapperContainer />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
Static.propTypes = {
|
||||
cardId: PropTypes.string,
|
||||
|
||||
+5
-5
@@ -14,7 +14,7 @@ i18n.dateFns = {
|
||||
|
||||
registerLocale(language, locale);
|
||||
},
|
||||
getLocale(language = i18n.language) {
|
||||
getLocale(language = i18n.resolvedLanguage) {
|
||||
return this.locales[language];
|
||||
},
|
||||
format(date, format, { language, ...options } = {}) {
|
||||
@@ -31,8 +31,8 @@ i18n.dateFns = {
|
||||
},
|
||||
};
|
||||
|
||||
i18n.on('languageChanged', (language) => {
|
||||
setDefaultLocale(language);
|
||||
i18n.on('languageChanged', () => {
|
||||
setDefaultLocale(i18n.resolvedLanguage);
|
||||
});
|
||||
|
||||
const formatDatePostProcessor = {
|
||||
@@ -59,8 +59,8 @@ i18n
|
||||
.init({
|
||||
resources: embedLocales,
|
||||
fallbackLng: false,
|
||||
whitelist: languages,
|
||||
load: 'currentOnly',
|
||||
supportedLngs: languages,
|
||||
load: 'languageOnly',
|
||||
interpolation: {
|
||||
escapeValue: false,
|
||||
format(value, format, language) {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -0,0 +1,213 @@
|
||||
import dateFns from 'date-fns/locale/da';
|
||||
|
||||
export default {
|
||||
dateFns,
|
||||
|
||||
format: {
|
||||
date: 'd/M/yyyy',
|
||||
time: 'p',
|
||||
dateTime: '$t(format:date) $t(format:time)',
|
||||
longDate: 'MMM d',
|
||||
longDateTime: "MMMM d 'at' p",
|
||||
},
|
||||
|
||||
translation: {
|
||||
common: {
|
||||
account: 'Konto',
|
||||
actions: 'Handlinger',
|
||||
addAttachment_title: 'Vedhæft fil',
|
||||
addComment: 'Skriv kommentar',
|
||||
addManager_title: 'Tilføj projektleder',
|
||||
addMember_title: 'Tilføj medlem',
|
||||
addUser_title: 'Tilføj bruger',
|
||||
administrator: 'Administrator',
|
||||
all: 'Alle',
|
||||
allChangesWillBeAutomaticallySavedAfterConnectionRestored:
|
||||
'Alle ændringer vil automatisk blive gemt<br />ved genforbindelse',
|
||||
areYouSureYouWantToDeleteThisAttachment: 'Vil du slette den vedhæftede fil?',
|
||||
areYouSureYouWantToDeleteThisBoard: 'Vil du slette dette bræt?',
|
||||
areYouSureYouWantToDeleteThisCard: 'Vil du slette dette kort?',
|
||||
areYouSureYouWantToDeleteThisComment: 'Vil du slette denne kommentar?',
|
||||
areYouSureYouWantToDeleteThisLabel: 'Vil du slette dette mærkat?',
|
||||
areYouSureYouWantToDeleteThisList: 'Vil du slette denne liste?',
|
||||
areYouSureYouWantToDeleteThisProject: 'Vil du slette dette projekt?',
|
||||
areYouSureYouWantToDeleteThisTask: 'Vil du slette denne opgave?',
|
||||
areYouSureYouWantToDeleteThisUser: 'Vil du slette denne bruger?',
|
||||
areYouSureYouWantToLeaveBoard: 'Vil du forlade dette bræt?',
|
||||
areYouSureYouWantToLeaveProject: 'Vil du forlade dette projekt?',
|
||||
areYouSureYouWantToRemoveThisManagerFromProject:
|
||||
'Vil du slette denne projektleder fra projektet?',
|
||||
areYouSureYouWantToRemoveThisMemberFromBoard: 'Vil du slette dette medlem fra projektet?',
|
||||
attachment: 'Vedhæftede fil',
|
||||
attachments: 'Vedhæftede filer',
|
||||
authentication: 'Brugervalidering',
|
||||
background: 'Baggrundsbillede',
|
||||
board: 'Bræt',
|
||||
boardNotFound_title: 'Bræt ikke fundet',
|
||||
cardActions_title: 'Korthandlinger',
|
||||
cardNotFound_title: 'Kort ikke fundet',
|
||||
cardOrActionAreDeleted: 'Kort eller handling er slettet',
|
||||
color: 'Farve',
|
||||
createBoard_title: 'Opret bræt',
|
||||
createLabel_title: 'Opret mærkat',
|
||||
createNewOneOrSelectExistingOne: 'Lav en ny eller marker<br />en eksisterende',
|
||||
createProject_title: 'Opret projekt',
|
||||
createTextFile_title: 'Opret tekstfil',
|
||||
currentPassword: 'Nuværende løsen',
|
||||
dangerZone_title: 'Farligt afsnit',
|
||||
date: 'Dato',
|
||||
dueDate_title: 'Afleveringsfrist',
|
||||
deleteAttachment_title: 'Slet vedhæftning',
|
||||
deleteBoard_title: 'Slet bræt',
|
||||
deleteCard_title: 'Slet kort',
|
||||
deleteComment_title: 'Slet kommentar',
|
||||
deleteLabel_title: 'Slet mærkat',
|
||||
deleteList_title: 'Slet liste',
|
||||
deleteProject_title: 'Slet projekt',
|
||||
deleteTask_title: 'Slet opgave',
|
||||
deleteUser_title: 'Slet bruger',
|
||||
description: 'Beskrivelsen',
|
||||
dropFileToUpload: 'Slip fil for at dele',
|
||||
editAttachment_title: 'Ændre vedhæftning',
|
||||
editAvatar_title: 'Ændre profilbillede',
|
||||
editBoard_title: 'Ændre bræt',
|
||||
editDueDate_title: 'Ændre afleveringsfrist',
|
||||
editEmail_title: 'Ændre E-mail',
|
||||
editLabel_title: 'ændre mærkat',
|
||||
editPassword_title: 'Ændre løsen',
|
||||
editTimer_title: 'Ændre timer',
|
||||
editUsername_title: 'Ændre brugernavn',
|
||||
email: 'E-mail',
|
||||
emailAlreadyInUse: 'E-mail allerede i brug',
|
||||
enterCardTitle: 'Angiv kortets overskrift...',
|
||||
enterDescription: 'Angiv beskrivelsen...',
|
||||
enterFilename: 'Angiv filnavn',
|
||||
enterListTitle: 'Angiv listens overskrift...',
|
||||
enterProjectTitle: 'Angiv projektets titel',
|
||||
enterTaskDescription: 'Angiv opgavens beskrivelse...',
|
||||
filterByLabels_title: 'Filtrer på mærkater',
|
||||
filterByMembers_title: 'Filtrer på medlemmer',
|
||||
fromComputer_title: 'Fra computer',
|
||||
general: 'Generelt',
|
||||
hours: 'Timer',
|
||||
invalidCurrentPassword: 'Nuværende adgangskode are ugyldig',
|
||||
labels: 'Mærkater',
|
||||
leaveBoard_title: 'Forlad bræt',
|
||||
leaveProject_title: 'Forlad projekt',
|
||||
list: 'Liste',
|
||||
listActions_title: 'Listens handlinger',
|
||||
managers: 'Projektledere',
|
||||
members: 'Medlemmer',
|
||||
minutes: 'Minutter',
|
||||
moveCard_title: 'Flyt kort',
|
||||
name: 'Navn',
|
||||
newEmail: 'Ny e-mail',
|
||||
newPassword: 'Nyt løsen',
|
||||
newUsername: 'Nyt brugernavn',
|
||||
noConnectionToServer: 'Ingen forbindelse til serveren',
|
||||
noBoards: 'Ingen brædder',
|
||||
noLists: 'Ingen lister',
|
||||
noProjects: 'Ingen projekter',
|
||||
notifications: 'Notifikationer',
|
||||
noUnreadNotifications: 'Ingen ulæste notifikationer',
|
||||
openBoard_title: 'Åben bræt',
|
||||
optional_inline: 'valgfri',
|
||||
organization: 'Organisation',
|
||||
phone: 'Telefon',
|
||||
preferences: 'Præferencer',
|
||||
pressPasteShortcutToAddAttachmentFromClipboard:
|
||||
'Tip: Tryk Ctrl-V (Cmd-V på Mac) for at vedhæfte direkte fra udklipsholder',
|
||||
project: 'Projekt',
|
||||
projectNotFound_title: 'Projekt ej fundet',
|
||||
removeManager_title: 'Fjern projektleder',
|
||||
removeMember_title: 'Fjern medlem',
|
||||
seconds: 'Sekunder',
|
||||
selectBoard: 'Vælg bræt',
|
||||
selectList: 'Vælg liste',
|
||||
selectProject: 'Vælg projekt',
|
||||
settings: 'Indstillinger',
|
||||
subscribeToMyOwnCardsByDefault: 'Abonnér på egne kort som standard',
|
||||
taskActions_title: 'Opgave handlinger',
|
||||
tasks: 'Opgaver',
|
||||
time: 'Tid',
|
||||
timer: 'Tidsmåler',
|
||||
title: 'Overskrift',
|
||||
userActions_title: 'Brugerhandlinger',
|
||||
userAddedThisCardToList: '<0>{{user}}</0><1> tilføjede kortet til {{list}}</1>',
|
||||
userLeftNewCommentToCard: '{{user}} skrevet en ny kommentar «{{comment}}» på <2>{{card}}</2>',
|
||||
userMovedCardFromListToList:
|
||||
'{{user}} flyttede <2>{{card}}</2> fra {{fromList}} til {{toList}}',
|
||||
userMovedThisCardFromListToList:
|
||||
'<0>{{user}}</0><1> flyttede kortet fra {{fromList}} til {{toList}}</1>',
|
||||
username: 'Brugernavn',
|
||||
usernameAlreadyInUse: 'Brugernavn allerede i brug',
|
||||
users: 'Brugere',
|
||||
writeComment: 'Skriv en kommentar...',
|
||||
},
|
||||
|
||||
action: {
|
||||
addAnotherCard: 'Tilføj endnu et kort',
|
||||
addAnotherList: 'Tilføj endnu en liste',
|
||||
addAnotherTask: 'Tilføj endnu en opgave',
|
||||
addCard: 'Tilføj kort',
|
||||
addCard_title: 'Tilføj kort',
|
||||
addComment: 'Tilføj kommentar',
|
||||
addList: 'Tilføj liste',
|
||||
addMoreDetailedDescription: 'Tilføj en uddybende beskrivelse',
|
||||
addTask: 'Tilføj opgave',
|
||||
addToCard: 'Tilføj til kort',
|
||||
addUser: 'Tilføj bruger',
|
||||
createBoard: 'Opret bræt',
|
||||
createFile: 'Opret fil',
|
||||
createLabel: 'Opret mærkat',
|
||||
createNewLabel: 'Opret nyt mærkat',
|
||||
createProject: 'Opret projekt',
|
||||
delete: 'Slet',
|
||||
deleteAttachment: 'Slet vedhæftning',
|
||||
deleteAvatar: 'Slet profilbillede',
|
||||
deleteBoard: 'Slet bræt',
|
||||
deleteCard: 'Slet kort',
|
||||
deleteCard_title: 'Slet kort',
|
||||
deleteComment: 'Slet kommentar',
|
||||
deleteImage: 'Slet profilbillede',
|
||||
deleteLabel: 'Slet mærkat',
|
||||
deleteList: 'Slet liste',
|
||||
deleteList_title: 'Slet liste',
|
||||
deleteProject: 'Slet projekt',
|
||||
deleteProject_title: 'Slet projekt',
|
||||
deleteTask: 'Slet opgave',
|
||||
deleteTask_title: 'Slet opgave',
|
||||
deleteUser: 'Slet bruger',
|
||||
edit: 'Ændre',
|
||||
editDueDate_title: 'Ændre afleveringsfrist',
|
||||
editDescription_title: 'Ændre beskrivelse',
|
||||
editEmail_title: 'Ændre e-mail',
|
||||
editPassword_title: 'Ændre Løsen',
|
||||
editTimer_title: 'Ændre tidstager',
|
||||
editTitle_title: 'Ændre overskrift',
|
||||
editUsername_title: 'Ændre brugernavn',
|
||||
leaveBoard: 'Forlad bræt',
|
||||
leaveProject: 'Forlad projekt',
|
||||
logOut_title: 'Log på',
|
||||
makeCover_title: 'Gør til fremhævet billede',
|
||||
move: 'Flyt',
|
||||
moveCard_title: 'Flyt kort',
|
||||
remove: 'Fjern',
|
||||
removeBackground: 'Fjern baggrundsbillede',
|
||||
removeCover_title: 'Fjern fremhævet billede',
|
||||
removeFromBoard: 'Fjern fra bræt',
|
||||
removeFromProject: 'Fjern fra projekt',
|
||||
removeManager: 'Fjern projektleder',
|
||||
removeMember: 'Fjern medlem',
|
||||
save: 'Gem ændringer',
|
||||
showAllAttachments: 'Vis alle vedhæftninger ({{hidden}} skjulte)',
|
||||
showFewerAttachments: 'Vis færre vedhæftninger',
|
||||
start: 'Start',
|
||||
stop: 'Stop',
|
||||
subscribe: 'Abonnér',
|
||||
unsubscribe: 'Opsig abonnement',
|
||||
uploadNewAvatar: 'Tilføj nyt profilbillede',
|
||||
uploadNewImage: 'Tilføj nyt billede',
|
||||
},
|
||||
},
|
||||
};
|
||||
@@ -0,0 +1,20 @@
|
||||
export default {
|
||||
translation: {
|
||||
common: {
|
||||
emailOrUsername: 'E-mail eller brugernavn',
|
||||
invalidEmailOrUsername: 'Ugyldig e-mail eller brugernavn',
|
||||
invalidPassword: 'Ugyldig løsen',
|
||||
logInToPlanka: 'Log på Planka',
|
||||
noInternetConnection: 'Ingen forbindelse til internettet',
|
||||
pageNotFound_title: 'Side ej fundet',
|
||||
password: 'Løsen',
|
||||
projectManagement: 'Projektstyring',
|
||||
serverConnectionFailed: 'Ingen forbindelse til serveren',
|
||||
unknownError: 'Ukendt fejl - prøv igen',
|
||||
},
|
||||
|
||||
action: {
|
||||
logIn: 'Log på',
|
||||
},
|
||||
},
|
||||
};
|
||||
@@ -13,7 +13,7 @@ export default {
|
||||
|
||||
translation: {
|
||||
common: {
|
||||
account: 'Account',
|
||||
account: 'Konto',
|
||||
actions: 'Aktionen',
|
||||
addAttachment_title: 'Anhang hinzufügen',
|
||||
addComment: 'Kommentar hinzufügen',
|
||||
@@ -22,7 +22,7 @@ export default {
|
||||
administrator: 'Administrator',
|
||||
all: 'Alle',
|
||||
allChangesWillBeAutomaticallySavedAfterConnectionRestored:
|
||||
'Alle Änderungen werden automatisch gespeichert.<br />nach Wiederherstellung der Verbindung',
|
||||
'Alle Änderungen werden automatisch gespeichert,<br />sobald die Verbindung wiederhergestellt wurde.',
|
||||
areYouSureYouWantToDeleteThisAttachment:
|
||||
'Sind Sie sicher, dass Sie diesen Anhang löschen möchten?',
|
||||
areYouSureYouWantToDeleteThisBoard: 'Sind Sie sicher, dass Sie dieses Board löschen möchten?',
|
||||
@@ -49,14 +49,14 @@ export default {
|
||||
color: 'Farbe',
|
||||
createBoard_title: 'Board erstellen',
|
||||
createLabel_title: 'Label erstellen',
|
||||
createNewOneOrSelectExistingOne: 'Eine Neue erstellen, oder <br />eine bestehende auswählen',
|
||||
createNewOneOrSelectExistingOne: 'Ein Neues erstellen, oder <br />ein Bestehendes auswählen',
|
||||
createProject_title: 'Projekt erstellen',
|
||||
createTextFile_title: 'Textdatei erstellen',
|
||||
currentPassword: 'derzeitiges Password',
|
||||
currentPassword: 'Derzeitiges Password',
|
||||
date: 'Datum',
|
||||
dueDate_title: 'Fälligkeitsdatum',
|
||||
deleteAttachment_title: 'Anhang löschen',
|
||||
deleteBoard_title: 'Board löschne',
|
||||
deleteBoard_title: 'Board löschen',
|
||||
deleteCard_title: 'Karte löschen',
|
||||
deleteComment_title: 'Kommentar löschen',
|
||||
deleteLabel_title: 'Label löschen',
|
||||
@@ -65,16 +65,16 @@ export default {
|
||||
deleteTask_title: 'Aufgabe löschen',
|
||||
deleteUser_title: 'Benutzer löschen',
|
||||
description: 'Beschreibung',
|
||||
dropFileToUpload: 'Datei ablegen um hochzuladen',
|
||||
dropFileToUpload: 'Datei ablegen, um hochzuladen',
|
||||
editAttachment_title: 'Anhang bearbieten',
|
||||
editAvatar_title: 'Avatar bearbeiten',
|
||||
editBoard_title: 'Board bearbeiten',
|
||||
editDueDate_title: 'Änderung Fälligkeitsdatum',
|
||||
editDueDate_title: 'Fälligkeitsdatum bearbeiten',
|
||||
editEmail_title: 'E-Mail bearbeiten',
|
||||
editLabel_title: 'Label bearbeiten',
|
||||
editPassword_title: 'Passwort ändern',
|
||||
editTimer_title: 'Timer bearbeiten',
|
||||
editUsername_title: 'Benutzername bearbeiten',
|
||||
editUsername_title: 'Benutzername ändern',
|
||||
email: 'E-Mail',
|
||||
emailAlreadyInUse: 'E-Mail bereits in Verwendung',
|
||||
enterCardTitle: 'Kartentitel eingeben...',
|
||||
@@ -130,9 +130,9 @@ export default {
|
||||
userLeftNewCommentToCard:
|
||||
'{{user}} hat einen neuen Kommentar verfasst «{{comment}}» to <2>{{card}}</2>',
|
||||
userMovedCardFromListToList:
|
||||
'{{user}} bewegte <2>{{card}}</2> von {{fromList}} zu {{toList}}',
|
||||
'{{user}} bewegte <2>{{card}}</2> von {{fromList}} nach {{toList}}',
|
||||
userMovedThisCardFromListToList:
|
||||
'<0>{{user}}</0><1> bewegte diese Karte von {{fromList}} zu {{toList}}</1>',
|
||||
'<0>{{user}}</0><1> bewegte diese Karte von {{fromList}} nach {{toList}}</1>',
|
||||
username: 'Benutzername',
|
||||
usernameAlreadyInUse: 'Benutzername wird bereits verwendet',
|
||||
users: 'Benutzer',
|
||||
@@ -147,7 +147,7 @@ export default {
|
||||
addCard_title: 'Karte hinzufügen',
|
||||
addComment: 'Kommentar hinzufügen',
|
||||
addList: 'Liste hinzufügen',
|
||||
addMoreDetailedDescription: 'Eine detaillierte Beschriebung hinzufügen',
|
||||
addMoreDetailedDescription: 'Eine detaillierte Beschreibung hinzufügen',
|
||||
addTask: 'Aufgabe hinzufügen',
|
||||
addToCard: 'Zu Karte hinzufügen',
|
||||
addUser: 'Benutzer hinzufügen',
|
||||
@@ -156,7 +156,7 @@ export default {
|
||||
createLabel: 'Label erstellen',
|
||||
createNewLabel: 'Neues Label erstellen',
|
||||
createProject: 'Projekt erstellen',
|
||||
delete: 'löschen',
|
||||
delete: 'Löschen',
|
||||
deleteAttachment: 'Anhang löschen',
|
||||
deleteAvatar: 'Avatar löschen',
|
||||
deleteBoard: 'Board löschen',
|
||||
@@ -172,9 +172,9 @@ export default {
|
||||
deleteTask: 'Aufgabe löschen',
|
||||
deleteTask_title: 'Aufgabe löschen',
|
||||
deleteUser: 'Benutzer löschen',
|
||||
edit: 'bearbeiten',
|
||||
edit: 'Bearbeiten',
|
||||
editDueDate_title: 'Fälligkeitsdatum bearbeiten',
|
||||
editDescription_title: 'Beschriebung ändern',
|
||||
editDescription_title: 'Beschreibung ändern',
|
||||
editEmail_title: 'E-Mail bearbeiten',
|
||||
editPassword_title: 'Passwort ändern',
|
||||
editTimer_title: 'Timer bearbeiten',
|
||||
|
||||
@@ -1,21 +1,29 @@
|
||||
import fromPairs from 'lodash/fromPairs';
|
||||
|
||||
import cs from './cs/embed';
|
||||
import da from './da/embed';
|
||||
import de from './de/embed';
|
||||
import en from './en/embed';
|
||||
import es from './es/embed';
|
||||
import fr from './fr/embed';
|
||||
import ja from './ja/embed';
|
||||
import pl from './pl/embed';
|
||||
import ru from './ru/embed';
|
||||
import uz from './uz/embed';
|
||||
import zh from './zh/embed';
|
||||
|
||||
const localePairs = [
|
||||
['cs', cs],
|
||||
['da', da],
|
||||
['de', de],
|
||||
['en', en],
|
||||
['es', es],
|
||||
['fr', fr],
|
||||
['ja', ja],
|
||||
['pl', pl],
|
||||
['ru', ru],
|
||||
['uz', uz],
|
||||
['zh', zh],
|
||||
];
|
||||
|
||||
export const languages = localePairs.map((locale) => locale[0]);
|
||||
|
||||
@@ -0,0 +1,215 @@
|
||||
import dateFns from 'date-fns/locale/ja';
|
||||
|
||||
export default {
|
||||
dateFns,
|
||||
|
||||
format: {
|
||||
date: 'yyyy/M/d',
|
||||
time: 'HH:mm',
|
||||
dateTime: '$t(format:date) $t(format:time)',
|
||||
longDate: 'MMMMd日',
|
||||
longDateTime: "MMMMd'日 ' HH:MM",
|
||||
},
|
||||
|
||||
translation: {
|
||||
common: {
|
||||
account: 'アカウント',
|
||||
actions: 'アクション',
|
||||
addAttachment_title: '添付ファイルを追加',
|
||||
addComment: 'コメントを追加',
|
||||
addManager_title: 'マネージャーを追加',
|
||||
addMember_title: 'メンバーを追加',
|
||||
addUser_title: 'ユーザーを追加',
|
||||
administrator: '管理者',
|
||||
all: 'すべて',
|
||||
allChangesWillBeAutomaticallySavedAfterConnectionRestored:
|
||||
'全ての変更は接続回復後自動的に保存されます',
|
||||
areYouSureYouWantToDeleteThisAttachment: 'この添付ファイルを削除してもよろしいですか?',
|
||||
areYouSureYouWantToDeleteThisBoard: 'このボードを削除してもよろしいですか?',
|
||||
areYouSureYouWantToDeleteThisCard: 'このカードを削除してもよろしいですか?',
|
||||
areYouSureYouWantToDeleteThisComment: 'このコメントを削除してもよろしいですか?',
|
||||
areYouSureYouWantToDeleteThisLabel: 'このラベルを削除してもよろしいですか?',
|
||||
areYouSureYouWantToDeleteThisList: 'このリストを削除してもよろしいですか?',
|
||||
areYouSureYouWantToDeleteThisProject: 'このプロジェクトを削除してもよろしいですか?',
|
||||
areYouSureYouWantToDeleteThisTask: 'このタスクを削除してもよろしいですか?',
|
||||
areYouSureYouWantToDeleteThisUser: 'このユーザーを削除してもよろしいですか?',
|
||||
areYouSureYouWantToLeaveBoard: 'ボードから退出してもよろしいですか?',
|
||||
areYouSureYouWantToLeaveProject: 'プロジェクトから退出してもよろしいですか?',
|
||||
areYouSureYouWantToRemoveThisManagerFromProject:
|
||||
'このマネージャーをプロジェクトから外してもよろしいですか?',
|
||||
areYouSureYouWantToRemoveThisMemberFromBoard:
|
||||
'このメンバーをボードから外してもよろしいですか?',
|
||||
attachment: '添付ファイル',
|
||||
attachments: '添付ファイル',
|
||||
authentication: '認証',
|
||||
background: '背景',
|
||||
board: 'ボード',
|
||||
boardNotFound_title: 'ボードが見つかりません',
|
||||
cardActions_title: 'カードのアクション',
|
||||
cardNotFound_title: 'カードが見つかりません',
|
||||
cardOrActionAreDeleted: 'カードやアクションが削除されます',
|
||||
color: '色',
|
||||
createBoard_title: 'ボードを作成',
|
||||
createLabel_title: 'ラベルを作成',
|
||||
createNewOneOrSelectExistingOne: '新規作成もしくは既存のものから選択',
|
||||
createProject_title: 'プロジェクトを作成',
|
||||
createTextFile_title: 'テキストファイルを作成',
|
||||
currentPassword: '現在のパスワード',
|
||||
dangerZone_title: '危険ゾーン',
|
||||
date: '日付',
|
||||
dueDate_title: '期限',
|
||||
deleteAttachment_title: '添付ファイルを削除',
|
||||
deleteBoard_title: 'ボードを削除',
|
||||
deleteCard_title: 'カードを削除',
|
||||
deleteComment_title: 'コメントを削除',
|
||||
deleteLabel_title: 'ラベルを削除',
|
||||
deleteList_title: 'リストを削除',
|
||||
deleteProject_title: 'プロジェクトを削除',
|
||||
deleteTask_title: 'タスクを削除',
|
||||
deleteUser_title: 'ユーザーを削除',
|
||||
description: '説明',
|
||||
dropFileToUpload: 'ファイルをドロップしてアップロード',
|
||||
editAttachment_title: '添付ファイルを編集',
|
||||
editAvatar_title: 'アバターを編集',
|
||||
editBoard_title: 'ボードを編集',
|
||||
editDueDate_title: '期限を編集',
|
||||
editEmail_title: 'Eメールを編集',
|
||||
editLabel_title: 'ラベルを編集',
|
||||
editPassword_title: 'パスワードを編集',
|
||||
editTimer_title: 'タイマーを編集',
|
||||
editUsername_title: 'ユーザー名を編集',
|
||||
email: 'Eメール',
|
||||
emailAlreadyInUse: 'Eメールは既に使われています',
|
||||
enterCardTitle: 'カードのタイトルを入力...',
|
||||
enterDescription: '説明を入力...',
|
||||
enterFilename: 'ファイル名を入力...',
|
||||
enterListTitle: 'リストのタイトルを入力...',
|
||||
enterProjectTitle: 'プロジェクトのタイトルを入力',
|
||||
enterTaskDescription: 'タスクの説明を入力...',
|
||||
filterByLabels_title: 'ラベルで絞り込む',
|
||||
filterByMembers_title: 'メンバーで絞り込む',
|
||||
fromComputer_title: 'コンピューターから',
|
||||
general: '一般',
|
||||
hours: '時間',
|
||||
invalidCurrentPassword: '現在のパスワードが無効',
|
||||
labels: 'ラベル',
|
||||
leaveBoard_title: 'ボードから退出',
|
||||
leaveProject_title: 'プロジェクトから退出',
|
||||
list: 'リスト',
|
||||
listActions_title: 'アクションのリスト',
|
||||
managers: 'マネージャー',
|
||||
members: 'メンバー',
|
||||
minutes: '分',
|
||||
moveCard_title: 'カードを移動',
|
||||
name: '名前',
|
||||
newEmail: '新しいEメール',
|
||||
newPassword: '新しいパスワード',
|
||||
newUsername: '新しいユーザー名',
|
||||
noConnectionToServer: 'サーバーへ接続されていません',
|
||||
noBoards: 'ボードがありません',
|
||||
noLists: 'リストがありません',
|
||||
noProjects: 'プロジェクトがありません',
|
||||
notifications: '通知',
|
||||
noUnreadNotifications: '未読の通知はありません',
|
||||
openBoard_title: 'ボードを開く',
|
||||
optional_inline: '任意',
|
||||
organization: '組織',
|
||||
phone: '電話番号',
|
||||
preferences: '環境設定',
|
||||
pressPasteShortcutToAddAttachmentFromClipboard:
|
||||
'ヒント: Ctrl-V(MacではCmd-V)を押して、クリップボードから添付ファイルを追加します。',
|
||||
project: 'プロジェクト',
|
||||
projectNotFound_title: 'プロジェクトがありません',
|
||||
removeManager_title: 'マネージャーを削除',
|
||||
removeMember_title: 'メンバーを削除',
|
||||
seconds: '秒',
|
||||
selectBoard: 'ボードを選択',
|
||||
selectList: 'リストを選択',
|
||||
selectProject: 'プロジェクトを選択',
|
||||
settings: '設定',
|
||||
subscribeToMyOwnCardsByDefault: '自分のカードをデフォルトで購読する',
|
||||
taskActions_title: 'タスクのアクション',
|
||||
tasks: 'タスク',
|
||||
time: '時間',
|
||||
timer: 'タイマー',
|
||||
title: 'タイトル',
|
||||
userActions_title: 'ユーザーのアクション',
|
||||
userAddedThisCardToList: '<0>{{user}}</0> は <1>{{list}} をこのカードに追加しました</1>',
|
||||
userLeftNewCommentToCard:
|
||||
'{{user}} は <2> {{card}} </2> に新しいコメント «{{comment}}» を残しました',
|
||||
userMovedCardFromListToList:
|
||||
'{{user}} は <2> {{card}} </2> を {{fromList}} から {{toList}} に移動しました',
|
||||
userMovedThisCardFromListToList:
|
||||
'<0>{{user}}</0> <1>はこのカードを {{fromList}} から {{toList}} に移動しました</1>',
|
||||
username: 'ユーザー名',
|
||||
usernameAlreadyInUse: 'ユーザー名は既に使われています',
|
||||
users: 'ユーザー',
|
||||
writeComment: 'コメントを書く...',
|
||||
},
|
||||
|
||||
action: {
|
||||
addAnotherCard: '別のカードを追加',
|
||||
addAnotherList: '別のリストを追加',
|
||||
addAnotherTask: '別のタスクを追加',
|
||||
addCard: 'カードを追加',
|
||||
addCard_title: 'カードを追加',
|
||||
addComment: 'コメントを追加',
|
||||
addList: 'リストを追加',
|
||||
addMoreDetailedDescription: 'より詳細な説明を追加',
|
||||
addTask: 'タスクを追加',
|
||||
addToCard: 'カードに追加',
|
||||
addUser: 'ユーザーを追加',
|
||||
createBoard: 'ボードを作成',
|
||||
createFile: 'ファイルを作成',
|
||||
createLabel: 'ラベルを作成',
|
||||
createNewLabel: '新しいラベルを作成',
|
||||
createProject: 'プロジェクトを作成',
|
||||
delete: '削除',
|
||||
deleteAttachment: '添付ファイルを削除',
|
||||
deleteAvatar: 'アバターを削除',
|
||||
deleteBoard: 'ボードを削除',
|
||||
deleteCard: 'カードを削除',
|
||||
deleteCard_title: 'カードを削除',
|
||||
deleteComment: 'コメントを削除',
|
||||
deleteImage: '画像を削除',
|
||||
deleteLabel: 'ラベルを削除',
|
||||
deleteList: 'リストを削除',
|
||||
deleteList_title: 'リストを削除',
|
||||
deleteProject: 'プロジェクトを削除',
|
||||
deleteProject_title: 'プロジェクトを削除',
|
||||
deleteTask: 'タスクを削除',
|
||||
deleteTask_title: 'タスクを削除',
|
||||
deleteUser: 'ユーザーを削除',
|
||||
edit: '編集',
|
||||
editDueDate_title: '期限を編集',
|
||||
editDescription_title: '説明を編集',
|
||||
editEmail_title: 'Eメールを編集',
|
||||
editPassword_title: 'パスワードの編集',
|
||||
editTimer_title: 'タイマーの編集',
|
||||
editTitle_title: 'タイトルの編集',
|
||||
editUsername_title: 'ユーザー名の編集',
|
||||
leaveBoard: 'ボードから退出',
|
||||
leaveProject: 'プロジェクトから退出',
|
||||
logOut_title: 'ログアウト',
|
||||
makeCover_title: 'カバーを作る',
|
||||
move: '移動',
|
||||
moveCard_title: 'カードを移動',
|
||||
remove: '削除',
|
||||
removeBackground: '背景を削除',
|
||||
removeCover_title: 'カバーを削除',
|
||||
removeFromBoard: 'ボードから削除',
|
||||
removeFromProject: 'プロジェクトから削除',
|
||||
removeManager: 'マネージャーを削除',
|
||||
removeMember: 'メンバーを削除',
|
||||
save: '保存',
|
||||
showAllAttachments: '全ての添付ファイルを表示する({{hidden}} 非表示)',
|
||||
showFewerAttachments: 'テンプファイルの表示数を減らす',
|
||||
start: 'スタート',
|
||||
stop: 'ストップ',
|
||||
subscribe: '購読',
|
||||
unsubscribe: '購読解除',
|
||||
uploadNewAvatar: '新しいアバターをアップロード',
|
||||
uploadNewImage: '新しい画像をアップロード',
|
||||
},
|
||||
},
|
||||
};
|
||||
@@ -0,0 +1,20 @@
|
||||
export default {
|
||||
translation: {
|
||||
common: {
|
||||
emailOrUsername: 'Eメールまたはユーザー名',
|
||||
invalidEmailOrUsername: 'Eメールまたはユーザー名が無効',
|
||||
invalidPassword: 'パスワードが無効',
|
||||
logInToPlanka: 'Planka にログインする',
|
||||
noInternetConnection: 'インターネットに接続されていません。',
|
||||
pageNotFound_title: 'ページが見つかりません。',
|
||||
password: 'パスワード',
|
||||
projectManagement: 'プロジェクト管理',
|
||||
serverConnectionFailed: 'サーバーの接続に失敗',
|
||||
unknownError: '不明なエラーです。後でもう一度試してください。',
|
||||
},
|
||||
|
||||
action: {
|
||||
logIn: 'ログイン',
|
||||
},
|
||||
},
|
||||
};
|
||||
@@ -0,0 +1,209 @@
|
||||
export default {
|
||||
format: {
|
||||
date: 'M/d/yyyy',
|
||||
time: 'p',
|
||||
dateTime: '$t(format:date) $t(format:time)',
|
||||
longDate: 'MMM d',
|
||||
longDateTime: "MMMM d 'at' p",
|
||||
},
|
||||
|
||||
translation: {
|
||||
common: {
|
||||
account: 'Profil',
|
||||
actions: 'Amallar',
|
||||
addAttachment_title: "Ilova Qo'shish",
|
||||
addComment: "Izoh qo'shish",
|
||||
addManager_title: "Boshqaruvchi Qo'shish",
|
||||
addMember_title: "Yangi a'zo Qo'shish",
|
||||
addUser_title: "Foydalanuvchi Qo'shish",
|
||||
administrator: 'Administrator',
|
||||
all: 'Barchasi',
|
||||
allChangesWillBeAutomaticallySavedAfterConnectionRestored:
|
||||
"Barcha o'zgarishlar tarmoq ulanishi tiklangandan so'ng<br /> avtomatik saqlanadi",
|
||||
areYouSureYouWantToDeleteThisAttachment: "Ushbu biriktirmani o'chirmoqchimisiz?",
|
||||
areYouSureYouWantToDeleteThisBoard: "Ushbu doskani o'chirmoqchimisiz?",
|
||||
areYouSureYouWantToDeleteThisCard: "Ushbu kartani o'chirmoqchimisiz?",
|
||||
areYouSureYouWantToDeleteThisComment: "Ushbu izohni o'chirmoqchimisiz?",
|
||||
areYouSureYouWantToDeleteThisLabel: "Ushbu yorliqni o'chirmoqchimisiz?",
|
||||
areYouSureYouWantToDeleteThisList: "Ushbu ro'yxatni o'chirmoqchimisiz?",
|
||||
areYouSureYouWantToDeleteThisProject: "Ushbu loyihani o'chirmoqchimisiz?",
|
||||
areYouSureYouWantToDeleteThisTask: "Ushbu topshiriqni o'chirmoqchimisiz?",
|
||||
areYouSureYouWantToDeleteThisUser: "Ushbu foydalanuvchini o'chirmoqchimisiz?",
|
||||
areYouSureYouWantToLeaveBoard: 'Ushbu doskadan chiqmoqchimisiz?',
|
||||
areYouSureYouWantToLeaveProject: 'Ushbu loyihadan chiqmoqchimisiz?',
|
||||
areYouSureYouWantToRemoveThisManagerFromProject:
|
||||
"Ushbu boshqaruvchini loyihadan o'chirmoqchimisiz?",
|
||||
areYouSureYouWantToRemoveThisMemberFromBoard: "Ushbu a'zoni doskadan o'chirmoqchimisiz?",
|
||||
attachment: 'Ilova',
|
||||
attachments: 'Ilovalar',
|
||||
authentication: 'Autentifikatsiya',
|
||||
background: 'Orqa fon',
|
||||
board: 'Doska',
|
||||
boardNotFound_title: 'Doska Topilmadi',
|
||||
cardActions_title: 'Karta Amallari',
|
||||
cardNotFound_title: 'Karta Topilmadi',
|
||||
cardOrActionAreDeleted: "Karta yoki amal o'chirilgan",
|
||||
color: 'Rang',
|
||||
createBoard_title: 'Doska Yaratish',
|
||||
createLabel_title: 'Yorliq Yaratish',
|
||||
createNewOneOrSelectExistingOne: "Yangisini tanlash yoki<br /> mavjud bo'lganini tanlash",
|
||||
createProject_title: 'Loyiha Yaratish',
|
||||
createTextFile_title: 'Matnli fayl yaratish',
|
||||
currentPassword: 'Hozirgi parol',
|
||||
dangerZone_title: 'Xavfli Hudud',
|
||||
date: 'Sana',
|
||||
dueDate_title: 'Muddati',
|
||||
deleteAttachment_title: "Ilovani O'chirish",
|
||||
deleteBoard_title: "Doskani O'chirish",
|
||||
deleteCard_title: "Kartani O'chirish",
|
||||
deleteComment_title: "Izohni O'chirish",
|
||||
deleteLabel_title: "Yorliqni O'chirish",
|
||||
deleteList_title: "Ro'yxatni O'chirish",
|
||||
deleteProject_title: "Loyihani O'chirish",
|
||||
deleteTask_title: "Vazifani O'chirish",
|
||||
deleteUser_title: "Foydalanuvchini O'chirish",
|
||||
description: 'Tavsif',
|
||||
dropFileToUpload: 'Faylni yuklash uchun qoldiring',
|
||||
editAttachment_title: 'Ilovani Tahrirlash',
|
||||
editAvatar_title: 'Avatarni Tahrirlash',
|
||||
editBoard_title: 'Doskani Tahrirlash',
|
||||
editDueDate_title: 'Muddatni Tahrirlash',
|
||||
editEmail_title: 'E-mail ni Tahrirlash',
|
||||
editLabel_title: 'Yorliqni Tahrirlash',
|
||||
editPassword_title: 'Parolni Tahrirlash',
|
||||
editTimer_title: 'Taymerni Tahrirlash',
|
||||
editUsername_title: 'Foydalanuvchi nomini Tahrirlash',
|
||||
email: 'E-mail',
|
||||
emailAlreadyInUse: 'E-mail allaqachon mavjud',
|
||||
enterCardTitle: 'Karta sarlavhasini kiriting...',
|
||||
enterDescription: 'Tavsif kiriting...',
|
||||
enterFilename: 'Fayl nomini kiriting',
|
||||
enterListTitle: "Ro'yxat sarlavhasini kiriting...",
|
||||
enterProjectTitle: 'Loyiha sarlavhasini kiriting',
|
||||
enterTaskDescription: 'Topshiriq sarlavhasini kiriting...',
|
||||
filterByLabels_title: "Yorliq bo'yicha filter",
|
||||
filterByMembers_title: "A'zolar bo'yicha filter",
|
||||
fromComputer_title: 'Kompyuterdan',
|
||||
general: 'Umumiy',
|
||||
hours: 'Soat',
|
||||
invalidCurrentPassword: 'Hozirgi parol xato',
|
||||
labels: 'Yorliqlar',
|
||||
leaveBoard_title: 'Doskadan Chiqish',
|
||||
leaveProject_title: 'Loyihadan Chiqish',
|
||||
list: "Ro'yxat",
|
||||
listActions_title: "R'yxat Amallari",
|
||||
managers: 'Boshqaruvchilar',
|
||||
members: "A'zolar",
|
||||
minutes: 'Minut',
|
||||
moveCard_title: "Kartani Ko'chirish",
|
||||
name: 'Ism',
|
||||
newEmail: 'Yangi e-mail',
|
||||
newPassword: 'Yangi parol',
|
||||
newUsername: 'Yangi foydalanuvchi nomi',
|
||||
noConnectionToServer: "Server bilan bog'lanish yo'q",
|
||||
noBoards: "Doskalar yo'q",
|
||||
noLists: "Ro'yxatlar yo'q",
|
||||
noProjects: "Loyihalar yo'q",
|
||||
notifications: 'Bildirishnomalar',
|
||||
noUnreadNotifications: "O'qilmagan bildirishnomalar yo'q",
|
||||
openBoard_title: 'Doskani Ochish',
|
||||
optional_inline: 'ixtiyoriy',
|
||||
organization: 'Tashkilot',
|
||||
phone: 'Telefon',
|
||||
preferences: 'Afzalliklar',
|
||||
pressPasteShortcutToAddAttachmentFromClipboard:
|
||||
"Tip: Buferdan ilova qo'shish uchun Ctrl-V (Mac da Cmd-V) ni bosing.",
|
||||
project: 'Loyiha',
|
||||
projectNotFound_title: 'Loyiha Topilmadi',
|
||||
removeManager_title: "Boshqaruvchini O'chirish",
|
||||
removeMember_title: "A'zoni O'chirish",
|
||||
seconds: 'Sekund',
|
||||
selectBoard: 'Doskani tanlash',
|
||||
selectList: "Ro'yxatni tanlash",
|
||||
selectProject: "Loyihani '",
|
||||
settings: 'Sozlamalar',
|
||||
subscribeToMyOwnCardsByDefault: "Odatiy holda o'z kartalarimga obuna bo'ling",
|
||||
taskActions_title: 'Vazifa Amallari',
|
||||
tasks: 'Vazifalar',
|
||||
time: 'Vaqt',
|
||||
timer: 'Taymer',
|
||||
title: 'Sarlavha',
|
||||
userActions_title: 'Foydalanuvchi Amallari',
|
||||
userAddedThisCardToList: "<1>Ushbu kartani {{list}} ga</1><0>{{user}}</0> qo'shdi",
|
||||
userLeftNewCommentToCard: '{{user}} <2>{{card}}</2> ga yangi izoh qoldirdi «{{comment}}»',
|
||||
userMovedCardFromListToList:
|
||||
"{{user}} <2>{{card}}</2> ni {{fromList}} dan {{toList}} ga ko'chirdi",
|
||||
userMovedThisCardFromListToList:
|
||||
"<0>{{user}}</0><1> ushbu kartani {{fromList}} dan {{toList}}</1> ga ko'chirdi",
|
||||
username: 'Foydalanuvchi nomi',
|
||||
usernameAlreadyInUse: 'Foydalanuvchi nomi allaqachon mavjud',
|
||||
users: 'Foydalanuvchilar',
|
||||
writeComment: 'Izoh yozish...',
|
||||
},
|
||||
|
||||
action: {
|
||||
addAnotherCard: "Yana karta qo'shish",
|
||||
addAnotherList: "Yana ro'yxat qo'shish",
|
||||
addAnotherTask: "Yana vazifa qo'shish",
|
||||
addCard: "Karta qo'shish",
|
||||
addCard_title: "Karta Qo'shish",
|
||||
addComment: "Izoh qo'shish",
|
||||
addList: "Ro'yxat qo'shish",
|
||||
addMoreDetailedDescription: "Batafsil izoh qo'shish",
|
||||
addTask: "Vazifa qo'shish",
|
||||
addToCard: "Kartaga qo'shish",
|
||||
addUser: "Foydalanuvchi qo'shish",
|
||||
createBoard: 'Doska yaratish',
|
||||
createFile: 'Fayl yaratish',
|
||||
createLabel: 'Yorliq yaratish',
|
||||
createNewLabel: 'Yangi yorliq yaratish',
|
||||
createProject: 'Loyiha yaratish',
|
||||
delete: "O'chirish",
|
||||
deleteAttachment: "Ilovani o'chirish",
|
||||
deleteAvatar: "Avatarni o'chirish",
|
||||
deleteBoard: "Doskani o'chirish",
|
||||
deleteCard: "Kartani o'chirish",
|
||||
deleteCard_title: "Kartani O'chirish",
|
||||
deleteComment: "Izohni o'chirish",
|
||||
deleteImage: "Rasmni o'chirish",
|
||||
deleteLabel: "Yorliqni o'chirish",
|
||||
deleteList: "Ro'yxatni o'chirish",
|
||||
deleteList_title: "Ro'yxatni O'chirish",
|
||||
deleteProject: "Loyihani o'chirish",
|
||||
deleteProject_title: "Loyihani O'chirish",
|
||||
deleteTask: "Vazifani o'chirish",
|
||||
deleteTask_title: "Vazifani O'chirish",
|
||||
deleteUser: "Foydalanuvchini o'chirish",
|
||||
edit: 'Tahrirlash',
|
||||
editDueDate_title: 'Muddatni Tahrirlash',
|
||||
editDescription_title: 'Izohni Tahrirlash',
|
||||
editEmail_title: 'E-mailni Tahrirlash',
|
||||
editPassword_title: 'Parolni Tahrirlash',
|
||||
editTimer_title: 'Taymerni Tahrirlash',
|
||||
editTitle_title: 'Sarlavhani Tahrirlash',
|
||||
editUsername_title: 'Foydalanuvchi nomini Tahrirlash',
|
||||
leaveBoard: 'Doskadan chiqish',
|
||||
leaveProject: 'Loyidan chiqish',
|
||||
logOut_title: 'Chiqish',
|
||||
makeCover_title: 'Muqova Yasash',
|
||||
move: "Ko'chirish",
|
||||
moveCard_title: "Kartani Ko'chirish",
|
||||
remove: "O'chirish",
|
||||
removeBackground: "Orqa fonni o'chirish",
|
||||
removeCover_title: "Muqovani O'chirish",
|
||||
removeFromBoard: "Doskadan o'chirish",
|
||||
removeFromProject: "Loyihadan o'chirish",
|
||||
removeManager: "Boshqaruvchini o'chirish",
|
||||
removeMember: "A'zoni o'chirish",
|
||||
save: 'Saqlash',
|
||||
showAllAttachments: "Barcha ilovalarni ko'rsatish ({{hidden}} yashirilgan)",
|
||||
showFewerAttachments: "Kamroq ilovalarni ko'rsatish",
|
||||
start: 'Boshlash',
|
||||
stop: "To'xtatish",
|
||||
subscribe: "Obuna bo'lish",
|
||||
unsubscribe: 'Obunani bekor qilish',
|
||||
uploadNewAvatar: 'Yangi avatar yuklash',
|
||||
uploadNewImage: 'Yangi rasm yuklash',
|
||||
},
|
||||
},
|
||||
};
|
||||
@@ -0,0 +1,20 @@
|
||||
export default {
|
||||
translation: {
|
||||
common: {
|
||||
emailOrUsername: 'E-mail yoki foydalanuvchi nomi',
|
||||
invalidEmailOrUsername: "Noto'g'ri e-mail yoki foydalanuvchi nomi",
|
||||
invalidPassword: "Noto'g'ri parol",
|
||||
logInToPlanka: 'Planka ga Kirish',
|
||||
noInternetConnection: "Internet bog'lanishi yo'q",
|
||||
pageNotFound_title: 'Sahifa Topilmadi',
|
||||
password: 'Parol',
|
||||
projectManagement: 'Loyiha boshqaruvi',
|
||||
serverConnectionFailed: "Serverga bog'lanish xatosi",
|
||||
unknownError: "Noma'lum xatolik, qaytadan urinib ko'ring",
|
||||
},
|
||||
|
||||
action: {
|
||||
logIn: 'Kirish',
|
||||
},
|
||||
},
|
||||
};
|
||||
@@ -0,0 +1,207 @@
|
||||
export default {
|
||||
format: {
|
||||
date: 'M/d/yyyy',
|
||||
time: 'p',
|
||||
dateTime: '$t(format:date) $t(format:time)',
|
||||
longDate: 'MMM d',
|
||||
longDateTime: "MMMM d 'at' p",
|
||||
},
|
||||
|
||||
translation: {
|
||||
common: {
|
||||
account: '账号',
|
||||
actions: '操作',
|
||||
addAttachment_title: '添加附件',
|
||||
addComment: '添加评论',
|
||||
addManager_title: '添加管理员',
|
||||
addMember_title: '添加成员',
|
||||
addUser_title: '添加用户',
|
||||
administrator: '管理员',
|
||||
all: '全部',
|
||||
allChangesWillBeAutomaticallySavedAfterConnectionRestored: '所有修改会在重连后自动保存',
|
||||
areYouSureYouWantToDeleteThisAttachment: '确认删除此附件吗?',
|
||||
areYouSureYouWantToDeleteThisBoard: '确认删除此面板吗?',
|
||||
areYouSureYouWantToDeleteThisCard: '确认删除此卡片吗?',
|
||||
areYouSureYouWantToDeleteThisComment: '确认删除此评论吗?',
|
||||
areYouSureYouWantToDeleteThisLabel: '确认删除此标签吗?',
|
||||
areYouSureYouWantToDeleteThisList: '确认删除此列表吗?',
|
||||
areYouSureYouWantToDeleteThisProject: '确认删除此项目吗?',
|
||||
areYouSureYouWantToDeleteThisTask: '确认删除此任务吗?',
|
||||
areYouSureYouWantToDeleteThisUser: '确认删除此用户吗?',
|
||||
areYouSureYouWantToLeaveBoard: '确认离开此面板吗?',
|
||||
areYouSureYouWantToLeaveProject: '确认离开此项目吗?',
|
||||
areYouSureYouWantToRemoveThisManagerFromProject: '确认从本项目删除该管理员吗?',
|
||||
areYouSureYouWantToRemoveThisMemberFromBoard: '确认本面板删除该成员吗?',
|
||||
attachment: '附件',
|
||||
attachments: '多个附件',
|
||||
authentication: '认证',
|
||||
background: '背景',
|
||||
board: '面板',
|
||||
boardNotFound_title: '面板不存在',
|
||||
cardActions_title: '卡片操作',
|
||||
cardNotFound_title: '卡片不存在',
|
||||
cardOrActionAreDeleted: '卡片或操作已经被删除',
|
||||
color: '颜色',
|
||||
createBoard_title: '创建面板',
|
||||
createLabel_title: '创建标签',
|
||||
createNewOneOrSelectExistingOne: '创建一个新的或者选择一个已创建的',
|
||||
createProject_title: '创建项目',
|
||||
createTextFile_title: '创建文本文件',
|
||||
currentPassword: '当前密码',
|
||||
dangerZone_title: '危险区域',
|
||||
date: '日期',
|
||||
dueDate_title: '截止日期',
|
||||
deleteAttachment_title: '删除附件',
|
||||
deleteBoard_title: '删除面板',
|
||||
deleteCard_title: '删除擦片',
|
||||
deleteComment_title: '删除评论',
|
||||
deleteLabel_title: '删除标签',
|
||||
deleteList_title: '删除列表',
|
||||
deleteProject_title: '删除项目',
|
||||
deleteTask_title: '删除任务',
|
||||
deleteUser_title: '删除用户',
|
||||
description: '描述',
|
||||
dropFileToUpload: '拖放文件以上传',
|
||||
editAttachment_title: '编辑附件',
|
||||
editAvatar_title: '编辑头像',
|
||||
editBoard_title: '编辑面板',
|
||||
editDueDate_title: '编辑截止时间',
|
||||
editEmail_title: '编辑邮箱',
|
||||
editLabel_title: '编辑标签',
|
||||
editPassword_title: '修改密码',
|
||||
editTimer_title: '修改时间',
|
||||
editUsername_title: '修改用户名',
|
||||
email: '邮箱',
|
||||
emailAlreadyInUse: '邮箱已使用',
|
||||
enterCardTitle: '输入卡片标题...',
|
||||
enterDescription: '输入描述...',
|
||||
enterFilename: '输入文件名',
|
||||
enterListTitle: '输入列表标题...',
|
||||
enterProjectTitle: '输入项目标题',
|
||||
enterTaskDescription: '输入任务描述...',
|
||||
filterByLabels_title: '通过标签筛选',
|
||||
filterByMembers_title: '通过成员筛选',
|
||||
fromComputer_title: '从电脑',
|
||||
general: '全体',
|
||||
hours: '小时',
|
||||
invalidCurrentPassword: '当前密码错误',
|
||||
labels: '标签',
|
||||
leaveBoard_title: '离开面板',
|
||||
leaveProject_title: '离开项目',
|
||||
list: '列表',
|
||||
listActions_title: '列表操作',
|
||||
managers: '管理员',
|
||||
members: '成员',
|
||||
minutes: '分钟',
|
||||
moveCard_title: '移动卡片',
|
||||
name: '姓名',
|
||||
newEmail: '新邮箱',
|
||||
newPassword: '新密码',
|
||||
newUsername: '新用户名',
|
||||
noConnectionToServer: '未连接服务器',
|
||||
noBoards: '没有面板',
|
||||
noLists: '没有列表',
|
||||
noProjects: '没有项目',
|
||||
notifications: '通知',
|
||||
noUnreadNotifications: '没有未读通知',
|
||||
openBoard_title: '打开面板',
|
||||
optional_inline: '可选的',
|
||||
organization: '组织机构',
|
||||
phone: '电话',
|
||||
preferences: '偏好',
|
||||
pressPasteShortcutToAddAttachmentFromClipboard:
|
||||
'提示: 点击 Ctrl-V (Mac: Cmd-V) 从剪切板添加附件.',
|
||||
project: '项目',
|
||||
projectNotFound_title: '项目未找到',
|
||||
removeManager_title: '删除管理员',
|
||||
removeMember_title: '删除成员',
|
||||
seconds: '秒',
|
||||
selectBoard: '选择面板',
|
||||
selectList: '选择列表',
|
||||
selectProject: '选择项目',
|
||||
settings: '设置',
|
||||
subscribeToMyOwnCardsByDefault: '默认关注自己创建的卡片',
|
||||
taskActions_title: '任务操作',
|
||||
tasks: '任务',
|
||||
time: '时间',
|
||||
timer: '计时器',
|
||||
title: '标题',
|
||||
userActions_title: '用户操作',
|
||||
userAddedThisCardToList: '<0>{{user}}</0><1> 向列表 {{list}} 添加了该卡片</1>',
|
||||
userLeftNewCommentToCard: '{{user}} 给 {{card}} 添加了一个新评论 «{{comment}}»',
|
||||
userMovedCardFromListToList:
|
||||
'{{user}} 将卡片 <2>{{card}}</2> 从 {{fromList}} 移动到 {{toList}}',
|
||||
userMovedThisCardFromListToList:
|
||||
'<0>{{user}}</0><1> 将该卡片从 {{fromList}} 移动到 {{toList}}</1>',
|
||||
username: '用户名',
|
||||
usernameAlreadyInUse: '用户名已占用',
|
||||
users: '用户',
|
||||
writeComment: '编写评论...',
|
||||
},
|
||||
|
||||
action: {
|
||||
addAnotherCard: '添加别的卡片',
|
||||
addAnotherList: '添加别的列表',
|
||||
addAnotherTask: '添加别的任务',
|
||||
addCard: '添加卡片',
|
||||
addCard_title: '添加卡片',
|
||||
addComment: '添加评论',
|
||||
addList: '添加列表',
|
||||
addMoreDetailedDescription: '添加更多详细描述',
|
||||
addTask: '添加任务',
|
||||
addToCard: '添加擦篇',
|
||||
addUser: '添加用户',
|
||||
createBoard: '创建面板',
|
||||
createFile: '创建文件',
|
||||
createLabel: '创建标签',
|
||||
createNewLabel: '创建新标签',
|
||||
createProject: '创建项目',
|
||||
delete: '删除',
|
||||
deleteAttachment: '删除附件',
|
||||
deleteAvatar: '删除头像',
|
||||
deleteBoard: '删除面板',
|
||||
deleteCard: '删除卡片',
|
||||
deleteCard_title: '删除卡片',
|
||||
deleteComment: '删除评论',
|
||||
deleteImage: '删除图片',
|
||||
deleteLabel: '删除标签',
|
||||
deleteList: '删除列表',
|
||||
deleteList_title: '删除列表',
|
||||
deleteProject: '删除项目',
|
||||
deleteProject_title: '删除项目',
|
||||
deleteTask: '删除任务',
|
||||
deleteTask_title: '删除任务',
|
||||
deleteUser: '删除用户',
|
||||
edit: '编辑',
|
||||
editDueDate_title: '编辑到期时间',
|
||||
editDescription_title: '编辑描述',
|
||||
editEmail_title: '编辑邮箱',
|
||||
editPassword_title: '编辑密码',
|
||||
editTimer_title: '编辑实践',
|
||||
editTitle_title: '编辑标题',
|
||||
editUsername_title: '编辑用户名',
|
||||
leaveBoard: '离开面板',
|
||||
leaveProject: '离开项目',
|
||||
logOut_title: '退出',
|
||||
makeCover_title: '设置标题',
|
||||
move: '移动',
|
||||
moveCard_title: '移动卡片',
|
||||
remove: '删除',
|
||||
removeBackground: '删除背景',
|
||||
removeCover_title: '删除封面',
|
||||
removeFromBoard: '从面板中删除',
|
||||
removeFromProject: '从项目中删除',
|
||||
removeManager: '删除管理者',
|
||||
removeMember: '删除成员',
|
||||
save: '保存',
|
||||
showAllAttachments: '显示所有的附件 ({{hidden}} 隐藏)',
|
||||
showFewerAttachments: '显示较少的附件',
|
||||
start: '开始',
|
||||
stop: '结束',
|
||||
subscribe: '关注',
|
||||
unsubscribe: '取消关注',
|
||||
uploadNewAvatar: '上传新头像',
|
||||
uploadNewImage: '上传图片',
|
||||
},
|
||||
},
|
||||
};
|
||||
@@ -0,0 +1,20 @@
|
||||
export default {
|
||||
translation: {
|
||||
common: {
|
||||
emailOrUsername: '邮箱或用户名',
|
||||
invalidEmailOrUsername: '错误的邮箱或用户名',
|
||||
invalidPassword: '密码错误',
|
||||
logInToPlanka: '登录至 Planka',
|
||||
noInternetConnection: '没有网络连接',
|
||||
pageNotFound_title: '页面找不到',
|
||||
password: '密码',
|
||||
projectManagement: '项目管理',
|
||||
serverConnectionFailed: '服务连接失败',
|
||||
unknownError: '未知错误,请稍后重试',
|
||||
},
|
||||
|
||||
action: {
|
||||
logIn: '登录',
|
||||
},
|
||||
},
|
||||
};
|
||||
@@ -6,6 +6,7 @@ const initialState = {
|
||||
userId: null,
|
||||
};
|
||||
|
||||
// eslint-disable-next-line default-param-last
|
||||
export default (state = initialState, { type, payload }) => {
|
||||
switch (type) {
|
||||
case ActionTypes.AUTHENTICATE__SUCCESS:
|
||||
|
||||
@@ -8,6 +8,7 @@ const initialState = {
|
||||
currentModal: null,
|
||||
};
|
||||
|
||||
// eslint-disable-next-line default-param-last
|
||||
export default (state = initialState, { type, payload }) => {
|
||||
switch (type) {
|
||||
case LOCATION_CHANGE:
|
||||
|
||||
@@ -4,6 +4,7 @@ const initialState = {
|
||||
isDisconnected: false,
|
||||
};
|
||||
|
||||
// eslint-disable-next-line default-param-last
|
||||
export default (state = initialState, { type }) => {
|
||||
switch (type) {
|
||||
case ActionTypes.SOCKET_DISCONNECT_HANDLE:
|
||||
|
||||
@@ -9,6 +9,7 @@ const initialState = {
|
||||
error: null,
|
||||
};
|
||||
|
||||
// eslint-disable-next-line default-param-last
|
||||
export default (state = initialState, { type, payload }) => {
|
||||
switch (type) {
|
||||
case ActionTypes.AUTHENTICATE:
|
||||
|
||||
@@ -7,6 +7,7 @@ const initialState = {
|
||||
isSubmitting: false,
|
||||
};
|
||||
|
||||
// eslint-disable-next-line default-param-last
|
||||
export default (state = initialState, { type, payload }) => {
|
||||
switch (type) {
|
||||
case ActionTypes.PROJECT_CREATE:
|
||||
|
||||
@@ -10,6 +10,7 @@ const initialState = {
|
||||
error: null,
|
||||
};
|
||||
|
||||
// eslint-disable-next-line default-param-last
|
||||
export default (state = initialState, { type, payload }) => {
|
||||
switch (type) {
|
||||
case ActionTypes.USER_CREATE:
|
||||
|
||||
@@ -25,7 +25,7 @@ export function* initializeCoreService() {
|
||||
notifications,
|
||||
} = yield call(fetchCoreRequest); // TODO: handle error
|
||||
|
||||
yield call(i18n.loadCoreLocale, i18n.language);
|
||||
yield call(i18n.loadCoreLocale, i18n.resolvedLanguage);
|
||||
|
||||
yield put(
|
||||
initializeCore(
|
||||
|
||||
@@ -20,6 +20,7 @@ services:
|
||||
- 3000:1337
|
||||
environment:
|
||||
- BASE_URL=http://localhost:3000
|
||||
- TRUST_PROXY=0
|
||||
- DATABASE_URL=postgresql://postgres@postgres/planka
|
||||
- SECRET_KEY=notsecretkey
|
||||
depends_on:
|
||||
|
||||
+3
-3
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
node db/init.js \
|
||||
&& node app.js --prod $@
|
||||
set -e
|
||||
node db/init.js
|
||||
exec node app.js --prod $@
|
||||
|
||||
Generated
+769
-962
File diff suppressed because it is too large
Load Diff
+6
-10
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "planka",
|
||||
"version": "0.1.0",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"homepage": "https://plankanban.github.io/planka",
|
||||
"repository": {
|
||||
@@ -14,8 +14,9 @@
|
||||
"client:lint": "npm run lint --prefix client",
|
||||
"client:start": "npm start --prefix client",
|
||||
"client:test": "npm test --prefix client",
|
||||
"lint": "npm run server:lint && npm run client:lint",
|
||||
"postinstall": "npm i --prefix server && npm i --prefix client",
|
||||
"prepare": "husky install",
|
||||
"lint": "npm run server:lint && npm run client:lint",
|
||||
"server:console": "npm run console --prefix server",
|
||||
"server:db:init": "npm run db:init --prefix server",
|
||||
"server:db:migrate": "npm run db:migrate --prefix server",
|
||||
@@ -27,11 +28,6 @@
|
||||
"start": "concurrently -n server,client \"npm run server:start\" \"npm run client:start\"",
|
||||
"test": "npm run server:test && npm run client:test"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"client/**/*.{js,jsx}": [
|
||||
"npm run client:lint"
|
||||
@@ -41,8 +37,8 @@
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"concurrently": "^6.2.0",
|
||||
"husky": "^6.0.0",
|
||||
"lint-staged": "^11.0.0"
|
||||
"concurrently": "^7.1.0",
|
||||
"husky": "^7.0.4",
|
||||
"lint-staged": "^12.3.8"
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
TZ=UTC
|
||||
BASE_URL=http://localhost:1337
|
||||
DATABASE_URL=postgresql://ghostly@localhost/planka
|
||||
DATABASE_URL=postgresql://postgres@localhost/planka
|
||||
SECRET_KEY=notsecretkey
|
||||
|
||||
@@ -20,6 +20,8 @@ module.exports = {
|
||||
},
|
||||
|
||||
async fn(inputs) {
|
||||
const { currentUser } = this.req;
|
||||
|
||||
let { board } = await sails.helpers.boards
|
||||
.getProjectPath(inputs.id)
|
||||
.intercept('pathNotFound', () => Errors.BOARD_NOT_FOUND);
|
||||
|
||||
@@ -69,7 +69,7 @@ module.exports = {
|
||||
const values = _.pick(inputs, ['email']);
|
||||
|
||||
user = await sails.helpers.users
|
||||
.update(user, values, this.req)
|
||||
.updateOne(user, values, this.req)
|
||||
.intercept('emailAlreadyInUse', () => Errors.EMAIL_ALREADY_IN_USE);
|
||||
|
||||
if (!user) {
|
||||
|
||||
@@ -71,7 +71,7 @@ module.exports = {
|
||||
const values = _.pick(inputs, ['username']);
|
||||
|
||||
user = await sails.helpers.users
|
||||
.update(user, values, this.req)
|
||||
.updateOne(user, values, this.req)
|
||||
.intercept('usernameAlreadyInUse', () => Errors.USERNAME_ALREADY_IN_USE);
|
||||
|
||||
if (!user) {
|
||||
|
||||
@@ -10,6 +10,10 @@ module.exports = {
|
||||
},
|
||||
|
||||
async fn(inputs) {
|
||||
await BoardMembership.destroy({
|
||||
boardId: inputs.record.id,
|
||||
}).fetch();
|
||||
|
||||
const board = await Board.archiveOne(inputs.record.id);
|
||||
|
||||
if (board) {
|
||||
|
||||
Vendored
+1
-1
@@ -273,7 +273,7 @@ module.exports = {
|
||||
*
|
||||
*/
|
||||
|
||||
// trustProxy: true,
|
||||
trustProxy: process.env.TRUST_PROXY,
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Generated
+2255
-3231
File diff suppressed because it is too large
Load Diff
+18
-18
@@ -39,34 +39,34 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"bcrypt": "^5.0.1",
|
||||
"dotenv": "^10.0.0",
|
||||
"dotenv-cli": "^4.0.0",
|
||||
"dotenv": "^16.0.0",
|
||||
"dotenv-cli": "^5.1.0",
|
||||
"filenamify": "^4.3.0",
|
||||
"jsonwebtoken": "^8.5.1",
|
||||
"knex": "^0.95.6",
|
||||
"knex": "^1.0.7",
|
||||
"lodash": "^4.17.21",
|
||||
"moment": "^2.29.1",
|
||||
"moment": "^2.29.3",
|
||||
"rimraf": "^3.0.2",
|
||||
"sails": "^1.4.3",
|
||||
"sails-hook-orm": "^3.0.2",
|
||||
"sails": "^1.5.2",
|
||||
"sails-hook-orm": "^4.0.1",
|
||||
"sails-hook-sockets": "^2.0.1",
|
||||
"sails-postgresql-redacted": "^1.0.2-9",
|
||||
"sharp": "^0.28.3",
|
||||
"sharp": "^0.30.4",
|
||||
"stream-to-array": "^2.3.0",
|
||||
"uuid": "^8.3.2",
|
||||
"validator": "^13.6.0"
|
||||
"validator": "^13.7.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"chai": "^4.3.4",
|
||||
"eslint": "^7.29.0",
|
||||
"eslint-config-airbnb-base": "^14.2.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-import": "^2.23.4",
|
||||
"eslint-plugin-prettier": "^3.4.0",
|
||||
"mocha": "^9.0.1",
|
||||
"nodemon": "^2.0.4",
|
||||
"prettier": "2.3.1",
|
||||
"supertest": "^6.1.3"
|
||||
"chai": "^4.3.6",
|
||||
"eslint": "^8.13.0",
|
||||
"eslint-config-airbnb-base": "^15.0.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"mocha": "^9.2.2",
|
||||
"nodemon": "^2.0.15",
|
||||
"prettier": "2.6.2",
|
||||
"supertest": "^6.2.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^12.10"
|
||||
|
||||
Reference in New Issue
Block a user