gen requirement
build image thêm ngôn ngữ tiếng việt sửa logo sửa 1 số text sang tiêngs việt
10
.env
@ -1,3 +1,11 @@
|
||||
COMPOSE_PROJECT_NAME=paperless
|
||||
PAPERLESS_DEBUG=true
|
||||
|
||||
PAPERLESS_REDIS=redis://:@123bytech@172.16.100.203:9377
|
||||
DEBUG=true
|
||||
|
||||
PAPERLESS_DBHOST=172.16.100.203
|
||||
PAPERLESS_DBPORT=5432
|
||||
PAPERLESS_DBNAME=tc_edoc
|
||||
PAPERLESS_DBUSER=tc_edoc
|
||||
PAPERLESS_DBPASS=27M2MV58Re2Y
|
||||
PAPERLESS_DBSSLMODE=prefer
|
||||
|
@ -89,6 +89,7 @@ ARG RUNTIME_PACKAGES="\
|
||||
mariadb-client \
|
||||
# OCRmyPDF dependencies
|
||||
tesseract-ocr \
|
||||
tesseract-ocr-vie \
|
||||
tesseract-ocr-eng \
|
||||
tesseract-ocr-deu \
|
||||
tesseract-ocr-fra \
|
||||
@ -245,6 +246,8 @@ RUN --mount=type=cache,target=/root/.cache/pip/,id=pip-cache \
|
||||
# copy backend
|
||||
COPY --chown=1000:1000 ./src ./
|
||||
|
||||
RUN pip3 install python-decouple==3.8
|
||||
|
||||
# copy frontend
|
||||
COPY --from=compile-frontend --chown=1000:1000 /src/src/documents/static/frontend/ ./documents/static/frontend/
|
||||
|
||||
|
@ -123,3 +123,5 @@ whoosh==2.7.4
|
||||
wrapt==1.16.0; python_version >= '3.6'
|
||||
zstandard==0.22.0; python_version >= '3.8'
|
||||
zxing-cpp==2.2.0; platform_machine == 'x86_64' and python_version >= '3.6'
|
||||
|
||||
python-decouple==3.8
|
||||
|
10
runserver.sh
Normal file
@ -0,0 +1,10 @@
|
||||
export PAPERLESS_REDIS=redis://:@123bytech@172.16.100.203:9377
|
||||
export PAPERLESS_DBHOST=172.16.100.203
|
||||
export PAPERLESS_DBPORT=5432
|
||||
export PAPERLESS_DBNAME=tc_edoc
|
||||
export PAPERLESS_DBUSER=tc_edoc
|
||||
export PAPERLESS_DBPASS=27M2MV58Re2Y
|
||||
export PAPERLESS_DBSSLMODE=prefer
|
||||
|
||||
cd src
|
||||
python manage.py runserver
|
1
script_build.sh
Normal file
@ -0,0 +1 @@
|
||||
docker build --file Dockerfile --tag registry-dev.tcgroup.vn/tc-edoc:0.0.1 --progress simple .
|
2
script_run.sh
Normal file
@ -0,0 +1,2 @@
|
||||
docker stop tc-edoc
|
||||
docker run --rm --name tc-edoc -p 8000:8000 --env-file .env registry-dev.tcgroup.vn/tc-edoc:0.0.1
|
@ -46,7 +46,8 @@
|
||||
"sv-SE": "src/locale/messages.sv_SE.xlf",
|
||||
"tr-TR": "src/locale/messages.tr_TR.xlf",
|
||||
"uk-UA": "src/locale/messages.uk_UA.xlf",
|
||||
"zh-CN": "src/locale/messages.zh_CN.xlf"
|
||||
"zh-CN": "src/locale/messages.zh_CN.xlf",
|
||||
"vi-VN": "src/locale/messages.vi_VN.xlf"
|
||||
}
|
||||
},
|
||||
"architect": {
|
||||
|
@ -337,6 +337,7 @@ import localeSv from '@angular/common/locales/sv'
|
||||
import localeTr from '@angular/common/locales/tr'
|
||||
import localeUk from '@angular/common/locales/uk'
|
||||
import localeZh from '@angular/common/locales/zh'
|
||||
import localeVi from '@angular/common/locales/vi'
|
||||
|
||||
registerLocaleData(localeAf)
|
||||
registerLocaleData(localeAr)
|
||||
@ -369,6 +370,7 @@ registerLocaleData(localeSv)
|
||||
registerLocaleData(localeTr)
|
||||
registerLocaleData(localeUk)
|
||||
registerLocaleData(localeZh)
|
||||
registerLocaleData(localeVi)
|
||||
|
||||
function initializeApp(settings: SettingsService) {
|
||||
return () => {
|
||||
|
@ -8,16 +8,20 @@
|
||||
[ngClass]="{ 'slim': slimSidebarEnabled, 'col-auto col-md-3 col-lg-2 col-xxxl-1' : !slimSidebarEnabled, 'py-3' : !customAppTitle?.length || slimSidebarEnabled, 'py-2': customAppTitle?.length }"
|
||||
routerLink="/dashboard"
|
||||
tourAnchor="tour.intro">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 198.43 238.91" width="1em" height="1.5em" fill="currentColor">
|
||||
<path
|
||||
d="M194.7,0C164.22,70.94,17.64,79.74,64.55,194.06c.58,1.47-10.85,17-18.47,29.9-1.76-6.45-3.81-13.48-3.52-14.07,38.11-45.14-27.26-70.65-30.78-107.58C-4.64,131.62-10.5,182.92,39,212.53c.3,0,2.64,11.14,3.81,16.71a58.55,58.55,0,0,0-2.93,6.45c-1.17,2.93,7.62,2.64,7.62,3.22.88-.29,21.7-36.93,22.28-37.23C187.67,174.72,208.48,68.6,194.7,0ZM134.61,74.75C79.5,124,70.12,160.64,71.88,178.53,53.41,134.85,107.64,86.77,134.61,74.75ZM28.2,145.11c10.55,9.67,28.14,39.28,13.19,56.57C44.91,193.77,46.08,175.89,28.2,145.11Z"
|
||||
transform="translate(0 0)" />
|
||||
</svg>
|
||||
<!-- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 198.43 238.91" width="1em" height="1.5em" fill="currentColor">-->
|
||||
<!-- <path-->
|
||||
<!-- d="M194.7,0C164.22,70.94,17.64,79.74,64.55,194.06c.58,1.47-10.85,17-18.47,29.9-1.76-6.45-3.81-13.48-3.52-14.07,38.11-45.14-27.26-70.65-30.78-107.58C-4.64,131.62-10.5,182.92,39,212.53c.3,0,2.64,11.14,3.81,16.71a58.55,58.55,0,0,0-2.93,6.45c-1.17,2.93,7.62,2.64,7.62,3.22.88-.29,21.7-36.93,22.28-37.23C187.67,174.72,208.48,68.6,194.7,0ZM134.61,74.75C79.5,124,70.12,160.64,71.88,178.53,53.41,134.85,107.64,86.77,134.61,74.75ZM28.2,145.11c10.55,9.67,28.14,39.28,13.19,56.57C44.91,193.77,46.08,175.89,28.2,145.11Z"-->
|
||||
<!-- transform="translate(0 0)" />-->
|
||||
<!-- </svg>-->
|
||||
|
||||
|
||||
<img style='height:32px' src='assets/Logo_White.svg'>
|
||||
|
||||
<div class="ms-2 ms-md-3 d-inline-block" [class.d-md-none]="slimSidebarEnabled">
|
||||
@if (customAppTitle?.length) {
|
||||
<div class="d-flex flex-column align-items-start">
|
||||
<span class="title">{{customAppTitle}}</span>
|
||||
<span class="byline text-uppercase font-monospace" i18n>by Paperless-ngx</span>
|
||||
<!-- <span class="title">{{customAppTitle}}</span>-->
|
||||
<!-- <span class="byline text-uppercase font-monospace" i18n>by Paperless-ngx</span>-->
|
||||
</div>
|
||||
} @else {
|
||||
Paperless-ngx
|
||||
@ -276,67 +280,67 @@
|
||||
</a>
|
||||
</li>
|
||||
}
|
||||
<li class="nav-item mt-2" tourAnchor="tour.outro">
|
||||
<a class="px-3 py-2 text-muted small d-flex align-items-center flex-wrap text-decoration-none"
|
||||
target="_blank" rel="noopener noreferrer" href="https://docs.paperless-ngx.com" ngbPopover="Documentation"
|
||||
i18n-ngbPopover [disablePopover]="!slimSidebarEnabled" placement="end" container="body"
|
||||
triggers="mouseenter:mouseleave" popoverClass="popover-slim">
|
||||
<i-bs class="d-flex" name="question-circle"></i-bs><span class="ms-1"> <ng-container i18n>Documentation</ng-container></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item" [class.visually-hidden]="slimSidebarEnabled">
|
||||
<div class="px-3 py-0 text-muted small d-flex align-items-center flex-wrap">
|
||||
<div class="me-3">
|
||||
<a class="text-muted text-decoration-none" target="_blank" rel="noopener noreferrer"
|
||||
href="https://github.com/paperless-ngx/paperless-ngx" ngbPopover="GitHub" i18n-ngbPopover
|
||||
[disablePopover]="!slimSidebarEnabled" placement="end" container="body"
|
||||
triggers="mouseenter:mouseleave" popoverClass="popover-slim">
|
||||
{{ versionString }}
|
||||
</a>
|
||||
</div>
|
||||
@if (!settingsService.updateCheckingIsSet || appRemoteVersion) {
|
||||
<div class="version-check">
|
||||
<ng-template #updateAvailablePopContent>
|
||||
<span class="small">Paperless-ngx {{ appRemoteVersion.version }} <ng-container i18n>is
|
||||
available.</ng-container><br /><ng-container i18n>Click to view.</ng-container></span>
|
||||
</ng-template>
|
||||
<ng-template #updateCheckingNotEnabledPopContent>
|
||||
<p class="small mb-2">
|
||||
<ng-container i18n>Paperless-ngx can automatically check for updates</ng-container>
|
||||
</p>
|
||||
<div class="btn-group btn-group-xs flex-fill w-100">
|
||||
<button class="btn btn-outline-primary" (click)="setUpdateChecking(true)">Enable</button>
|
||||
<button class="btn btn-outline-secondary" (click)="setUpdateChecking(false)">Disable</button>
|
||||
</div>
|
||||
<p class="small mb-0 mt-2">
|
||||
<a class="small text-decoration-none fst-italic" routerLink="/settings" fragment="update-checking" i18n>
|
||||
How does this work?
|
||||
</a>
|
||||
</p>
|
||||
</ng-template>
|
||||
@if (settingsService.updateCheckingIsSet) {
|
||||
@if (appRemoteVersion.update_available) {
|
||||
<a class="small text-decoration-none" target="_blank" rel="noopener noreferrer"
|
||||
href="https://github.com/paperless-ngx/paperless-ngx/releases"
|
||||
[ngbPopover]="updateAvailablePopContent" popoverClass="shadow" triggers="mouseenter:mouseleave"
|
||||
container="body">
|
||||
<i-bs width="1.2em" height="1.2em" name="info-circle"></i-bs>
|
||||
@if (appRemoteVersion?.update_available) {
|
||||
<ng-container i18n>Update available</ng-container>
|
||||
}
|
||||
</a>
|
||||
}
|
||||
} @else {
|
||||
<a class="small text-decoration-none" routerLink="/settings" fragment="update-checking"
|
||||
[ngbPopover]="updateCheckingNotEnabledPopContent" popoverClass="shadow" triggers="mouseenter"
|
||||
container="body">
|
||||
<i-bs width="1.2em" height="1.2em" name="info-circle"></i-bs>
|
||||
</a>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</li>
|
||||
<!-- <li class="nav-item mt-2" tourAnchor="tour.outro">-->
|
||||
<!-- <a class="px-3 py-2 text-muted small d-flex align-items-center flex-wrap text-decoration-none"-->
|
||||
<!-- target="_blank" rel="noopener noreferrer" href="https://docs.paperless-ngx.com" ngbPopover="Documentation"-->
|
||||
<!-- i18n-ngbPopover [disablePopover]="!slimSidebarEnabled" placement="end" container="body"-->
|
||||
<!-- triggers="mouseenter:mouseleave" popoverClass="popover-slim">-->
|
||||
<!-- <i-bs class="d-flex" name="question-circle"></i-bs><span class="ms-1"> <ng-container i18n>Documentation</ng-container></span>-->
|
||||
<!-- </a>-->
|
||||
<!-- </li>-->
|
||||
<!-- <li class="nav-item" [class.visually-hidden]="slimSidebarEnabled">-->
|
||||
<!-- <div class="px-3 py-0 text-muted small d-flex align-items-center flex-wrap">-->
|
||||
<!-- <div class="me-3">-->
|
||||
<!-- <a class="text-muted text-decoration-none" target="_blank" rel="noopener noreferrer"-->
|
||||
<!-- href="https://github.com/paperless-ngx/paperless-ngx" ngbPopover="GitHub" i18n-ngbPopover-->
|
||||
<!-- [disablePopover]="!slimSidebarEnabled" placement="end" container="body"-->
|
||||
<!-- triggers="mouseenter:mouseleave" popoverClass="popover-slim">-->
|
||||
<!-- {{ versionString }}-->
|
||||
<!-- </a>-->
|
||||
<!-- </div>-->
|
||||
<!-- @if (!settingsService.updateCheckingIsSet || appRemoteVersion) {-->
|
||||
<!-- <div class="version-check">-->
|
||||
<!-- <ng-template #updateAvailablePopContent>-->
|
||||
<!-- <span class="small">Paperless-ngx {{ appRemoteVersion.version }} <ng-container i18n>is-->
|
||||
<!-- available.</ng-container><br /><ng-container i18n>Click to view.</ng-container></span>-->
|
||||
<!-- </ng-template>-->
|
||||
<!-- <ng-template #updateCheckingNotEnabledPopContent>-->
|
||||
<!-- <p class="small mb-2">-->
|
||||
<!-- <ng-container i18n>Paperless-ngx can automatically check for updates</ng-container>-->
|
||||
<!-- </p>-->
|
||||
<!-- <div class="btn-group btn-group-xs flex-fill w-100">-->
|
||||
<!-- <button class="btn btn-outline-primary" (click)="setUpdateChecking(true)">Enable</button>-->
|
||||
<!-- <button class="btn btn-outline-secondary" (click)="setUpdateChecking(false)">Disable</button>-->
|
||||
<!-- </div>-->
|
||||
<!-- <p class="small mb-0 mt-2">-->
|
||||
<!-- <a class="small text-decoration-none fst-italic" routerLink="/settings" fragment="update-checking" i18n>-->
|
||||
<!-- How does this work?-->
|
||||
<!-- </a>-->
|
||||
<!-- </p>-->
|
||||
<!-- </ng-template>-->
|
||||
<!-- @if (settingsService.updateCheckingIsSet) {-->
|
||||
<!-- @if (appRemoteVersion.update_available) {-->
|
||||
<!-- <a class="small text-decoration-none" target="_blank" rel="noopener noreferrer"-->
|
||||
<!-- href="https://github.com/paperless-ngx/paperless-ngx/releases"-->
|
||||
<!-- [ngbPopover]="updateAvailablePopContent" popoverClass="shadow" triggers="mouseenter:mouseleave"-->
|
||||
<!-- container="body">-->
|
||||
<!-- <i-bs width="1.2em" height="1.2em" name="info-circle"></i-bs>-->
|
||||
<!-- @if (appRemoteVersion?.update_available) {-->
|
||||
<!-- <ng-container i18n>Update available</ng-container>-->
|
||||
<!-- }-->
|
||||
<!-- </a>-->
|
||||
<!-- }-->
|
||||
<!-- } @else {-->
|
||||
<!-- <a class="small text-decoration-none" routerLink="/settings" fragment="update-checking"-->
|
||||
<!-- [ngbPopover]="updateCheckingNotEnabledPopContent" popoverClass="shadow" triggers="mouseenter"-->
|
||||
<!-- container="body">-->
|
||||
<!-- <i-bs width="1.2em" height="1.2em" name="info-circle"></i-bs>-->
|
||||
<!-- </a>-->
|
||||
<!-- }-->
|
||||
<!-- </div>-->
|
||||
<!-- }-->
|
||||
<!-- </div>-->
|
||||
<!-- </li>-->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -41,6 +41,12 @@ const LANGUAGE_OPTIONS = [
|
||||
englishName: 'English (US)',
|
||||
dateInputFormat: 'mm/dd/yyyy',
|
||||
},
|
||||
{
|
||||
code: 'vi-vn',
|
||||
name: $localize`Vietnamese`,
|
||||
englishName: 'Vietnamese',
|
||||
dateInputFormat: 'mm/dd/yyyy',
|
||||
},
|
||||
{
|
||||
code: 'af-za',
|
||||
name: $localize`Afrikaans`,
|
||||
|
1
src-ui/src/assets/Artboard 1.svg
Normal file
After Width: | Height: | Size: 88 KiB |
8
src-ui/src/assets/Logo-Onlylogo.svg
Normal file
@ -0,0 +1,8 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M43.8172 41.5434C42.3829 41.8079 41.2312 43.1206 41.5217 44.8225C41.7547 46.1894 43.1012 47.3992 44.7881 47.1056C46.1861 46.8621 47.405 45.5468 47.0884 43.808C46.8375 42.4312 45.5024 41.233 43.8172 41.5434Z" fill="#6E6E71"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M43.7669 41.982C40.5816 42.7777 41.8396 47.3868 44.85 46.666C45.9654 46.399 47.0063 45.2322 46.648 43.7474C46.3881 42.6708 45.2168 41.6197 43.7669 41.982Z" fill="white"/>
|
||||
<path d="M43.0645 45.7051V42.9393H44.2409C44.5363 42.9393 44.7514 42.9642 44.8855 43.0138C45.0198 43.0634 45.1267 43.1519 45.2072 43.2786C45.2877 43.4062 45.3283 43.551 45.3283 43.7143C45.3283 43.9223 45.2679 44.0936 45.1463 44.2288C45.0244 44.364 44.843 44.449 44.6009 44.4845C44.7211 44.5545 44.8203 44.6319 44.8982 44.716C44.9768 44.8005 45.0822 44.9505 45.2149 45.1656L45.5522 45.7051H44.8846L44.4844 45.1013C44.3407 44.887 44.2423 44.7515 44.1887 44.6956C44.136 44.6404 44.0798 44.6015 44.0205 44.5811C43.9607 44.5604 43.8667 44.5502 43.738 44.5502H43.6245V45.7051H43.0645ZM43.6245 44.1097H44.0382C44.3058 44.1097 44.4727 44.0981 44.5396 44.0757C44.6059 44.053 44.6587 44.0139 44.6961 43.9583C44.7341 43.9031 44.7528 43.8336 44.7528 43.7506C44.7528 43.657 44.7276 43.5825 44.678 43.5246C44.6284 43.4671 44.5584 43.4311 44.4682 43.4164C44.4226 43.4098 44.2865 43.4067 44.0606 43.4067H43.6245V44.1097Z" fill="#6E6E71"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M19.9166 5.97219C19.1445 6.12529 17.3428 6.70439 17.2033 6.75879C14.4149 7.84479 12.0227 9.49929 10.0784 11.7801C9.46097 12.5041 8.77496 13.1886 8.52246 14.1575C8.18596 15.4481 9.01487 16.3646 10.2887 15.9941C11.026 15.7792 11.7081 15.3518 12.3906 14.9773C13.6294 14.2964 14.8032 13.4766 16.0896 12.9089C18.1662 11.9913 20.4175 11.7756 22.6322 12.0964C23.7726 12.2617 25.1993 12.6546 25.9034 13.0118C27.1047 13.6223 28.06 14.5045 28.3695 15.9184C28.4078 16.093 28.6371 16.2821 28.8217 16.3615C30.9936 17.2915 32.8154 18.026 32.8154 21.0843C32.8154 21.5871 32.6688 22.3238 32.327 22.9673C32.2771 23.0614 32.1677 23.1612 32.1011 23.079C31.5324 22.38 31.5846 22.2249 30.7135 21.8281C27.5906 20.4054 24.3747 21.2779 21.6732 23.4367C19.6635 25.0428 18.5821 27.2074 18.3902 29.7656C18.1203 33.3699 19.363 36.3451 22.4043 38.3796C25.1791 40.2357 28.2306 40.3865 31.2864 39.2047C35.5332 37.5623 38.4059 34.4519 40.1577 30.3045C41.6688 26.7278 41.9359 22.9976 40.9916 19.2517C39.5791 13.6467 36.179 9.60279 30.9386 7.16019C28.6184 6.07849 26.2214 5.57989 23.7726 5.57989C22.4995 5.57989 21.2138 5.71449 19.9166 5.97219Z" fill="#FF7D24"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M20.576 16.4515C20.5485 16.519 20.5992 16.5927 20.6718 16.5898C22.0874 16.5371 23.4781 16.4847 24.8671 16.4331C25.0136 16.4271 25.0431 16.2228 24.9036 16.1757C24.1009 15.9041 23.3006 15.6221 22.4881 15.3897C22.3019 15.3364 22.1279 15.3097 21.9643 15.3097C21.3441 15.3097 20.885 15.6921 20.576 16.4515Z" fill="#FF7D24"/>
|
||||
<path d="M9.20181 9.24981C11.0333 7.41831 13.1975 5.95481 15.6336 4.90001C18.0603 3.84871 20.6898 3.31551 23.4467 3.31551C24.785 3.31551 26.0631 3.43541 27.2398 3.66981C28.4241 3.90791 29.5526 4.24781 30.5926 4.67871C31.6374 5.11071 32.6888 5.65381 33.7138 6.29331C34.7411 6.93561 35.8078 7.67521 36.8127 8.42891C37.0885 8.70781 37.4522 8.85441 37.8598 8.85441C38.2586 8.85441 38.6291 8.70021 38.9642 8.39691C39.4027 7.99551 39.4954 7.56491 39.4954 7.27411C39.4954 6.86501 39.3171 6.47611 38.9514 6.10651C37.9349 5.13161 36.7976 4.27271 35.5739 3.55331C34.3641 2.84151 33.0743 2.22611 31.7392 1.72271C30.4078 1.22101 29.0171 0.840008 27.6063 0.587708C26.1975 0.337108 24.798 0.210709 23.4467 0.210709C20.2376 0.210709 17.1827 0.828109 14.3614 2.04561C11.5443 3.26111 9.05841 4.93521 6.97321 7.02151C4.88601 9.10781 3.21281 11.5929 1.99811 14.4089C0.77951 17.231 0.162109 20.2876 0.162109 23.4942C0.162109 26.7024 0.77951 29.7582 1.99811 32.5795C3.21281 35.3957 4.88601 37.8817 6.97321 39.968C9.05841 42.054 11.5443 43.7282 14.3614 44.944C17.1827 46.162 20.2376 46.7788 23.4467 46.7788C26.2241 46.7788 29.0015 46.291 31.699 45.3275C34.4148 44.3575 36.8526 42.8633 38.9622 40.8706C39.3171 40.5148 39.4954 40.1256 39.4954 39.716C39.4954 39.3203 39.3366 38.9376 39.037 38.6102C38.6382 38.1694 38.2059 38.0782 37.9151 38.0782C37.5091 38.0782 37.1279 38.2434 36.8637 38.5136C34.8556 40.1577 32.7444 41.4449 30.5906 42.3409C28.4612 43.2247 26.0586 43.6732 23.4467 43.6732C20.6875 43.6732 18.0578 43.1397 15.6336 42.0897C13.1975 41.0358 11.0333 39.5726 9.20181 37.7397C7.36751 35.9045 5.90401 33.7403 4.85261 31.3082C3.80121 28.8811 3.26801 26.2526 3.26801 23.4942C3.26801 20.7381 3.80121 18.1095 4.85261 15.6819C5.90401 13.2503 7.36751 11.0861 9.20181 9.24981Z" fill="#565656"/>
|
||||
</svg>
|
After Width: | Height: | Size: 4.7 KiB |
57
src-ui/src/assets/Logo_Default.svg
Normal file
After Width: | Height: | Size: 104 KiB |
57
src-ui/src/assets/Logo_White.svg
Normal file
After Width: | Height: | Size: 104 KiB |
BIN
src-ui/src/assets/logo_tc.jpg
Normal file
After Width: | Height: | Size: 6.8 KiB |
@ -509,8 +509,8 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.html</context>
|
||||
<context context-type="linenumber">322</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Discard</target>
|
||||
</trans-unit>
|
||||
<target state="needs-translation">Bỏ</target>
|
||||
</trans-unit>e
|
||||
<trans-unit id="3768927257183755959" datatype="html">
|
||||
<source>Save</source>
|
||||
<context-group purpose="location">
|
||||
@ -2141,7 +2141,7 @@
|
||||
<context context-type="sourcefile">src/app/components/manage/workflows/workflows.component.html</context>
|
||||
<context context-type="linenumber">35</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Edit</target>
|
||||
<target state="needs-translation">Sửa</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="9124347207158517893" datatype="html">
|
||||
<source>Add Group</source>
|
||||
@ -2901,7 +2901,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-list/bulk-editor/bulk-editor.component.html</context>
|
||||
<context context-type="linenumber">11</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Page</target>
|
||||
<target state="needs-translation">Trang số</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2266163016683537825" datatype="html">
|
||||
<source>of <x id="INTERPOLATION" equiv-text="{{totalPages}}"/></source>
|
||||
@ -4963,7 +4963,7 @@
|
||||
<context context-type="sourcefile">src/app/components/common/share-links-dropdown/share-links-dropdown.component.html</context>
|
||||
<context context-type="linenumber">9,11</context>
|
||||
</context-group>
|
||||
<target state="needs-translation"> No existing links </target>
|
||||
<target state="needs-translation">Không tồn tại link</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="7419704019640008953" datatype="html">
|
||||
<source>Share</source>
|
||||
@ -5574,7 +5574,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.html</context>
|
||||
<context context-type="linenumber">36</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Download original</target>
|
||||
<target state="needs-translation">Tải bản gốc</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="8312409092917397847" datatype="html">
|
||||
<source>Redo OCR</source>
|
||||
@ -5586,7 +5586,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-list/bulk-editor/bulk-editor.component.html</context>
|
||||
<context context-type="linenumber">92</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Redo OCR</target>
|
||||
<target state="needs-translation">OCR lại</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="1418444397960583910" datatype="html">
|
||||
<source>More like this</source>
|
||||
@ -5598,7 +5598,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-list/document-card-large/document-card-large.component.html</context>
|
||||
<context context-type="linenumber">50</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">More like this</target>
|
||||
<target state="needs-translation">Nhiều hơn</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2434944824726929798" datatype="html">
|
||||
<source>Split</source>
|
||||
@ -5606,7 +5606,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.html</context>
|
||||
<context context-type="linenumber">57</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Split</target>
|
||||
<target state="needs-translation">Cắt</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="1050269006235116171" datatype="html">
|
||||
<source>Rotate</source>
|
||||
@ -5618,7 +5618,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-list/bulk-editor/bulk-editor.component.html</context>
|
||||
<context context-type="linenumber">95</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Rotate</target>
|
||||
<target state="needs-translation">Xoay</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="7819314041543176992" datatype="html">
|
||||
<source>Close</source>
|
||||
@ -5650,7 +5650,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.html</context>
|
||||
<context context-type="linenumber">101</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Details</target>
|
||||
<target state="needs-translation">Chi tiết</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="1379170675585571971" datatype="html">
|
||||
<source>Archive serial number</source>
|
||||
@ -5658,7 +5658,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.html</context>
|
||||
<context context-type="linenumber">105</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Archive serial number</target>
|
||||
<target state="needs-translation">Số </target>
|
||||
</trans-unit>
|
||||
<trans-unit id="5114742157723900905" datatype="html">
|
||||
<source>Date created</source>
|
||||
@ -5666,7 +5666,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.html</context>
|
||||
<context context-type="linenumber">106</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Date created</target>
|
||||
<target state="needs-translation">Ngày tạo</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="5066119607229701477" datatype="html">
|
||||
<source>Document type</source>
|
||||
@ -5690,7 +5690,7 @@
|
||||
<context context-type="sourcefile">src/app/services/rest/document.service.ts</context>
|
||||
<context context-type="linenumber">28</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Document type</target>
|
||||
<target state="needs-translation">Loại tài liệu</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2091353339965748767" datatype="html">
|
||||
<source>Storage path</source>
|
||||
@ -5710,7 +5710,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-list/filter-editor/filter-editor.component.html</context>
|
||||
<context context-type="linenumber">64</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Storage path</target>
|
||||
<target state="needs-translation">Đường dẫn lưu trữ</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="5607669932062416162" datatype="html">
|
||||
<source>Default</source>
|
||||
@ -5718,7 +5718,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.html</context>
|
||||
<context context-type="linenumber">113</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Default</target>
|
||||
<target state="needs-translation">Mặc định</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="6205355627445317276" datatype="html">
|
||||
<source>Content</source>
|
||||
@ -5726,7 +5726,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.html</context>
|
||||
<context context-type="linenumber">197</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Content</target>
|
||||
<target state="needs-translation">Nội dung</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="218403386307979629" datatype="html">
|
||||
<source>Metadata</source>
|
||||
@ -5738,7 +5738,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/metadata-collapse/metadata-collapse.component.ts</context>
|
||||
<context context-type="linenumber">17</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Metadata</target>
|
||||
<target state="needs-translation">Siêu dữ liệu</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="1826652001816486190" datatype="html">
|
||||
<source>Date modified</source>
|
||||
@ -5746,7 +5746,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.html</context>
|
||||
<context context-type="linenumber">213</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Date modified</target>
|
||||
<target state="needs-translation">Ngày chỉnh </target>
|
||||
</trans-unit>
|
||||
<trans-unit id="6392918669949841614" datatype="html">
|
||||
<source>Date added</source>
|
||||
@ -5754,7 +5754,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.html</context>
|
||||
<context context-type="linenumber">217</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Date added</target>
|
||||
<target state="needs-translation">Ngày thêm</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="146828917013192897" datatype="html">
|
||||
<source>Media filename</source>
|
||||
@ -5762,7 +5762,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.html</context>
|
||||
<context context-type="linenumber">221</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Media filename</target>
|
||||
<target state="needs-translation">Tên tệp</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="4500855521601039868" datatype="html">
|
||||
<source>Original filename</source>
|
||||
@ -5770,7 +5770,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.html</context>
|
||||
<context context-type="linenumber">225</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Original filename</target>
|
||||
<target state="needs-translation">Tên tệp gốc</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="7985558498848210210" datatype="html">
|
||||
<source>Original MD5 checksum</source>
|
||||
@ -5778,7 +5778,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.html</context>
|
||||
<context context-type="linenumber">229</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Original MD5 checksum</target>
|
||||
<target state="needs-translation">Mã MD5</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="5888243105821763422" datatype="html">
|
||||
<source>Original file size</source>
|
||||
@ -5786,7 +5786,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.html</context>
|
||||
<context context-type="linenumber">233</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Original file size</target>
|
||||
<target state="needs-translation">Kích thước tệp</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2696647325713149563" datatype="html">
|
||||
<source>Original mime type</source>
|
||||
@ -5794,7 +5794,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.html</context>
|
||||
<context context-type="linenumber">237</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Original mime type</target>
|
||||
<target state="needs-translation">Định dạng</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="342875990758166588" datatype="html">
|
||||
<source>Archive MD5 checksum</source>
|
||||
@ -5802,7 +5802,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.html</context>
|
||||
<context context-type="linenumber">242</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Archive MD5 checksum</target>
|
||||
<target state="needs-translation">Mã MD5 lưu trữ</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="6033581412811562084" datatype="html">
|
||||
<source>Archive file size</source>
|
||||
@ -5810,7 +5810,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.html</context>
|
||||
<context context-type="linenumber">248</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Archive file size</target>
|
||||
<target state="needs-translation">Kích thước tệp lưu trữ</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="6992781481378431874" datatype="html">
|
||||
<source>Original document metadata</source>
|
||||
@ -5850,7 +5850,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.html</context>
|
||||
<context context-type="linenumber">316</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Save & next</target>
|
||||
<target state="needs-translation">Lưu và tiếp tục</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="4910102545766233758" datatype="html">
|
||||
<source>Save & close</source>
|
||||
@ -5858,7 +5858,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-detail/document-detail.component.html</context>
|
||||
<context context-type="linenumber">319</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Save & close</target>
|
||||
<target state="needs-translation">Lưu và đóng</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="8191371354890763172" datatype="html">
|
||||
<source>Enter Password</source>
|
||||
@ -6560,7 +6560,7 @@
|
||||
<context context-type="sourcefile">src/app/pipes/username.pipe.ts</context>
|
||||
<context context-type="linenumber">33</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Shared</target>
|
||||
<target state="needs-translation">Chia sẻ</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2332107018974972998" datatype="html">
|
||||
<source>Score:</source>
|
||||
@ -6632,7 +6632,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-list/document-list.component.html</context>
|
||||
<context context-type="linenumber">30</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Sort</target>
|
||||
<target state="needs-translation">Sắp xếp</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="1233494216161906927" datatype="html">
|
||||
<source>Save "<x id="INTERPOLATION" equiv-text="{{list.activeSavedViewTitle}}"/>"</source>
|
||||
@ -6684,7 +6684,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-list/filter-editor/filter-editor.component.html</context>
|
||||
<context context-type="linenumber">96</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Reset filters</target>
|
||||
<target state="needs-translation">Bỏ lọc</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="1559883523769732271" datatype="html">
|
||||
<source>Error while loading documents</source>
|
||||
@ -6752,7 +6752,7 @@
|
||||
<context context-type="sourcefile">src/app/services/rest/document.service.ts</context>
|
||||
<context context-type="linenumber">33</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Owner</target>
|
||||
<target state="needs-translation">Chủ sở hữu</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="3557446856808034218" datatype="html">
|
||||
<source>Sort by notes</source>
|
||||
@ -6808,7 +6808,7 @@
|
||||
<context context-type="sourcefile">src/app/services/rest/document.service.ts</context>
|
||||
<context context-type="linenumber">30</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Added</target>
|
||||
<target state="needs-translation">Thời gian</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2179847500064178686" datatype="html">
|
||||
<source>Edit document</source>
|
||||
@ -6856,7 +6856,7 @@
|
||||
<context context-type="sourcefile">src/app/components/document-list/filter-editor/filter-editor.component.ts</context>
|
||||
<context context-type="linenumber">127</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Advanced search</target>
|
||||
<target state="needs-translation">Tìm kiếm mở rộng</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="2649431021108393503" datatype="html">
|
||||
<source>More like</source>
|
||||
@ -7436,7 +7436,7 @@
|
||||
<context context-type="sourcefile">src/app/components/manage/management-list/management-list.component.html</context>
|
||||
<context context-type="linenumber">19</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Filter by:</target>
|
||||
<target state="needs-translation">Lọc theo:</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="1383365546483928780" datatype="html">
|
||||
<source>Matching</source>
|
||||
@ -7476,7 +7476,7 @@
|
||||
<context context-type="sourcefile">src/app/components/manage/management-list/management-list.component.html</context>
|
||||
<context context-type="linenumber">39</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">Document count</target>
|
||||
<target state="needs-translation">Số lượng</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="7376880254267897616" datatype="html">
|
||||
<source>Filter Documents</source>
|
||||
@ -7628,7 +7628,7 @@
|
||||
<context context-type="sourcefile">src/app/components/manage/storage-path-list/storage-path-list.component.ts</context>
|
||||
<context context-type="linenumber">36</context>
|
||||
</context-group>
|
||||
<target state="needs-translation">storage path</target>
|
||||
<target state="needs-translation">Đường dẫn lưu trữ</target>
|
||||
</trans-unit>
|
||||
<trans-unit id="22235115124223314" datatype="html">
|
||||
<source>storage paths</source>
|
||||
|
@ -1,18 +1,19 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2897.4 896.6" {{ extra_attrs }}>
|
||||
<path class="leaf" d="M140,713.7c-3.4-16.4-10.3-49.1-11.2-49.1c-145.7-87.1-128.4-238-80.2-324.2C59,449,251.2,524,139.1,656.8 c-0.9,1.7,5.2,22.4,10.3,41.4c22.4-37.9,56-83.6,54.3-87.9C65.9,273.9,496.9,248.1,586.6,39.4c40.5,201.8-20.7,513.9-367.2,593.2 c-1.7,0.9-62.9,108.6-65.5,109.5c0-1.7-25.9-0.9-22.4-9.5C133.1,727.4,136.6,720.6,140,713.7L140,713.7z M135.7,632.6 c44-50.9-7.8-137.9-38.8-166.4C149.5,556.7,146,609.3,135.7,632.6L135.7,632.6z" transform="translate(0)" style="fill:#17541f"/>
|
||||
<g class="text" style="fill:#000">
|
||||
<path d="M1022.3,428.7c-17.8-19.9-42.7-29.8-74.7-29.8c-22.3,0-42.4,5.7-60.5,17.3c-18.1,11.6-32.3,27.5-42.5,47.8 s-15.3,42.9-15.3,67.8c0,24.9,5.1,47.5,15.3,67.8c10.3,20.3,24.4,36.2,42.5,47.8c18.1,11.5,38.3,17.3,60.5,17.3 c32,0,56.9-9.9,74.7-29.8v20.4v0.2h84.5V408.3h-84.5V428.7z M1010.5,575c-10.2,11.7-23.6,17.6-40.2,17.6s-29.9-5.9-40-17.6 s-15.1-26.1-15.1-43.3c0-17.1,5-31.6,15.1-43.3s23.4-17.6,40-17.6c16.6,0,30,5.9,40.2,17.6s15.3,26.1,15.3,43.3 S1020.7,563.3,1010.5,575z" transform="translate(0)"/>
|
||||
<path d="M1381,416.1c-18.1-11.5-38.3-17.3-60.5-17.4c-32,0-56.9,9.9-74.7,29.8v-20.4h-84.5v390.7h84.5v-164 c17.8,19.9,42.7,29.8,74.7,29.8c22.3,0,42.4-5.7,60.5-17.3s32.3-27.5,42.5-47.8c10.2-20.3,15.3-42.9,15.3-67.8s-5.1-47.5-15.3-67.8 C1413.2,443.6,1399.1,427.7,1381,416.1z M1337.9,575c-10.1,11.7-23.4,17.6-40,17.6s-29.9-5.9-40-17.6s-15.1-26.1-15.1-43.3 c0-17.1,5-31.6,15.1-43.3s23.4-17.6,40-17.6s29.9,5.9,40,17.6s15.1,26.1,15.1,43.3S1347.9,563.3,1337.9,575z" transform="translate(0)"/>
|
||||
<path d="M1672.2,416.8c-20.5-12-43-18-67.6-18c-24.9,0-47.6,5.9-68,17.6c-20.4,11.7-36.5,27.7-48.2,48s-17.6,42.7-17.6,67.3 c0.3,25.2,6.2,47.8,17.8,68c11.5,20.2,28,36,49.3,47.6c21.3,11.5,45.9,17.3,73.8,17.3c48.6,0,86.8-14.7,114.7-44l-52.5-48.9 c-8.6,8.3-17.6,14.6-26.7,19c-9.3,4.3-21.1,6.4-35.3,6.4c-11.6,0-22.5-3.6-32.7-10.9c-10.3-7.3-17.1-16.5-20.7-27.8h180l0.4-11.6 c0-29.6-6-55.7-18-78.2S1692.6,428.8,1672.2,416.8z M1558.3,503.2c2.1-12.1,7.5-21.8,16.2-29.1s18.7-10.9,30-10.9 s21.2,3.6,29.8,10.9c8.6,7.2,13.9,16.9,16,29.1H1558.3z" transform="translate(0)"/>
|
||||
<path d="M1895.3,411.7c-11,5.6-20.3,13.7-28,24.4h-0.1v-28h-84.5v247.3h84.5V536.3c0-22.6,4.7-38.1,14.2-46.5 c9.5-8.5,22.7-12.7,39.6-12.7c6.2,0,13.5,1,21.8,3.1l10.7-72c-5.9-3.3-14.5-4.9-25.8-4.9C1917.1,403.3,1906.3,406.1,1895.3,411.7z" transform="translate(0)"/>
|
||||
<rect x="1985" y="277.4" width="84.5" height="377.8" transform="translate(0)"/>
|
||||
<path d="M2313.2,416.8c-20.5-12-43-18-67.6-18c-24.9,0-47.6,5.9-68,17.6s-36.5,27.7-48.2,48c-11.7,20.3-17.6,42.7-17.6,67.3 c0.3,25.2,6.2,47.8,17.8,68c11.5,20.2,28,36,49.3,47.6c21.3,11.5,45.9,17.3,73.8,17.3c48.6,0,86.8-14.7,114.7-44l-52.5-48.9 c-8.6,8.3-17.6,14.6-26.7,19c-9.3,4.3-21.1,6.4-35.3,6.4c-11.6,0-22.5-3.6-32.7-10.9c-10.3-7.3-17.1-16.5-20.7-27.8h180l0.4-11.6 c0-29.6-6-55.7-18-78.2S2333.6,428.8,2313.2,416.8z M2199.3,503.2c2.1-12.1,7.5-21.8,16.2-29.1s18.7-10.9,30-10.9 s21.2,3.6,29.8,10.9c8.6,7.2,13.9,16.9,16,29.1H2199.3z" transform="translate(0)"/>
|
||||
<path d="M2583.6,507.7c-13.8-4.4-30.6-8.1-50.5-11.1c-15.1-2.7-26.1-5.2-32.9-7.6c-6.8-2.4-10.2-6.1-10.2-11.1s2.3-8.7,6.7-10.9 c4.4-2.2,11.5-3.3,21.3-3.3c11.6,0,24.3,2.4,38.1,7.2c13.9,4.8,26.2,11,36.9,18.4l32.4-58.2c-11.3-7.4-26.2-14.7-44.9-21.8 c-18.7-7.1-39.6-10.7-62.7-10.7c-33.7,0-60.2,7.6-79.3,22.7c-19.1,15.1-28.7,36.1-28.7,63.1c0,19,4.8,33.9,14.4,44.7 c9.6,10.8,21,18.5,34,22.9c13.1,4.5,28.9,8.3,47.6,11.6c14.6,2.7,25.1,5.3,31.6,7.8s9.8,6.5,9.8,11.8c0,10.4-9.7,15.6-29.3,15.6 c-13.7,0-28.5-2.3-44.7-6.9c-16.1-4.6-29.2-11.3-39.3-20.2l-33.3,60c9.2,7.4,24.6,14.7,46.2,22c21.7,7.3,45.2,10.9,70.7,10.9 c34.7,0,62.9-7.4,84.5-22.4c21.7-15,32.5-37.3,32.5-66.9c0-19.3-5-34.2-15.1-44.9S2597.4,512.1,2583.6,507.7z" transform="translate(0)"/>
|
||||
<path d="M2883.4,575.3c0-19.3-5-34.2-15.1-44.9s-22-18.3-35.8-22.7c-13.8-4.4-30.6-8.1-50.5-11.1c-15.1-2.7-26.1-5.2-32.9-7.6 c-6.8-2.4-10.2-6.1-10.2-11.1s2.3-8.7,6.7-10.9c4.4-2.2,11.5-3.3,21.3-3.3c11.6,0,24.3,2.4,38.1,7.2c13.9,4.8,26.2,11,36.9,18.4 l32.4-58.2c-11.3-7.4-26.2-14.7-44.9-21.8c-18.7-7.1-39.6-10.7-62.7-10.7c-33.7,0-60.2,7.6-79.3,22.7 c-19.1,15.1-28.7,36.1-28.7,63.1c0,19,4.8,33.9,14.4,44.7c9.6,10.8,21,18.5,34,22.9c13.1,4.5,28.9,8.3,47.6,11.6 c14.6,2.7,25.1,5.3,31.6,7.8s9.8,6.5,9.8,11.8c0,10.4-9.7,15.6-29.3,15.6c-13.7,0-28.5-2.3-44.7-6.9c-16.1-4.6-29.2-11.3-39.3-20.2 l-33.3,60c9.2,7.4,24.6,14.7,46.2,22c21.7,7.3,45.2,10.9,70.7,10.9c34.7,0,62.9-7.4,84.5-22.4 C2872.6,627.2,2883.4,604.9,2883.4,575.3z" transform="translate(0)"/>
|
||||
<rect x="2460.7" y="738.7" width="59.6" height="17.2" transform="translate(0)"/>
|
||||
<path d="M2596.5,706.4c-5.7,0-11,1-15.8,3s-9,5-12.5,8.9v-9.4h-19.4v93.6h19.4v-52c0-8.6,2.1-15.3,6.3-20c4.2-4.7,9.5-7.1,15.9-7.1 c7.8,0,13.4,2.3,16.8,6.7c3.4,4.5,5.1,11.3,5.1,20.5v52h19.4v-56.8c0-12.8-3.2-22.6-9.5-29.3 C2615.8,709.8,2607.3,706.4,2596.5,706.4z" transform="translate(0)"/>
|
||||
<path d="M2733.8,717.7c-3.6-3.4-7.9-6.1-13.1-8.2s-10.6-3.1-16.2-3.1c-8.7,0-16.5,2.1-23.5,6.3s-12.5,10-16.5,17.3 c-4,7.3-6,15.4-6,24.4c0,8.9,2,17.1,6,24.3c4,7.3,9.5,13,16.5,17.2s14.9,6.3,23.5,6.3c5.6,0,11-1,16.2-3.1 c5.1-2.1,9.5-4.8,13.1-8.2v24.4c0,8.5-2.5,14.8-7.6,18.7c-5,3.9-11,5.9-18,5.9c-6.7,0-12.4-1.6-17.3-4.7c-4.8-3.1-7.6-7.7-8.3-13.8 h-19.4c0.6,7.7,2.9,14.2,7.1,19.5s9.6,9.3,16.2,12c6.6,2.7,13.8,4,21.7,4c12.8,0,23.5-3.4,32-10.1c8.6-6.7,12.8-17.1,12.8-31.1 V708.9h-19.2V717.7z M2732.2,770.1c-2.5,4.7-6,8.3-10.4,11.2c-4.4,2.7-9.4,4-14.9,4c-5.7,0-10.8-1.4-15.2-4.3s-7.8-6.7-10.2-11.4 c-2.3-4.8-3.5-9.8-3.5-15.2c0-5.5,1.1-10.6,3.5-15.3s5.8-8.5,10.2-11.3s9.5-4.2,15.2-4.2c5.5,0,10.5,1.4,14.9,4s7.9,6.3,10.4,11 s3.8,10,3.8,15.8S2734.7,765.4,2732.2,770.1z" transform="translate(0)"/>
|
||||
<polygon points="2867.9,708.9 2846.5,708.9 2820.9,741.9 2795.5,708.9 2773.1,708.9 2809.1,755 2771.5,802.5 2792.9,802.5 2820.1,767.9 2847.2,802.6 2869.6,802.6 2832,754.4 " transform="translate(0)"/>
|
||||
<path d="M757.6,293.7c-20-10.8-42.6-16.2-67.8-16.2H600c-8.5,39.2-21.1,76.4-37.6,111.3c-9.9,20.8-21.1,40.6-33.6,59.4v207.2h88.9 V521.5h72c25.2,0,47.8-5.4,67.8-16.2s35.7-25.6,47.1-44.2c11.4-18.7,17.1-39.1,17.1-61.3c0.1-22.7-5.6-43.3-17-61.9 C793.3,319.2,777.6,304.5,757.6,293.7z M716.6,434.3c-9.3,8.9-21.6,13.3-36.7,13.3l-62.2,0.4v-92.5l62.2-0.4 c15.1,0,27.3,4.4,36.7,13.3c9.4,8.9,14,19.9,14,32.9C730.6,414.5,726,425.4,716.6,434.3z" transform="translate(0)"/>
|
||||
</g>
|
||||
</svg>
|
||||
{#<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2897.4 896.6" {{ extra_attrs }}>#}
|
||||
{# <path class="leaf" d="M140,713.7c-3.4-16.4-10.3-49.1-11.2-49.1c-145.7-87.1-128.4-238-80.2-324.2C59,449,251.2,524,139.1,656.8 c-0.9,1.7,5.2,22.4,10.3,41.4c22.4-37.9,56-83.6,54.3-87.9C65.9,273.9,496.9,248.1,586.6,39.4c40.5,201.8-20.7,513.9-367.2,593.2 c-1.7,0.9-62.9,108.6-65.5,109.5c0-1.7-25.9-0.9-22.4-9.5C133.1,727.4,136.6,720.6,140,713.7L140,713.7z M135.7,632.6 c44-50.9-7.8-137.9-38.8-166.4C149.5,556.7,146,609.3,135.7,632.6L135.7,632.6z" transform="translate(0)" style="fill:#17541f"/>#}
|
||||
{# <g class="text" style="fill:#000">#}
|
||||
{# <path d="M1022.3,428.7c-17.8-19.9-42.7-29.8-74.7-29.8c-22.3,0-42.4,5.7-60.5,17.3c-18.1,11.6-32.3,27.5-42.5,47.8 s-15.3,42.9-15.3,67.8c0,24.9,5.1,47.5,15.3,67.8c10.3,20.3,24.4,36.2,42.5,47.8c18.1,11.5,38.3,17.3,60.5,17.3 c32,0,56.9-9.9,74.7-29.8v20.4v0.2h84.5V408.3h-84.5V428.7z M1010.5,575c-10.2,11.7-23.6,17.6-40.2,17.6s-29.9-5.9-40-17.6 s-15.1-26.1-15.1-43.3c0-17.1,5-31.6,15.1-43.3s23.4-17.6,40-17.6c16.6,0,30,5.9,40.2,17.6s15.3,26.1,15.3,43.3 S1020.7,563.3,1010.5,575z" transform="translate(0)"/>#}
|
||||
{# <path d="M1381,416.1c-18.1-11.5-38.3-17.3-60.5-17.4c-32,0-56.9,9.9-74.7,29.8v-20.4h-84.5v390.7h84.5v-164 c17.8,19.9,42.7,29.8,74.7,29.8c22.3,0,42.4-5.7,60.5-17.3s32.3-27.5,42.5-47.8c10.2-20.3,15.3-42.9,15.3-67.8s-5.1-47.5-15.3-67.8 C1413.2,443.6,1399.1,427.7,1381,416.1z M1337.9,575c-10.1,11.7-23.4,17.6-40,17.6s-29.9-5.9-40-17.6s-15.1-26.1-15.1-43.3 c0-17.1,5-31.6,15.1-43.3s23.4-17.6,40-17.6s29.9,5.9,40,17.6s15.1,26.1,15.1,43.3S1347.9,563.3,1337.9,575z" transform="translate(0)"/>#}
|
||||
{# <path d="M1672.2,416.8c-20.5-12-43-18-67.6-18c-24.9,0-47.6,5.9-68,17.6c-20.4,11.7-36.5,27.7-48.2,48s-17.6,42.7-17.6,67.3 c0.3,25.2,6.2,47.8,17.8,68c11.5,20.2,28,36,49.3,47.6c21.3,11.5,45.9,17.3,73.8,17.3c48.6,0,86.8-14.7,114.7-44l-52.5-48.9 c-8.6,8.3-17.6,14.6-26.7,19c-9.3,4.3-21.1,6.4-35.3,6.4c-11.6,0-22.5-3.6-32.7-10.9c-10.3-7.3-17.1-16.5-20.7-27.8h180l0.4-11.6 c0-29.6-6-55.7-18-78.2S1692.6,428.8,1672.2,416.8z M1558.3,503.2c2.1-12.1,7.5-21.8,16.2-29.1s18.7-10.9,30-10.9 s21.2,3.6,29.8,10.9c8.6,7.2,13.9,16.9,16,29.1H1558.3z" transform="translate(0)"/>#}
|
||||
{# <path d="M1895.3,411.7c-11,5.6-20.3,13.7-28,24.4h-0.1v-28h-84.5v247.3h84.5V536.3c0-22.6,4.7-38.1,14.2-46.5 c9.5-8.5,22.7-12.7,39.6-12.7c6.2,0,13.5,1,21.8,3.1l10.7-72c-5.9-3.3-14.5-4.9-25.8-4.9C1917.1,403.3,1906.3,406.1,1895.3,411.7z" transform="translate(0)"/>#}
|
||||
{# <rect x="1985" y="277.4" width="84.5" height="377.8" transform="translate(0)"/>#}
|
||||
{# <path d="M2313.2,416.8c-20.5-12-43-18-67.6-18c-24.9,0-47.6,5.9-68,17.6s-36.5,27.7-48.2,48c-11.7,20.3-17.6,42.7-17.6,67.3 c0.3,25.2,6.2,47.8,17.8,68c11.5,20.2,28,36,49.3,47.6c21.3,11.5,45.9,17.3,73.8,17.3c48.6,0,86.8-14.7,114.7-44l-52.5-48.9 c-8.6,8.3-17.6,14.6-26.7,19c-9.3,4.3-21.1,6.4-35.3,6.4c-11.6,0-22.5-3.6-32.7-10.9c-10.3-7.3-17.1-16.5-20.7-27.8h180l0.4-11.6 c0-29.6-6-55.7-18-78.2S2333.6,428.8,2313.2,416.8z M2199.3,503.2c2.1-12.1,7.5-21.8,16.2-29.1s18.7-10.9,30-10.9 s21.2,3.6,29.8,10.9c8.6,7.2,13.9,16.9,16,29.1H2199.3z" transform="translate(0)"/>#}
|
||||
{# <path d="M2583.6,507.7c-13.8-4.4-30.6-8.1-50.5-11.1c-15.1-2.7-26.1-5.2-32.9-7.6c-6.8-2.4-10.2-6.1-10.2-11.1s2.3-8.7,6.7-10.9 c4.4-2.2,11.5-3.3,21.3-3.3c11.6,0,24.3,2.4,38.1,7.2c13.9,4.8,26.2,11,36.9,18.4l32.4-58.2c-11.3-7.4-26.2-14.7-44.9-21.8 c-18.7-7.1-39.6-10.7-62.7-10.7c-33.7,0-60.2,7.6-79.3,22.7c-19.1,15.1-28.7,36.1-28.7,63.1c0,19,4.8,33.9,14.4,44.7 c9.6,10.8,21,18.5,34,22.9c13.1,4.5,28.9,8.3,47.6,11.6c14.6,2.7,25.1,5.3,31.6,7.8s9.8,6.5,9.8,11.8c0,10.4-9.7,15.6-29.3,15.6 c-13.7,0-28.5-2.3-44.7-6.9c-16.1-4.6-29.2-11.3-39.3-20.2l-33.3,60c9.2,7.4,24.6,14.7,46.2,22c21.7,7.3,45.2,10.9,70.7,10.9 c34.7,0,62.9-7.4,84.5-22.4c21.7-15,32.5-37.3,32.5-66.9c0-19.3-5-34.2-15.1-44.9S2597.4,512.1,2583.6,507.7z" transform="translate(0)"/>#}
|
||||
{# <path d="M2883.4,575.3c0-19.3-5-34.2-15.1-44.9s-22-18.3-35.8-22.7c-13.8-4.4-30.6-8.1-50.5-11.1c-15.1-2.7-26.1-5.2-32.9-7.6 c-6.8-2.4-10.2-6.1-10.2-11.1s2.3-8.7,6.7-10.9c4.4-2.2,11.5-3.3,21.3-3.3c11.6,0,24.3,2.4,38.1,7.2c13.9,4.8,26.2,11,36.9,18.4 l32.4-58.2c-11.3-7.4-26.2-14.7-44.9-21.8c-18.7-7.1-39.6-10.7-62.7-10.7c-33.7,0-60.2,7.6-79.3,22.7 c-19.1,15.1-28.7,36.1-28.7,63.1c0,19,4.8,33.9,14.4,44.7c9.6,10.8,21,18.5,34,22.9c13.1,4.5,28.9,8.3,47.6,11.6 c14.6,2.7,25.1,5.3,31.6,7.8s9.8,6.5,9.8,11.8c0,10.4-9.7,15.6-29.3,15.6c-13.7,0-28.5-2.3-44.7-6.9c-16.1-4.6-29.2-11.3-39.3-20.2 l-33.3,60c9.2,7.4,24.6,14.7,46.2,22c21.7,7.3,45.2,10.9,70.7,10.9c34.7,0,62.9-7.4,84.5-22.4 C2872.6,627.2,2883.4,604.9,2883.4,575.3z" transform="translate(0)"/>#}
|
||||
{# <rect x="2460.7" y="738.7" width="59.6" height="17.2" transform="translate(0)"/>#}
|
||||
{# <path d="M2596.5,706.4c-5.7,0-11,1-15.8,3s-9,5-12.5,8.9v-9.4h-19.4v93.6h19.4v-52c0-8.6,2.1-15.3,6.3-20c4.2-4.7,9.5-7.1,15.9-7.1 c7.8,0,13.4,2.3,16.8,6.7c3.4,4.5,5.1,11.3,5.1,20.5v52h19.4v-56.8c0-12.8-3.2-22.6-9.5-29.3 C2615.8,709.8,2607.3,706.4,2596.5,706.4z" transform="translate(0)"/>#}
|
||||
{# <path d="M2733.8,717.7c-3.6-3.4-7.9-6.1-13.1-8.2s-10.6-3.1-16.2-3.1c-8.7,0-16.5,2.1-23.5,6.3s-12.5,10-16.5,17.3 c-4,7.3-6,15.4-6,24.4c0,8.9,2,17.1,6,24.3c4,7.3,9.5,13,16.5,17.2s14.9,6.3,23.5,6.3c5.6,0,11-1,16.2-3.1 c5.1-2.1,9.5-4.8,13.1-8.2v24.4c0,8.5-2.5,14.8-7.6,18.7c-5,3.9-11,5.9-18,5.9c-6.7,0-12.4-1.6-17.3-4.7c-4.8-3.1-7.6-7.7-8.3-13.8 h-19.4c0.6,7.7,2.9,14.2,7.1,19.5s9.6,9.3,16.2,12c6.6,2.7,13.8,4,21.7,4c12.8,0,23.5-3.4,32-10.1c8.6-6.7,12.8-17.1,12.8-31.1 V708.9h-19.2V717.7z M2732.2,770.1c-2.5,4.7-6,8.3-10.4,11.2c-4.4,2.7-9.4,4-14.9,4c-5.7,0-10.8-1.4-15.2-4.3s-7.8-6.7-10.2-11.4 c-2.3-4.8-3.5-9.8-3.5-15.2c0-5.5,1.1-10.6,3.5-15.3s5.8-8.5,10.2-11.3s9.5-4.2,15.2-4.2c5.5,0,10.5,1.4,14.9,4s7.9,6.3,10.4,11 s3.8,10,3.8,15.8S2734.7,765.4,2732.2,770.1z" transform="translate(0)"/>#}
|
||||
{# <polygon points="2867.9,708.9 2846.5,708.9 2820.9,741.9 2795.5,708.9 2773.1,708.9 2809.1,755 2771.5,802.5 2792.9,802.5 2820.1,767.9 2847.2,802.6 2869.6,802.6 2832,754.4 " transform="translate(0)"/>#}
|
||||
{# <path d="M757.6,293.7c-20-10.8-42.6-16.2-67.8-16.2H600c-8.5,39.2-21.1,76.4-37.6,111.3c-9.9,20.8-21.1,40.6-33.6,59.4v207.2h88.9 V521.5h72c25.2,0,47.8-5.4,67.8-16.2s35.7-25.6,47.1-44.2c11.4-18.7,17.1-39.1,17.1-61.3c0.1-22.7-5.6-43.3-17-61.9 C793.3,319.2,777.6,304.5,757.6,293.7z M716.6,434.3c-9.3,8.9-21.6,13.3-36.7,13.3l-62.2,0.4v-92.5l62.2-0.4 c15.1,0,27.3,4.4,36.7,13.3c9.4,8.9,14,19.9,14,32.9C730.6,414.5,726,425.4,716.6,434.3z" transform="translate(0)"/>#}
|
||||
{# </g>#}
|
||||
{#</svg>#}
|
||||
<img src='/static/frontend/en-US/assets/Artboard%201.svg'>
|
||||
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.4 KiB |
@ -17,6 +17,7 @@ from celery.schedules import crontab
|
||||
from concurrent_log_handler.queue import setup_logging_queues
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from dotenv import load_dotenv
|
||||
from decouple import config
|
||||
|
||||
# Tap paperless.conf if it's available
|
||||
configuration_path = os.getenv("PAPERLESS_CONFIGURATION_PATH")
|
||||
@ -236,8 +237,7 @@ def _parse_beat_schedule() -> dict:
|
||||
|
||||
|
||||
# NEVER RUN WITH DEBUG IN PRODUCTION.
|
||||
DEBUG = __get_boolean("PAPERLESS_DEBUG", "NO")
|
||||
|
||||
DEBUG = config("PAPERLESS_DEBUG", default=True, cast=bool)
|
||||
|
||||
###############################################################################
|
||||
# Directories #
|
||||
@ -384,7 +384,7 @@ STORAGES = {
|
||||
}
|
||||
|
||||
_CELERY_REDIS_URL, _CHANNELS_REDIS_URL = _parse_redis_url(
|
||||
os.getenv("PAPERLESS_REDIS", None),
|
||||
os.getenv("PAPERLESS_REDIS", 'redis://:@123bytech@172.16.100.203:9377'),
|
||||
)
|
||||
|
||||
TEMPLATES = [
|
||||
@ -695,6 +695,7 @@ LANGUAGES = [
|
||||
("tr-tr", _("Turkish")),
|
||||
("uk-ua", _("Ukrainian")),
|
||||
("zh-cn", _("Chinese Simplified")),
|
||||
("vi-vn", _("Vietnamese")),
|
||||
]
|
||||
|
||||
LOCALE_PATHS = [os.path.join(BASE_DIR, "locale")]
|
||||
@ -845,7 +846,7 @@ THREADS_PER_WORKER = os.getenv(
|
||||
# Paperless Specific Settings #
|
||||
###############################################################################
|
||||
|
||||
CONSUMER_POLLING = int(os.getenv("PAPERLESS_CONSUMER_POLLING", 0))
|
||||
CONSUMER_POLLING = int(os.getenv("PAPERLESS_CONSUMER_POLLING", 1))
|
||||
|
||||
CONSUMER_POLLING_DELAY = int(os.getenv("PAPERLESS_CONSUMER_POLLING_DELAY", 5))
|
||||
|
||||
@ -938,7 +939,7 @@ OCR_PAGES = __get_optional_int("PAPERLESS_OCR_PAGES")
|
||||
|
||||
# The default language that tesseract will attempt to use when parsing
|
||||
# documents. It should be a 3-letter language code consistent with ISO 639.
|
||||
OCR_LANGUAGE = os.getenv("PAPERLESS_OCR_LANGUAGE", "eng")
|
||||
OCR_LANGUAGE = os.getenv("PAPERLESS_OCR_LANGUAGE", "vie")
|
||||
|
||||
# OCRmyPDF --output-type options are available.
|
||||
OCR_OUTPUT_TYPE = os.getenv("PAPERLESS_OCR_OUTPUT_TYPE", "pdfa")
|
||||
|