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 Jul 31, 2024
1 parent 503644b commit 35430f0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 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
6 changes: 3 additions & 3 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 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 35430f0

Please sign in to comment.