]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix: remove unnecessary i18ns
authorshamoon <4887959+shamoon@users.noreply.github.com>
Wed, 29 May 2024 07:07:32 +0000 (00:07 -0700)
committershamoon <4887959+shamoon@users.noreply.github.com>
Wed, 29 May 2024 07:07:32 +0000 (00:07 -0700)
src-ui/messages.xlf
src-ui/src/app/components/common/custom-field-display/custom-field-display.component.html
src-ui/src/app/components/common/input/drag-drop-select/drag-drop-select.component.html
src-ui/src/app/components/common/input/tags/tags.component.html
src-ui/src/app/components/common/permissions-select/permissions-select.component.html
src-ui/src/app/components/document-history/document-history.component.html
src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html

index edec5cef087eb3ce7a598ac0feeb5d9824c8dd50..f9d0c591a3b51833e5a8f90f8e0f42fca1d082fb 100644 (file)
           <context context-type="linenumber">62</context>
         </context-group>
       </trans-unit>
-      <trans-unit id="187187500641108332" datatype="html">
-        <source><x id="INTERPOLATION" equiv-text="{{field.name}}"/></source>
-        <context-group purpose="location">
-          <context context-type="sourcefile">src/app/components/common/custom-field-display/custom-field-display.component.html</context>
-          <context context-type="linenumber">32</context>
-        </context-group>
-        <context-group purpose="location">
-          <context context-type="sourcefile">src/app/components/common/input/drag-drop-select/drag-drop-select.component.html</context>
-          <context context-type="linenumber">12</context>
-        </context-group>
-        <context-group purpose="location">
-          <context context-type="sourcefile">src/app/components/common/input/tags/tags.component.html</context>
-          <context context-type="linenumber">4</context>
-        </context-group>
-        <context-group purpose="location">
-          <context context-type="sourcefile">src/app/components/common/permissions-select/permissions-select.component.html</context>
-          <context context-type="linenumber">22</context>
-        </context-group>
-        <context-group purpose="location">
-          <context context-type="sourcefile">src/app/components/document-history/document-history.component.html</context>
-          <context context-type="linenumber">35</context>
-        </context-group>
-      </trans-unit>
       <trans-unit id="9195188695728229921" datatype="html">
         <source>Search fields</source>
         <context-group purpose="location">
           <context context-type="linenumber">74</context>
         </context-group>
       </trans-unit>
-      <trans-unit id="8778002102373462277" datatype="html">
-        <source><x id="INTERPOLATION" equiv-text="ocument.notes.length}}"/> Notes</source>
-        <context-group purpose="location">
-          <context context-type="sourcefile">src/app/components/document-list/document-card-large/document-card-large.component.html</context>
-          <context context-type="linenumber">75</context>
-        </context-group>
-      </trans-unit>
       <trans-unit id="3727324658595204357" datatype="html">
         <source>Created: <x id="INTERPOLATION" equiv-text="{{ document.created_date | customDate }}"/></source>
         <context-group purpose="location">
index 3af2ccd291793244bf416b9d967367c574b8e84f..07347f8e0ce74848f1cde4d5b94c10aee6e14a70 100644 (file)
@@ -29,6 +29,6 @@
             }
         }
     } @else if (showNameIfEmpty) {
-        <span class="fst-italic text-muted" i18n>{{field.name}}</span>
+        <span class="fst-italic text-muted">{{field.name}}</span>
     }
 }
index fe549382a7f96536036c84a0e5b1750340d6dfc8..bd7359e2373d126f1ba72f38ab2feb2e7ceacbf0 100644 (file)
@@ -9,7 +9,7 @@
             <div class="badge bg-primary" cdkDrag>{{item.name}}</div>
         }
         @if (selectedItems.length === 0) {
-            <div class="badge bg-light text-secondary fst-italic" i18n>{{emptyText}}</div>
+            <div class="badge bg-light text-secondary fst-italic">{{emptyText}}</div>
         }
     </div>
 </div>
index 8384840a3993a1dcc08046dfec22a5151f74d4f1..8184bbbfa8f63d673a1284191c28c74f7ecd9403 100644 (file)
@@ -1,7 +1,7 @@
 <div class="mb-3 paperless-input-select paperless-input-tags" [class.disabled]="disabled" [class.pb-3]="getSuggestions().length > 0">
   <div class="row">
     <div class="d-flex align-items-center" [class.col-md-3]="horizontal">
-      <label class="form-label" [class.mb-md-0]="horizontal" for="tags" i18n>{{title}}</label>
+      <label class="form-label" [class.mb-md-0]="horizontal" for="tags">{{title}}</label>
     </div>
     <div class="position-relative" [class.col-md-9]="horizontal">
       <div class="input-group flex-nowrap">
index 049d0e7769e9cbf5d313b9d573f18a5a8fbefc14..0a0bea5c0edc221fa385fab43a5b9b0e71a2bcfb 100644 (file)
@@ -19,7 +19,7 @@
         @for (action of PermissionAction | keyvalue; track action) {
           <div class="col form-check form-check-inline" [ngbPopover]="inheritedWarning" [disablePopover]="!isInherited(type, action.key)" placement="left" triggers="mouseenter:mouseleave">
             <input type="checkbox" class="form-check-input" id="{{type}}_{{action.key}}" formControlName="{{action.key}}">
-            <label class="form-check-label visually-hidden" for="{{type}}_{{action.key}}" i18n>{{action.key}}</label>
+            <label class="form-check-label visually-hidden" for="{{type}}_{{action.key}}">{{action.key}}</label>
           </div>
         }
       </li>
index 8ada7880d80b5cbcdfba000e905899a8a5b59fe9..ea4a3c9bb2a862c6804964ea7b57abbc75381cf2 100644 (file)
@@ -32,7 +32,7 @@
                             @for (change of entry.changes | keyvalue; track change.key) {
                                 @if (change.value["type"] === 'm2m') {
                                     <li>
-                                        <span class="fst-italic" i18n>{{ change.value["operation"] | titlecase }}</span>&nbsp;
+                                        <span class="fst-italic">{{ change.value["operation"] | titlecase }}</span>&nbsp;
                                         <span>{{ change.key | titlecase }}</span>:&nbsp;
                                         <code class="text-primary">{{ change.value["objects"].join(', ') }}</code>
                                     </li>
index 51f51a517a3d3a0a6d287748a9900d7bad333575..7e406a7c75ac5b1406c618fb2c5621e0e4f00138 100644 (file)
@@ -72,7 +72,7 @@
             <div class="list-group list-group-horizontal border-0 card-info ms-md-auto mt-2 mt-md-0">
               @if (displayFields.includes(DisplayField.NOTES) && notesEnabled && document.notes.length) {
                 <button routerLink="/documents/{{document.id}}/notes" class="list-group-item btn btn-sm bg-light text-dark p-1 border-0 me-2 d-flex align-items-center" title="View notes" i18n-title>
-                  <i-bs width=".9em" height=".9em" class="me-2 text-muted" name="chat-left-text"></i-bs><small i18n>{{document.notes.length}} Notes</small>
+                  <i-bs width=".9em" height=".9em" class="me-2 text-muted" name="chat-left-text"></i-bs><small>{{document.notes.length}} Notes</small>
                 </button>
               }
               @if (displayFields.includes(DisplayField.DOCUMENT_TYPE) && document.document_type) {