Move services to public (#6156)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2024-07-28 14:55:43 +07:00
committed by Andrey Sobolev
parent 9aad4a4561
commit ddecae80dd
578 changed files with 109084 additions and 390 deletions
@@ -0,0 +1,7 @@
module.exports = {
extends: ['./node_modules/@hcengineering/platform-rig/profiles/assets/eslint.config.json'],
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.json'
}
}
@@ -0,0 +1,28 @@
<!-- ALL HASHTAGs -->
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
<symbol id="github" viewBox="0 0 24 24">
<path
d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"
/>
</symbol>
<symbol id='pullRequest' viewBox="0 0 16 16">
<path
d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"></path>
</symbol>
<symbol id='pullRequestClosed' viewBox="0 0 16 16">
<path d="M3.25 1A2.25 2.25 0 0 1 4 5.372v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.251 2.251 0 0 1 3.25 1Zm9.5 5.5a.75.75 0 0 1 .75.75v3.378a2.251 2.251 0 1 1-1.5 0V7.25a.75.75 0 0 1 .75-.75Zm-2.03-5.273a.75.75 0 0 1 1.06 0l.97.97.97-.97a.748.748 0 0 1 1.265.332.75.75 0 0 1-.205.729l-.97.97.97.97a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-.97-.97-.97.97a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l.97-.97-.97-.97a.75.75 0 0 1 0-1.06ZM2.5 3.25a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0ZM3.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm9.5 0a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"></path>
</symbol>
<symbol id='pullRequestMerged' viewBox="0 0 16 16">
<path d="M5.45 5.154A4.25 4.25 0 0 0 9.25 7.5h1.378a2.251 2.251 0 1 1 0 1.5H9.25A5.734 5.734 0 0 1 5 7.123v3.505a2.25 2.25 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.95-.218ZM4.25 13.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm8.5-4.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM5 3.25a.75.75 0 1 0 0 .005V3.25Z"></path>
</symbol>
<symbol id='repository' viewBox="0 0 16 16">
<path d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.495 2.495 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.486 2.486 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.249.249 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z"></path>
</symbol>
<symbol id="forks" viewBox="0 0 16 16">
<path d="M5 5.372v.878c0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75v-.878a2.25 2.25 0 1 1 1.5 0v.878a2.25 2.25 0 0 1-2.25 2.25h-1.5v2.128a2.251 2.251 0 1 1-1.5 0V8.5h-1.5A2.25 2.25 0 0 1 3.5 6.25v-.878a2.25 2.25 0 1 1 1.5 0ZM5 3.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Zm6.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm-3 8.75a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z">
</path>
</symbol>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

