1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00

removing support for GM image library

This commit is contained in:
Patrik J. Braun 2020-09-05 20:57:53 +02:00
parent d34c070566
commit f67dc7d58f
10 changed files with 49 additions and 201 deletions

View File

@ -78,7 +78,6 @@
"@types/express": "4.17.2",
"@types/express-jwt": "0.0.42",
"@types/fluent-ffmpeg": "2.1.11",
"@types/gm": "1.18.6",
"@types/gulp": "4.0.6",
"@types/gulp-zip": "4.0.1",
"@types/image-size": "0.8.0",
@ -146,7 +145,6 @@
"@ffmpeg-installer/ffmpeg": "1.0.20",
"@ffprobe-installer/ffprobe": "1.0.12",
"bcrypt": "3.0.7",
"gm": "1.23.1",
"mysql": "2.17.1",
"sharp": "0.23.4"
},

View File

@ -1,7 +1,6 @@
import {Config} from '../../../common/config/private/Config';
import {Logger} from '../../Logger';
import {NotificationManager} from '../NotifocationManager';
import {ProjectPath} from '../../ProjectPath';
import {SQLConnection} from '../database/sql/SQLConnection';
import * as fs from 'fs';
import {FFmpegFactory} from '../FFmpegFactory';
@ -86,26 +85,11 @@ export class ConfigDiagnostics {
sharp();
}
static async testGM() {
const gm = require('gm');
await new Promise((resolve, reject) => {
gm(ProjectPath.FrontendFolder + '/assets/icon.png').size((err: Error) => {
if (err) {
return reject(err.toString());
}
return resolve();
});
});
}
static async testThumbnailLib(processingLibrary: ServerConfig.PhotoProcessingLib) {
switch (processingLibrary) {
case ServerConfig.PhotoProcessingLib.sharp:
await this.testSharp();
break;
case ServerConfig.PhotoProcessingLib.gm:
await this.testGM();
break;
}
}
@ -235,8 +219,8 @@ export class ConfigDiagnostics {
NotificationManager.warning('Error during initializing SQL falling back temporally to memory DB', err.toString());
Config.Server.Database.type = ServerConfig.DatabaseType.memory;
} else {
Logger.error(LOG_TAG, 'Error during initializing SQL DB, check DB connection and settings');
process.exit(1);
Logger.error(LOG_TAG, 'Error during initializing SQL DB, check DB connection and settings');
process.exit(1);
}
}
}

View File

@ -123,8 +123,6 @@ export class ImageRendererFactory {
switch (renderer) {
case ServerConfig.PhotoProcessingLib.Jimp:
return ImageRendererFactory.Jimp();
case ServerConfig.PhotoProcessingLib.gm:
return ImageRendererFactory.Gm();
case ServerConfig.PhotoProcessingLib.sharp:
return ImageRendererFactory.Sharp();
}
@ -222,49 +220,4 @@ export class ImageRendererFactory {
}
public static Gm() {
const gm = require('gm');
return (input: RendererInput): Promise<void> => {
return new Promise((resolve, reject) => {
Logger.silly('[GMThRenderer] rendering thumbnail:' + input.mediaPath);
let image: State = gm(input.mediaPath);
image.size((err, value: Dimensions) => {
if (err) {
return reject('[GMThRenderer] ' + err.toString());
}
/**
* newWidth * newHeight = size*size
* newHeight/newWidth = height/width
*
* newHeight = (height/width)*newWidth
* newWidth * newWidth = (size*size) / (height/width)
*
* @type {number}
*/
try {
const ratio = value.height / value.width;
const filter = input.qualityPriority === true ? 'Lanczos' : 'Point';
image.filter(filter);
if (input.makeSquare === false) {
const newWidth = Math.round(Math.sqrt((input.size * input.size) / ratio));
image = image.resize(newWidth);
} else {
image = image.resize(input.size, input.size)
.crop(input.size, input.size);
}
image.write(input.outPath, (e) => {
if (e) {
return reject('[GMThRenderer] ' + e.toString());
}
return resolve();
});
} catch (err) {
return reject('[GMThRenderer] ' + err.toString());
}
});
});
};
}
}

View File

