From 945c68e169d775d45f0fde1150649ed9797ea154 Mon Sep 17 00:00:00 2001 From: Jose Riha Date: Sat, 27 Jul 2024 23:23:03 +0200 Subject: [PATCH] Fix a few typos. --- README.md | 2 +- src/frontend/translate/messages.id.xlf | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 57126f802..7ef00f3da 100644 --- a/README.md +++ b/README.md @@ -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 `` tags 4. test if it works: diff --git a/src/frontend/translate/messages.id.xlf b/src/frontend/translate/messages.id.xlf index 9811d0565..c171f59d4 100644 --- a/src/frontend/translate/messages.id.xlf +++ b/src/frontend/translate/messages.id.xlf @@ -839,12 +839,12 @@ Video transcoding - 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. + 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. src/common/config/private/PrivateConfig.ts 810 - 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. + 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. On the fly converting @@ -1931,12 +1931,12 @@ Perataan direktori - 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.) + 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.) src/common/config/public/ClientConfig.ts 821 - 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.) + 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.) Default grid size @@ -2311,7 +2311,7 @@ Inline blog starts open - Makes inline blog (*.md files content) to be auto open. + Makes inline blog (*.md files content) auto-open. src/common/config/public/ClientConfig.ts 1102 @@ -2320,7 +2320,7 @@ src/common/config/public/ClientConfig.ts 1112 - Makes inline blog (*.md files content) to be auto open. + Makes inline blog (*.md files content) auto-open. Top blog starts open @@ -2603,12 +2603,12 @@ Api path - Injects the content of this between the <head></head> HTML tags of the app. (You can use it add analytics or custom code to the app). + Injects the content of this between the <head></head> HTML tags of the app. (You can use it to add analytics or custom code to the app). src/common/config/public/ClientConfig.ts 1373 - Injects the content of this between the <head></head> HTML tags of the app. (You can use it add analytics or custom code to the app). + Injects the content of this between the <head></head> HTML tags of the app. (You can use it to add analytics or custom code to the app). Custom HTML Head @@ -5741,4 +5741,4 @@ - \ No newline at end of file +