@@ -0,0 +1,5 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/rig-package/rig.schema.json",
"rigPackageName": "@hcengineering/platform-rig",
"rigProfile": "assets"
}
@@ -0,0 +1,7 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
testMatch: ['**/?(*.)+(spec|test).[jt]s?(x)'],
roots: ["./src"],
coverageReporters: ["text-summary", "html"]
}
@@ -0,0 +1,90 @@
{
"string": {
"Github": "Github",
"GithubDesc": "Github integration",
"Settings": "Configure",
"Connect": "Map repository to project",
"Configure": "Configure {title} GitHub App",
"NoIntegrationsConfigured": "<p>There is no {title} GitHub App associated with this workspace. You must first install the {title} GitHub App and grant it access to your repositories.</p><p>If you are installing it for a GitHub organization, you need to have the appropriate permissions, or you should ask your colleagues to install it.</p><p>If you plan like to switch use of integration to another {title} workspace, please uninstall it first.</p>",
"InstallApp": "Install Github App",
"ConnectionPending": "Waiting for integration service",
"Repository": "Repository",
"NoRepository": "Repository not selected",
"RepositoryInfo": "in",
"RepositoryIn": " in ",
"AssignRepository": "Assign repository",
"WithoutRepository": "Create Issue without GitHub",
"CreateGithubIssue": "Create Issue on ",
"PullRequest": "Pull request",
"PullRequests": "Pull requests",
"ChangedFiles": "Changed files ({files})",
"ReviewedFiles": "Reviewed files ({files})",
"All": "All",
"Active": "Active",
"Closed": "Closed",
"PRFile": "File",
"PRCommit": "Commit",
"PRReview": "Review",
"PRDraft": "Draft PR",
"PRMergedAt": "Merged At",
"PRClosedAt": "Closed At",
"MergeCommitSHA": "Merge commit SHA",
"ConfigLabel": "Github",
"ConfigDescription": "Bi-directional synchronization with Github",
"Authorize": "Authorize {title} GitHub App",
"ReAuthorize": "Re-authorize {title} GitHub App",
"PleaseAuthorizeAs": "You need to authorize the {title} GitHub App to access your GitHub account.",
"PleaseConnectToProject": "Please connect repository to project to start using integration",
"ConnectProject": "Connect repository (available {available})",
"Enable": "Enable",
"Disable": "Disable",
"Disabled": "Disabled",
"ProjectsInSync": "- repositories ({of}/{sync})",
"ProjectsConfig": "Github Projects (new)",
"AuthorizeAs": "as {login}",
"Integrations": "GitHub App Integrations",
"Options": "Options",
"Projects": "Projects ({count})",
"GithubIssue": "GitHub Issue",
"OnlyOrganizationError": "Only organization accounts are supported",
"Mergeable": "Ready to Merge",
"IssueRepositoryTarget": "into",
"ComponentForRepository": "Use component for Github repository",
"GithubUser": "Github",
"SyncEnabled": "Synchronization enabled",
"IssueConnectedActivityInfo": "Connected to Issue <a href=\"{url}\">#{number}</a> inside <a href=\"{repository}\">{repoName}</a>",
"PullRequestConnectedActivityInfo": "Connected to Pull Request <a href=\"{url}\">#{number}</a> inside <a href=\"{repository}\">{repoName}</a>",
"PullRequestMergedActivityInfo": "Pull request Merged",
"ReviewPending": "Pending",
"ReviewCommented": "Commented",
"ReviewApproved": "Approved",
"ReviewChangesRequested": "Changes requested",
"ReviewDismissed": "Dismissed",
"PullRequestMergeState": "Merge state",
"PullRequestReviewDecision": "Review state",
"Conflict": "Conflict detected",
"ReadyForMerge": "Yes",
"PROpen": "Open",
"PRMerged": "Merged",
"PRClosed": "Closed",
"AuthenticatedWithGithub": "Authorized with Github {login}",
"AuthenticatedWithGithubEmployee": "Please merge or remove Github person",
"AuthenticatedWithGithubRequired": "Please authorize Github application to act on behind you to perform actions",
"Processing": "Processing authentication/installation",
"AutoClose": "Processing complete, Tab will be auto-closed in {time} seconds.",
"PleaseRetry": "Please retry authentication",
"Updated": "Updated",
"LinkToProject": "Connect to {title}",
"UnlinkFromProject": "Disconnect",
"UnlinkRepository": "Disconnect repository from project?",
"UnlinkMessage": "<p>Disconnect repository {repositoryName} from {prjName}?</p><p>All synchronized issues/pull requests {total} will be not touched.</p><p>Would you like to continue?</p>",
"LinkedWith": "Connected with",
"SelectWorkspaceToInstallApp": "Installation should be performed from Workspace integration settings.",
"SelectWorkspaceToInstallAppMsg": "Please uninstall application and try again.",
"Uninstall": "Installed Github Apps",
"AuthenticationRevokedGithub": "Re-authorization for {login} is required for the proper functioning of the GitHub App",
"UnlinkInstallationTitle": "Uninstall Github App",
"UnlinkInstallation": "Are you sure you want to uninstall the GitHub App? Synchronization will be disabled.",
"RemoveInstallation": "Uninstall"
}
}
@@ -0,0 +1,90 @@
{
"string": {
"Github": "Github",
"GithubDesc": "Integração com o Github",
"Settings": "Configurar",
"Connect": "Mapear repositório ao projeto",
"Configure": "Configurar {title} GitHub App",
"NoIntegrationsConfigured": "<p>Não há {title} GitHub App associado a este workspace. Você deve primeiro instalar o {title} GitHub App e conceder acesso aos seus repositórios.</p><p>Se você estiver instalando para uma organização do GitHub, você precisa ter as permissões adequadas ou pedir para seus colegas instalarem.</p><p>Se você planeja mudar o uso da integração para outro workspace do {title}, desinstale-o primeiro.</p>",
"InstallApp": "Instalar Github App",
"ConnectionPending": "Aguardando serviço de integração",
"Repository": "Repositório",
"NoRepository": "Repositório não selecionado",
"RepositoryInfo": "em",
"RepositoryIn": " em ",
"AssignRepository": "Atribuir repositório",
"WithoutRepository": "Criar Issue sem o GitHub",
"CreateGithubIssue": "Criar Issue em ",
"PullRequest": "Pull request",
"PullRequests": "Pull requests",
"ChangedFiles": "Arquivos modificados ({files})",
"ReviewedFiles": "Arquivos revisados ({files})",
"All": "Todos",
"Active": "Ativo",
"Closed": "Fechado",
"PRFile": "Arquivo",
"PRCommit": "Commit",
"PRReview": "Revisão",
"PRDraft": "Rascunho PR",
"PRMergedAt": "Mergeado em",
"PRClosedAt": "Fechado em",
"MergeCommitSHA": "Merge commit SHA",
"ConfigLabel": "Github",
"ConfigDescription": "Sincronização bidirecional com o Github",
"Authorize": "Autorizar {title} GitHub App",
"ReAuthorize": "Reautorizar {title} GitHub App",
"PleaseAuthorizeAs": "Você precisa autorizar o {title} GitHub App para acessar sua conta do GitHub.",
"PleaseConnectToProject": "Por favor, conecte o repositório ao projeto para começar a usar a integração",
"ConnectProject": "Conectar repositório (disponível {available})",
"Enable": "Habilitar",
"Disable": "Desabilitar",
"Disabled": "Desabilitado",
"ProjectsInSync": "- repositórios ({of}/{sync})",
"ProjectsConfig": "Projetos do Github (novo)",
"AuthorizeAs": "como {login}",
"Integrations": "Integrações do aplicativo Huly Github",
"Options": "Opções",
"Projects": "Projetos ({count})",
"GithubIssue": "Issue do Github",
"OnlyOrganizationError": "Somente contas de organização são suportadas",
"Mergeable": "Pronto para ser mergeado",
"IssueRepositoryTarget": "em",
"ComponentForRepository": "Usar componente para repositório do Github",
"GithubUser": "Github",
"SyncEnabled": "Sincronização habilitada",
"IssueConnectedActivityInfo": "Conectado à Issue <a href=\"{url}\">#{number}</a> dentro de <a href=\"{repository}\">{repoName}</a>",
"PullRequestConnectedActivityInfo": "Conectado ao Pull Request <a href=\"{url}\">#{number}</a> dentro de <a href=\"{repository}\">{repoName}</a>",
"PullRequestMergedActivityInfo": "Pull request mergeado",
"ReviewPending": "Pendente",
"ReviewCommented": "Comentado",
"ReviewApproved": "Aprovado",
"ReviewChangesRequested": "Alterações solicitadas",
"ReviewDismissed": "Rejeitado",
"PullRequestMergeState": "Estado de merge",
"PullRequestReviewDecision": "Estado de revisão",
"Conflict": "Conflito detectado",
"ReadyForMerge": "Sim",
"PROpen": "Aberto",
"PRMerged": "Mergeado",
"PRClosed": "Fechado",
"AuthenticatedWithGithub": "Autorizado com o Github {login}",
"AuthenticatedWithGithubEmployee": "Por favor, faça merge ou remova a pessoa do Github",
"AuthenticatedWithGithubRequired": "Por favor, autorize a aplicação do Github a agir em seu nome para realizar ações",
"Processing": "Processando autenticação/instalação",
"AutoClose": "Processamento concluído, a guia será fechada automaticamente em {time} segundos.",
"PleaseRetry": "Por favor, tente novamente a autenticação",
"Updated": "Atualizado",
"LinkToProject": "Conectar ao {title}",
"UnlinkFromProject": "Desconectar",
"UnlinkRepository": "Desconectar repositório do projeto?",
"UnlinkMessage": "<p>Desconectar o repositório {repositoryName} de {prjName}?</p><p>Todas as issues/pull requests sincronizadas {total} não serão afetadas.</p><p>Deseja continuar?</p>",
"LinkedWith": "Conectado com",
"SelectWorkspaceToInstallApp": "A instalação deve ser feita nas configurações de integração do Workspace.",
"SelectWorkspaceToInstallAppMsg": "Por favor, desinstale o aplicativo e tente novamente.",
"Uninstall": "Aplicativos Github instalados",
"AuthenticationRevokedGithub": "É necessária uma nova autorização para {login} para o funcionamento adequado do aplicativo GitHub",
"UnlinkInstallationTitle": "Desinstalar aplicativo Github",
"UnlinkInstallation": "Tem certeza de que deseja desinstalar o aplicativo GitHub? A sincronização será desabilitada.",
"RemoveInstallation": "Desinstalar"
}
}
@@ -0,0 +1,90 @@
{
"string": {
"Github": "Github",
"GithubDesc": "Интеграция с Github",
"Settings": "Настройки",
"Connect": "Подключить",
"Configure": "Настроить установленное приложение Github",
"NoIntegrationsConfigured": "<p>Не найдено {title} GitHub App, связанного с текущим пространством. Вам нужно сначала установить {title} GitHub App и предоставить ему доступ к вашим репозиториям.</p><p>Если вы устанавливаете его для GitHub организации, вам нужно иметь соответствующие права или попросить одного из ваших коллег установить приложение.</p><p>Если вы планируете переключить интеграцию в другое пространство {title}, то вам нужно сначала удалить приложение, чтобы отвязать его от предыдущего пространства.</p>",
"InstallApp": "Установить приложение Github",
"ConnectionPending": "Ожидание сервиса синхронизации",
"Repository": "Репозиторий",
"NoRepository": "Репозиторий не выбран",
"RepositoryInfo": "вашего",
"RepositoryIn": " в ",
"AssignRepository": "Выбрать репозиторий",
"CreateGithubIssue": "Создать Задачу в ",
"WithoutRepository": "Создать задачу без GitHub",
"PullRequest": "Пулл реквест",
"PullRequests": "Пулл реквесты",
"ChangedFiles": "Изменённые файлы ({files})",
"ReviewedFiles": "Просмотрено файлов ({files})",
"All": "Все",
"Active": "Активные",
"Closed": "Закрытие",
"PRFile": "Файл",
"PRReview": "Ревью",
"PRCommit": "Коммит",
"PRDraft": "Драфт",
"PRMergedAt": "Влито в дату",
"PRClosedAt": "Закрыто в дату",
"MergeCommitSHA": "Дайджест влитого кода",
"ConfigLabel": "Github",
"ConfigDescription": "Двусторонняя синхронизация с Github",
"Authorize": "Авторизоваться",
"ReAuthorize": "Переавторизоваться",
"PleaseAuthorizeAs": "Пожалуйста, дайте Github приложению возможность выступать от вашего имени:",
"PleaseConnectToProject": "Пожалуйста, соедините проект с репозиторием, чтобы начать использовать интеграцию",
"ConnectProject": "Подключить репозиторий (доступно {available})",
"Enable": "Включить",
"Disable": "Выключить",
"Disabled": "Выключено",
"ProjectsInSync": "- репозиториев ({of}/{sync})",
"ProjectsConfig": "Github Проекты (Новые)",
"AuthorizeAs": "Авторизован как: {login}",
"Integrations": "Huly Github интеграции",
"Options": "Опции",
"Projects": "Проекты ({count})",
"GithubIssue": "Github тикет",
"OnlyOrganizationError": "Поддерживаются только Аккаунты организации",
"Mergeable": "Готовность к влитию",
"IssueRepositoryTarget": "Репозиторий",
"ComponentForRepository": "Выберите репозиторий через компонент",
"GithubUser": "Github",
"SyncEnabled": "Синхронизация включена",
"IssueConnectedActivityInfo": "Связано с Github задачей <a href=\"{url}\">#{number}</a> в репозитории <a href=\"{repository}\">{repoName}</a>",
"PullRequestConnectedActivityInfo": "Связано с Github Пулл Реквестом <a href=\"{url}\">#{number}</a> в репозитории <a href=\"{repository}\">{repoName}</a>",
"PullRequestMergedActivityInfo": "Pull request Merged",
"ReviewPending": "Ревью в процессе",
"ReviewCommented": "Комментировано",
"ReviewApproved": "Одобрено",
"ReviewChangesRequested": "Требуется изменения",
"ReviewDismissed": "Отклонено",
"PullRequestMergeState": "Состояние влития",
"PullRequestReviewDecision": "Состояние Ревью",
"Conflict": "Нет, Конфликтует",
"ReadyForMerge": "Да",
"PROpen": "Открыт",
"PRMerged": "Влито",
"PRClosed": "Закрыто",
"AuthenticatedWithGithub": "Авторизация с Github успешна {login}",
"AuthenticatedWithGithubEmployee": "Пожалуйста удалите или слейте Github персону",
"AuthenticatedWithGithubRequired": "Пожалуйста авторизуйте Github приложение для действий от вашего имени",
"Processing": "Происходит авторизация/установка",
"AutoClose": "Процесс завершен, Вкладка будет автоматически закрыта через {time} секунд.",
"PleaseRetry": "Пожалуйста повторите авторизацию",
"Updated": "Обновлено",
"LinkToProject": "Подключить к {title}",
"UnlinkFromProject": "Отключить",
"UnlinkRepository": "Отключить репозиторий от проекта?",
"UnlinkMessage": "<p>Отключить репозиторий {repositoryName} от {prjName}?</p><p>Все синхронизованные задачи/пулл реквесты {total} останутся не тронутыми.</p><p>Желаете ли вы продолжить?</p>",
"LinkedWith": "Подключено к",
"SelectWorkspaceToInstallApp": "Установка должна производиться из настроек интеграции Github. ",
"SelectWorkspaceToInstallAppMsg": "Удалите приложение и повторите попытку.",
"Uninstall": "Установленное приложение Github",
"AuthenticationRevokedGithub": "Требуется повторная авторизация для {login} для правильной работы приложения GitHub",
"UnlinkInstallationTitle": "Удалить приложение Github",
"UnlinkInstallation": "Вы уверены, что хотите удалить приложение GitHub? Синхронизация будет отключена.",
"RemoveInstallation": "Удалить"
}
}
@@ -0,0 +1,90 @@
{
"string": {
"Github": "Github",
"GithubDesc": "Integración de Github",
"Settings": "Configurar",
"Connect": "Asociar repositorio al proyecto",
"Configure": "Configurar aplicación de GitHub {title}",
"NoIntegrationsConfigured": "<p>No hay una aplicación de GitHub asociada a este espacio de trabajo. Primero debes instalar la aplicación de GitHub {title} y otorgarle acceso a tus repositorios.</p><p>Si la estás instalando para una organización de GitHub, debes tener los permisos adecuados o pedir a tus colegas que la instalen.</p><p>Si deseas cambiar el uso de la integración a otro espacio de trabajo de {title}, desinstálala primero.</p>",
"InstallApp": "Instalar aplicación de Github",
"ConnectionPending": "Esperando el servicio de integración",
"Repository": "Repositorio",
"NoRepository": "Repositorio no seleccionado",
"RepositoryInfo": "en",
"RepositoryIn": " en ",
"AssignRepository": "Asignar repositorio",
"WithoutRepository": "Crear problema sin GitHub",
"CreateGithubIssue": "Crear problema en ",
"PullRequest": "Solicitud de extracción",
"PullRequests": "Solicitudes de extracción",
"ChangedFiles": "Archivos modificados ({files})",
"ReviewedFiles": "Archivos revisados ({files})",
"All": "Todos",
"Active": "Activo",
"Closed": "Cerrado",
"PRFile": "Archivo",
"PRCommit": "Confirmación",
"PRReview": "Revisión",
"PRDraft": "Borrador de PR",
"PRMergedAt": "Combinado en",
"PRClosedAt": "Cerrado en",
"MergeCommitSHA": "SHA de la confirmación de combinación",
"ConfigLabel": "Github",
"ConfigDescription": "Sincronización bidireccional con Github",
"Authorize": "Autorizar aplicación de GitHub {title}",
"ReAuthorize": "Volver a autorizar aplicación de GitHub {title}",
"PleaseAuthorizeAs": "Debes autorizar la aplicación de GitHub {title} para acceder a tu cuenta de GitHub.",
"PleaseConnectToProject": "Por favor, conecta el repositorio al proyecto para comenzar a usar la integración",
"ConnectProject": "Conectar repositorio (disponible {available})",
"Enable": "Habilitar",
"Disable": "Deshabilitar",
"Disabled": "Deshabilitado",
"ProjectsInSync": "- repositorios ({of}/{sync})",
"ProjectsConfig": "Proyectos de Github (nuevo)",
"AuthorizeAs": "como {login}",
"Integrations": "Integraciones de la aplicación de Github de Huly",
"Options": "Opciones",
"Projects": "Proyectos ({count})",
"GithubIssue": "Problema de Github",
"OnlyOrganizationError": "Solo se admiten cuentas de organizaciones",
"Mergeable": "Listo para combinar",
"IssueRepositoryTarget": "en",
"ComponentForRepository": "Usar componente para el repositorio de Github",
"GithubUser": "Github",
"SyncEnabled": "Sincronización habilitada",
"IssueConnectedActivityInfo": "Conectado al problema <a href=\"{url}\">#{number}</a> en <a href=\"{repository}\">{repoName}</a>",
"PullRequestConnectedActivityInfo": "Conectado a la solicitud de extracción <a href=\"{url}\">#{number}</a> en <a href=\"{repository}\">{repoName}</a>",
"PullRequestMergedActivityInfo": "Solicitud de extracción combinada",
"ReviewPending": "Pendiente",
"ReviewCommented": "Comentado",
"ReviewApproved": "Aprobado",
"ReviewChangesRequested": "Cambios solicitados",
"ReviewDismissed": "Descartado",
"PullRequestMergeState": "Estado de combinación",
"PullRequestReviewDecision": "Estado de revisión",
"Conflict": "Se detectó un conflicto",
"ReadyForMerge": "Sí",
"PROpen": "Abierto",
"PRMerged": "Combinado",
"PRClosed": "Cerrado",
"AuthenticatedWithGithub": "Autorizado con Github {login}",
"AuthenticatedWithGithubEmployee": "Por favor, combina o elimina a la persona de Github",
"AuthenticatedWithGithubRequired": "Por favor, autoriza la aplicación de Github para actuar en tu nombre y realizar acciones",
"Processing": "Procesando autenticación/instalación",
"AutoClose": "Procesamiento completo, la pestaña se cerrará automáticamente en {time} segundos.",
"PleaseRetry": "Por favor, vuelve a intentar la autenticación",
"Updated": "Actualizado",
"LinkToProject": "Conectar a {title}",
"UnlinkFromProject": "Desconectar",
"UnlinkRepository": "¿Desconectar el repositorio del proyecto?",
"UnlinkMessage": "<p>¿Desconectar el repositorio {repositoryName} de {prjName}?</p><p>Todos los problemas/solicitudes de extracción sincronizados {total} no se verán afectados.</p><p>¿Deseas continuar?</p>",
"LinkedWith": "Conectado con",
"SelectWorkspaceToInstallApp": "La instalación debe realizarse desde la configuración de integración del espacio de trabajo.",
"SelectWorkspaceToInstallAppMsg": "Por favor, desinstala la aplicación e intenta nuevamente.",
"Uninstall": "Aplicaciones de Github instaladas",
"AuthenticationRevokedGithub": "Se requiere una nueva autorización para {login} para el correcto funcionamiento de la aplicación de GitHub",
"UnlinkInstallationTitle": "Desinstalar aplicación de Github",
"UnlinkInstallation": "¿Estás seguro de que deseas desinstalar la aplicación de GitHub? La sincronización se deshabilitará.",
"RemoveInstallation": "Desinstalar"
}
}
@@ -0,0 +1,38 @@
{
"name": "@hcengineering/github-assets",
"version": "0.6.0",
"main": "src/index.ts",
"author": "Hardcore Engineering Inc.",
"template": "@hcengineering/assets-package",
"scripts": {
"build": "compile",
"test": "jest --passWithNoTests --silent",
"build:docs": "",
"format": "format src",
"build:watch": "compile",
"_phase:build": "compile transpile src",
"_phase:test": "jest --passWithNoTests --silent",
"_phase:format": "format src",
"_phase:validate": "compile validate"
},
"devDependencies": {
"@hcengineering/platform-rig": "^0.6.0",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"eslint-config-standard-with-typescript": "^40.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.4.0",
"eslint-plugin-promise": "^6.1.1",
"eslint": "^8.54.0",
"prettier": "^3.1.0",
"@types/node": "~20.11.16",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"@types/jest": "^29.5.5",
"typescript": "^5.3.3"
},
"dependencies": {
"@hcengineering/platform": "^0.6.11",
"@hcengineering/github": "^0.6.0"
}
}
@@ -0,0 +1,6 @@
import { makeLocalesTest } from '@hcengineering/platform'
it(
'Locales are equale',
makeLocalesTest((lang) => import(`../../lang/${lang}.json`))
)
@@ -0,0 +1,16 @@
//
// Copyright © 2023 Hardcore Engineering Inc.
//
import { loadMetadata } from '@hcengineering/platform'
import github from '@hcengineering/github'
const icons = require('../assets/icons.svg') as string // eslint-disable-line
loadMetadata(github.icon, {
Github: `${icons}#github`,
GithubRepository: `${icons}#repository`,
PullRequest: `${icons}#pullRequest`,
PullRequestMerged: `${icons}#pullRequestMerged`,
PullRequestClosed: `${icons}#pullRequestClosed`,
Forks: `${icons}#forks`
})
@@ -0,0 +1,11 @@
{
"extends": "./node_modules/@hcengineering/platform-rig/profiles/assets/tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./lib",
"declarationDir": "./types",
"types": ["node", "jest"],
"tsBuildInfoFile": ".build/build.tsbuildinfo"
}
}