Skip to content

Commit

Permalink
Fix a few typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
jose1711 committed Aug 7, 2024
1 parent 503644b commit 372a03e
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ apt-get install build-essential libkrb5-dev gcc g++
## 2. Translate the page to your own language
1. [Install Pigallery2](#121-b-install-from-source) from source (with the release it won't work)
2. add your language e.g: fr
* copy `src/frontend/translate/messages.en.xls` to `src/frontend/translate/messages.fr.xls`
* copy `src/frontend/translate/messages.en.xlf` to `src/frontend/translate/messages.fr.xlf`
* add the new translation to the `angular.json` `projects->pigallery2->i18n->locales` section
3. translate the file by updating the `<target>` tags
4. test if it works:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h5 class="modal-title" i18n>Do you want to run {{ backendTextService.getJobName
</button>
</div>
<div class="modal-body">
<span i18n>Are you sue you want to run this job? This will have the following effect:</span>
<span i18n>Are you sure you want to run this job? This will have the following effect:</span>
<div class="alert alert-secondary" role="alert">
{{ backendTextService.getJobDescription(jobName) }}
</div>
Expand Down
32 changes: 16 additions & 16 deletions src/frontend/translate/messages.en.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -659,12 +659,12 @@
<target>Server timing</target>
</trans-unit>
<trans-unit id="7410385593985151245" datatype="html">
<source>If enabled, the app ads "Server-Timing" http header to the response.</source>
<source>If enabled, the app adds "Server-Timing" http header to the response.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">519</context>
</context-group>
<target>If enabled, the app ads "Server-Timing" http header to the response.</target>
<target>If enabled, the app adds "Server-Timing" http header to the response.</target>
</trans-unit>
<trans-unit id="6011589038643567137" datatype="html">
<source>Max saved progress</source>
Expand All @@ -691,12 +691,12 @@
<target>Processing batch size</target>
</trans-unit>
<trans-unit id="4763786307361733917" datatype="html">
<source>Jobs load this many photos or videos form the DB for processing at once.</source>
<source>Jobs load this many photos or videos from the DB for processing at once.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">632</context>
</context-group>
<target>Jobs load this many photos or videos form the DB for processing at once.</target>
<target>Jobs load this many photos or videos from the DB for processing at once.</target>
</trans-unit>
<trans-unit id="547146152434765833" datatype="html">
<source>Scheduled jobs</source>
Expand Down Expand Up @@ -1231,12 +1231,12 @@
<target>Maximum items</target>
</trans-unit>
<trans-unit id="9059384159901338400" datatype="html">
<source>Maximum number autocomplete items shown at once. If there is not enough items to reach this value, it takes upto double of the individual items.</source>
<source>Maximum number autocomplete items shown at once. If there is not enough items to reach this value, it takes up to double of the individual items.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">75</context>
</context-group>
<target>Maximum number autocomplete items shown at once. If there is not enough items to reach this value, it takes upto double of the individual items.</target>
<target>Maximum number autocomplete items shown at once. If there is not enough items to reach this value, it takes up to double of the individual items.</target>
</trans-unit>
<trans-unit id="1975560396569090938" datatype="html">
<source>Max photo items</source>
Expand Down Expand Up @@ -1548,7 +1548,7 @@
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">279</context>
</context-group>
<target>Enables password protected sharing links.</target>
<target>Requires password protected sharing links.</target>
</trans-unit>
<trans-unit id="700572637665748593" datatype="html">
<source>Enables random link generation.</source>
Expand Down Expand Up @@ -2415,12 +2415,12 @@
<target>Supported formats with transcoding</target>
</trans-unit>
<trans-unit id="4322859338400777784" datatype="html">
<source>Video formats that are supported after transcoding (with the build-in ffmpeg support).</source>
<source>Video formats that are supported after transcoding (with the built-in ffmpeg support).</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1135</context>
</context-group>
<target>Video formats that are supported after transcoding (with the build-in ffmpeg support).</target>
<target>Video formats that are supported after transcoding (with the built-in ffmpeg support).</target>
</trans-unit>
<trans-unit id="2099861843042326383" datatype="html">
<source>Supported formats without transcoding</source>
Expand Down Expand Up @@ -2638,28 +2638,28 @@
</context-group>
<target>Page title</target>
<trans-unit id="7902904914951669015" datatype="html">
<source>If you access the page from local network its good to know the public url for creating sharing link.</source>
<source>If you access the page from local network it's good to know the public url for creating sharing link.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1338</context>
</context-group>
<target>If you access the page from local network its good to know the public url for creating sharing link.</target>
<target>If you access the page from local network it's good to know the public url for creating sharing link.</target>
</trans-unit> <trans-unit id="7902904914951669015" datatype="html">
<source>If you access the page from local network its good to know the public url for creating sharing link.</source>
<source>If you access the page from local network it's good to know the public url for creating sharing link.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1338</context>
</context-group>
<target>If you access the page from local network its good to know the public url for creating sharing link.</target>
<target>If you access the page from local network it's good to know the public url for creating sharing link.</target>
</trans-unit>
</trans-unit>
<trans-unit id="176222620393429790" datatype="html">
<source>If you access the page form local network its good to know the public url for creating sharing link.</source>
<source>If you access the page from local network it's good to know the public url for creating sharing link.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1338</context>
</context-group>
<target>If you access the page form local network its good to know the public url for creating sharing link.</target>
<target>If you access the page from local network it's good to know the public url for creating sharing link.</target>
</trans-unit>
<trans-unit id="5093650417970469070" datatype="html">
<source>Page public url</source>
Expand Down Expand Up @@ -5888,4 +5888,4 @@
</trans-unit>
</body>
</file>
</xliff>
</xliff>
18 changes: 9 additions & 9 deletions src/frontend/translate/messages.id.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -839,12 +839,12 @@
<target>Video transcoding</target>
</trans-unit>
<trans-unit id="440637971406706761" datatype="html">
<source>To ensure smooth video playback, video transcoding is recommended to a lower bit rate than the server's upload rate. The transcoded videos will be save to the thumbnail folder. You can trigger the transcoding manually, but you can also create an automatic encoding job in advanced settings mode.</source>
<source>To ensure smooth video playback, video transcoding is recommended to a lower bit rate than the server's upload rate. The transcoded videos will be saved to the thumbnail folder. You can trigger the transcoding manually, but you can also create an automatic encoding job in advanced settings mode.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/private/PrivateConfig.ts</context>
<context context-type="linenumber">810</context>
</context-group>
<target>To ensure smooth video playback, video transcoding is recommended to a lower bit rate than the server's upload rate. The transcoded videos will be save to the thumbnail folder. You can trigger the transcoding manually, but you can also create an automatic encoding job in advanced settings mode.</target>
<target>To ensure smooth video playback, video transcoding is recommended to a lower bit rate than the server's upload rate. The transcoded videos will be saved to the thumbnail folder. You can trigger the transcoding manually, but you can also create an automatic encoding job in advanced settings mode.</target>
</trans-unit>
<trans-unit id="4328921999658902771" datatype="html">
<source>On the fly converting</source>
Expand Down Expand Up @@ -1931,12 +1931,12 @@
<target>Perataan direktori</target>
</trans-unit>
<trans-unit id="705617377096083016" datatype="html">
<source>Adds a button to flattens the file structure, by listing the content of all subdirectories. (Won't work if the gallery has multiple folders with the same path.)</source>
<source>Adds a button to flatten the file structure, by listing the content of all subdirectories. (Won't work if the gallery has multiple folders with the same path.)</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">821</context>
</context-group>
<target>Adds a button to flattens the file structure, by listing the content of all subdirectories. (Won't work if the gallery has multiple folders with the same path.)</target>
<target>Adds a button to flatten the file structure, by listing the content of all subdirectories. (Won't work if the gallery has multiple folders with the same path.)</target>
</trans-unit>
<trans-unit id="2057017984457052518" datatype="html">
<source>Default grid size</source>
Expand Down Expand Up @@ -2311,7 +2311,7 @@
<target>Inline blog starts open</target>
</trans-unit>
<trans-unit id="237163013641208057" datatype="html">
<source>Makes inline blog (*.md files content) to be auto open.</source>
<source>Makes inline blog (*.md files content) auto-open.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1102</context>
Expand All @@ -2320,7 +2320,7 @@
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1112</context>
</context-group>
<target>Makes inline blog (*.md files content) to be auto open.</target>
<target>Makes inline blog (*.md files content) auto-open.</target>
</trans-unit>
<trans-unit id="8496975322830640739" datatype="html">
<source>Top blog starts open</source>
Expand Down Expand Up @@ -2603,12 +2603,12 @@
<target>Api path</target>
</trans-unit>
<trans-unit id="2663968068169291107" datatype="html">
<source>Injects the content of this between the &lt;head&gt;&lt;/head&gt; HTML tags of the app. (You can use it add analytics or custom code to the app).</source>
<source>Injects the content of this between the &lt;head&gt;&lt;/head&gt; HTML tags of the app. (You can use it to add analytics or custom code to the app).</source>
<context-group purpose="location">
<context context-type="sourcefile">src/common/config/public/ClientConfig.ts</context>
<context context-type="linenumber">1373</context>
</context-group>
<target>Injects the content of this between the &lt;head&gt;&lt;/head&gt; HTML tags of the app. (You can use it add analytics or custom code to the app).</target>
<target>Injects the content of this between the &lt;head&gt;&lt;/head&gt; HTML tags of the app. (You can use it to add analytics or custom code to the app).</target>
</trans-unit>
<trans-unit id="6764366823411649793" datatype="html">
<source>Custom HTML Head</source>
Expand Down Expand Up @@ -5741,4 +5741,4 @@
</trans-unit>
</body>
</file>
</xliff>
</xliff>

0 comments on commit 372a03e

Please sign in to comment.