@ -21,8 +21,7 @@ export module ServerConfig {
export enum PhotoProcessingLib {
sharp = 3,
Jimp = 1,
gm = 2,
Jimp = 1
}
export enum ReIndexingSensitivity {

View File

@ -22,12 +22,6 @@
<small *ngIf="states.photoProcessingLibrary.value==PhotoProcessingLib.sharp"
class="form-text text-muted" i18n>Make sure that sharp node module is installed (npm install sharp).
</small>
<small *ngIf="states.photoProcessingLibrary.value==PhotoProcessingLib.gm"
class="form-text text-muted">
<ng-container i18n>Make sure that gm node module and</ng-container>
<a href="http://www.graphicsmagick.org/">GraphicsMagick</a>
<ng-container i18n>are installed (npm install sharp).</ng-container>
</small>
</app-settings-entry>

View File

@ -832,7 +832,7 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">67</context>
<context context-type="linenumber">61</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/metafiles/metafile.settings.component.html</context>
@ -889,7 +889,7 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">71</context>
<context context-type="linenumber">65</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/metafiles/metafile.settings.component.html</context>
@ -1131,7 +1131,7 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">55</context>
<context context-type="linenumber">49</context>
</context-group>
<target>Resolution</target>
</trans-unit>
@ -1244,22 +1244,6 @@
</context-group>
<target>Make sure that sharp node module is installed (npm install sharp).</target>
</trans-unit>
<trans-unit id="becf05481d292e5e206fda4b7d67d8fac4e85c93" datatype="html">
<source>Make sure that gm node module and</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">27</context>
</context-group>
<target>Make sure that gm node module and</target>
</trans-unit>
<trans-unit id="b3dc2b50f4949565d88efab1f3ebd4236e16a082" datatype="html">
<source>are installed (npm install sharp).</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">29</context>
</context-group>
<target>are installed (npm install sharp).</target>
</trans-unit>
<trans-unit id="6f49ee2673fb82fe8dd1a7da0bada14a4156bf30" datatype="html">
<source>Thumbnail generation library</source>
<context-group purpose="location">
@ -1272,7 +1256,7 @@
<source>Photo converting:</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">36</context>
<context context-type="linenumber">30</context>
</context-group>
<target>Photo converting:</target>
</trans-unit>
@ -1280,7 +1264,7 @@
<source>Converting</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">39</context>
<context context-type="linenumber">33</context>
</context-group>
<target>Converting</target>
</trans-unit>
@ -1288,7 +1272,7 @@
<source>Downsizes photos for faster preview loading. (Zooming in to the photo loads the original).</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">40</context>
<context context-type="linenumber">34</context>
</context-group>
<target>Downsizes photos for faster preview loading. (Zooming in to the photo loads the original).</target>
</trans-unit>
@ -1296,7 +1280,7 @@
<source>On the fly converting</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">46</context>
<context context-type="linenumber">40</context>
</context-group>
<target>On the fly converting</target>
</trans-unit>
@ -1304,7 +1288,7 @@
<source>Converts photos on the fly, when they are requested.</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">47</context>
<context context-type="linenumber">41</context>
</context-group>
<target>Converts photos on the fly, when they are requested.</target>
</trans-unit>
@ -1312,7 +1296,7 @@
<source>The shorter edge of the converted photo will be scaled down to this, while keeping the aspect ratio.</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">56</context>
<context context-type="linenumber">50</context>
</context-group>
<target>The shorter edge of the converted photo will be scaled down to this, while keeping the aspect ratio.</target>
</trans-unit>

View File

@ -832,7 +832,7 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">67</context>
<context context-type="linenumber">61</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/metafiles/metafile.settings.component.html</context>
@ -889,7 +889,7 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">71</context>
<context context-type="linenumber">65</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/metafiles/metafile.settings.component.html</context>
@ -1131,7 +1131,7 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">55</context>
<context context-type="linenumber">49</context>
</context-group>
<target>Resolution</target>
</trans-unit>
@ -1244,22 +1244,6 @@
</context-group>
<target>Assurez-vous que le module de nœud sharp est installé.</target>
</trans-unit>
<trans-unit id="becf05481d292e5e206fda4b7d67d8fac4e85c93" datatype="html">
<source>Make sure that gm node module and</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">27</context>
</context-group>
<target>Assurez-vous que le module de noeud gm et</target>
</trans-unit>
<trans-unit id="b3dc2b50f4949565d88efab1f3ebd4236e16a082" datatype="html">
<source>are installed (npm install sharp).</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">29</context>
</context-group>
<target>sont installés (npm install sharp).</target>
</trans-unit>
<trans-unit id="6f49ee2673fb82fe8dd1a7da0bada14a4156bf30" datatype="html">
<source>Thumbnail generation library</source>
<context-group purpose="location">
@ -1272,7 +1256,7 @@
<source>Photo converting:</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">36</context>
<context context-type="linenumber">30</context>
</context-group>
<target>Photo converting:</target>
</trans-unit>
@ -1280,7 +1264,7 @@
<source>Converting</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">39</context>
<context context-type="linenumber">33</context>
</context-group>
<target>Converting</target>
</trans-unit>
@ -1288,7 +1272,7 @@
<source>Downsizes photos for faster preview loading. (Zooming in to the photo loads the original).</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">40</context>
<context context-type="linenumber">34</context>
</context-group>
<target>Downsizes photos for faster preview loading. (Zooming in to the photo loads the original).</target>
</trans-unit>
@ -1296,7 +1280,7 @@
<source>On the fly converting</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">46</context>
<context context-type="linenumber">40</context>
</context-group>
<target>On the fly converting</target>
</trans-unit>
@ -1304,7 +1288,7 @@
<source>Converts photos on the fly, when they are requested.</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">47</context>
<context context-type="linenumber">41</context>
</context-group>
<target>Converts photos on the fly, when they are requested.</target>
</trans-unit>
@ -1312,7 +1296,7 @@
<source>The shorter edge of the converted photo will be scaled down to this, while keeping the aspect ratio.</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">56</context>
<context context-type="linenumber">50</context>
</context-group>
<target>The shorter edge of the converted photo will be scaled down to this, while keeping the aspect ratio.</target>
</trans-unit>

View File

@ -832,7 +832,7 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">67</context>
<context context-type="linenumber">61</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/metafiles/metafile.settings.component.html</context>
@ -889,7 +889,7 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">71</context>
<context context-type="linenumber">65</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/metafiles/metafile.settings.component.html</context>
@ -1131,7 +1131,7 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">55</context>
<context context-type="linenumber">49</context>
</context-group>
<target>Felbontás</target>
</trans-unit>
@ -1244,22 +1244,6 @@
</context-group>
<target>Győződjön meg arról, hogy a sharp node modul telepítve van (npm telepítés éles).</target>
</trans-unit>
<trans-unit id="becf05481d292e5e206fda4b7d67d8fac4e85c93" datatype="html">
<source>Make sure that gm node module and</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">27</context>
</context-group>
<target>Győződj meg róla, hogy a gm node modul és</target>
</trans-unit>
<trans-unit id="b3dc2b50f4949565d88efab1f3ebd4236e16a082" datatype="html">
<source>are installed (npm install sharp).</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">29</context>
</context-group>
<target>telepítve van (npm install sharp).</target>
</trans-unit>
<trans-unit id="6f49ee2673fb82fe8dd1a7da0bada14a4156bf30" datatype="html">
<source>Thumbnail generation library</source>
<context-group purpose="location">
@ -1272,7 +1256,7 @@
<source>Photo converting:</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">36</context>
<context context-type="linenumber">30</context>
</context-group>
<target>Photo konvertálás:</target>
</trans-unit>
@ -1280,7 +1264,7 @@
<source>Converting</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">39</context>
<context context-type="linenumber">33</context>
</context-group>
<target>Konvertálás</target>
</trans-unit>
@ -1288,7 +1272,7 @@
<source>Downsizes photos for faster preview loading. (Zooming in to the photo loads the original).</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">40</context>
<context context-type="linenumber">34</context>
</context-group>
<target>Downsizes photos for faster preview loading. (Zooming in to the photo loads the original).</target>
</trans-unit>
@ -1296,7 +1280,7 @@
<source>On the fly converting</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">46</context>
<context context-type="linenumber">40</context>
</context-group>
<target>Menet közbeni konvetálás</target>
</trans-unit>
@ -1304,7 +1288,7 @@
<source>Converts photos on the fly, when they are requested.</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">47</context>
<context context-type="linenumber">41</context>
</context-group>
<target>Photókat menet közvben konvertálja, amikor kérésre megy rájuk.</target>
</trans-unit>
@ -1312,7 +1296,7 @@
<source>The shorter edge of the converted photo will be scaled down to this, while keeping the aspect ratio.</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">56</context>
<context context-type="linenumber">50</context>
</context-group>
<target>A konvertált fotó rövidebb oldala lesz ekkora.</target>
</trans-unit>
@ -2792,4 +2776,4 @@
</trans-unit>
</body>
</file>
</xliff>
</xliff>

View File

@ -832,7 +832,7 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">67</context>
<context context-type="linenumber">61</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/metafiles/metafile.settings.component.html</context>
@ -889,7 +889,7 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">71</context>
<context context-type="linenumber">65</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/metafiles/metafile.settings.component.html</context>
@ -1131,7 +1131,7 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">55</context>
<context context-type="linenumber">49</context>
</context-group>
<target>Resolution</target>
</trans-unit>
@ -1244,22 +1244,6 @@
</context-group>
<target>Asigurați-vă că modulul node sharp este instalat (npm install sharp).</target>
</trans-unit>
<trans-unit id="becf05481d292e5e206fda4b7d67d8fac4e85c93" datatype="html">
<source>Make sure that gm node module and</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">27</context>
</context-group>
<target>Asigurați-vă că modulul node gm și</target>
</trans-unit>
<trans-unit id="b3dc2b50f4949565d88efab1f3ebd4236e16a082" datatype="html">
<source>are installed (npm install sharp).</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">29</context>
</context-group>
<target>sunt instalate (npm install sharp).</target>
</trans-unit>
<trans-unit id="6f49ee2673fb82fe8dd1a7da0bada14a4156bf30" datatype="html">
<source>Thumbnail generation library</source>
<context-group purpose="location">
@ -1272,7 +1256,7 @@
<source>Photo converting:</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">36</context>
<context context-type="linenumber">30</context>
</context-group>
<target>Photo converting:</target>
</trans-unit>
@ -1280,7 +1264,7 @@
<source>Converting</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">39</context>
<context context-type="linenumber">33</context>
</context-group>
<target>Converting</target>
</trans-unit>
@ -1288,7 +1272,7 @@
<source>Downsizes photos for faster preview loading. (Zooming in to the photo loads the original).</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">40</context>
<context context-type="linenumber">34</context>
</context-group>
<target>Downsizes photos for faster preview loading. (Zooming in to the photo loads the original).</target>
</trans-unit>
@ -1296,7 +1280,7 @@
<source>On the fly converting</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">46</context>
<context context-type="linenumber">40</context>
</context-group>
<target>On the fly converting</target>
</trans-unit>
@ -1304,7 +1288,7 @@
<source>Converts photos on the fly, when they are requested.</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">47</context>
<context context-type="linenumber">41</context>
</context-group>
<target>Converts photos on the fly, when they are requested.</target>
</trans-unit>
@ -1312,7 +1296,7 @@
<source>The shorter edge of the converted photo will be scaled down to this, while keeping the aspect ratio.</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">56</context>
<context context-type="linenumber">50</context>
</context-group>
<target>The shorter edge of the converted photo will be scaled down to this, while keeping the aspect ratio.</target>
</trans-unit>

View File

@ -832,7 +832,7 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">67</context>
<context context-type="linenumber">61</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/metafiles/metafile.settings.component.html</context>
@ -889,7 +889,7 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">71</context>
<context context-type="linenumber">65</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/metafiles/metafile.settings.component.html</context>
@ -1131,7 +1131,7 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">55</context>
<context context-type="linenumber">49</context>
</context-group>
<target>Resolution</target>
</trans-unit>
@ -1244,22 +1244,6 @@
</context-group>
<target>Убедитесь, что модуль node.js sharp установлен.</target>
</trans-unit>
<trans-unit id="becf05481d292e5e206fda4b7d67d8fac4e85c93" datatype="html">
<source>Make sure that gm node module and</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">27</context>
</context-group>
<target>Убедитесь, что модуль node.js gm и</target>
</trans-unit>
<trans-unit id="b3dc2b50f4949565d88efab1f3ebd4236e16a082" datatype="html">
<source>are installed (npm install sharp).</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">29</context>
</context-group>
<target>установлен (npm install sharp).</target>
</trans-unit>
<trans-unit id="6f49ee2673fb82fe8dd1a7da0bada14a4156bf30" datatype="html">
<source>Thumbnail generation library</source>
<context-group purpose="location">
@ -1272,7 +1256,7 @@
<source>Photo converting:</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">36</context>
<context context-type="linenumber">30</context>
</context-group>
<target>Photo converting:</target>
</trans-unit>
@ -1280,7 +1264,7 @@
<source>Converting</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">39</context>
<context context-type="linenumber">33</context>
</context-group>
<target>Converting</target>
</trans-unit>
@ -1288,7 +1272,7 @@
<source>Downsizes photos for faster preview loading. (Zooming in to the photo loads the original).</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">40</context>
<context context-type="linenumber">34</context>
</context-group>
<target>Downsizes photos for faster preview loading. (Zooming in to the photo loads the original).</target>
</trans-unit>
@ -1296,7 +1280,7 @@
<source>On the fly converting</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">46</context>
<context context-type="linenumber">40</context>
</context-group>
<target>On the fly converting</target>
</trans-unit>
@ -1304,7 +1288,7 @@
<source>Converts photos on the fly, when they are requested.</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">47</context>
<context context-type="linenumber">41</context>
</context-group>
<target>Converts photos on the fly, when they are requested.</target>
</trans-unit>
@ -1312,7 +1296,7 @@
<source>The shorter edge of the converted photo will be scaled down to this, while keeping the aspect ratio.</source>
<context-group purpose="location">
<context context-type="sourcefile">app/ui/settings/photo/photo.settings.component.html</context>
<context context-type="linenumber">56</context>
<context context-type="linenumber">50</context>
</context-group>
<target>The shorter edge of the converted photo will be scaled down to this, while keeping the aspect ratio.</target>
</trans-unit>