Skip to content

Commit

Permalink
fix: Update default editor translations for version 4.8.1
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Sein <[email protected]>
  • Loading branch information
Ivansss authored and backportbot[bot] committed Oct 15, 2024
1 parent 50afb82 commit 373d1b5
Showing 1 changed file with 25 additions and 7 deletions.
32 changes: 25 additions & 7 deletions src/models/editorTranslations.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { translate as t } from '@nextcloud/l10n'
* We also use that to edit the end strings of
* some buttons, like resetOperations
*
* @see https://raw.githubusercontent.com/scaleflex/filerobot-image-editor/v4/packages/react-filerobot-image-editor/src/context/defaultTranslations.js
* @see https://raw.githubusercontent.com/scaleflex/filerobot-image-editor/v4.8.1/packages/react-filerobot-image-editor/src/context/defaultTranslations.js
*/
export default {
name: t('viewer', 'Name'),
Expand All @@ -15,10 +15,13 @@ export default {
loading: t('viewer', 'Loading …'),
// resetOperations: 'Reset/delete all operations',
resetOperations: t('viewer', 'Reset'),
changesLoseConfirmation: t('viewer', 'All changes will be lost.'),
changesLoseConfirmationHint: t('viewer', 'Are you sure you want to continue?'),
changesLoseWarningHint: t('viewer', 'All changes will be lost.'),
discardChangesWarningHint: t('viewer', 'Are you sure you want to continue?'),
cancel: t('viewer', 'Cancel'),
continue: t('viewer', 'Continue'),
apply: t('viewer', 'Apply'),
warning: t('viewer', 'Warning'),
confirm: t('viewer', 'Confirm'),
discardChanges: t('viewer', 'Discard changes'),
undoTitle: t('viewer', 'Undo'),
redoTitle: t('viewer', 'Redo'),
showImageTitle: t('viewer', 'Show original image'),
Expand All @@ -29,9 +32,10 @@ export default {
finetuneTab: t('viewer', 'Fine-tune'),
filtersTab: t('viewer', 'Filters'),
watermarkTab: t('viewer', 'Watermark'),
annotateTab: t('viewer', 'Draw'),
annotateTabLabel: t('viewer', 'Draw'),
resize: t('viewer', 'Resize'),
resizeTab: t('viewer', 'Resize'),
imageName: t('viewer', 'Image name'),
invalidImageError: t('viewer', 'Invalid image.'),
uploadImageError: t('viewer', 'Error while uploading the image.'),
areNotImages: t('viewer', 'are not images'),
Expand All @@ -57,11 +61,14 @@ export default {
flipY: t('viewer', 'Flip Y'),
hsvTool: t('viewer', 'HSV'),
hue: t('viewer', 'Hue'),
brightness: t('viewer', 'Brightness'),
saturation: t('viewer', 'Saturation'),
value: t('viewer', 'Value'),
imageTool: t('viewer', 'Image'),
importing: t('viewer', 'Importing …'),
addImage: t('viewer', '+ Add image'),
uploadImage: t('viewer', 'Upload image'),
fromGallery: t('viewer', 'From gallery'),
lineTool: t('viewer', 'Line'),
penTool: t('viewer', 'Pen'),
polygonTool: t('viewer', 'Polygon'),
Expand All @@ -71,7 +78,6 @@ export default {
resizeWidthTitle: t('viewer', 'Width in pixels'),
resizeHeightTitle: t('viewer', 'Height in pixels'),
toggleRatioLockTitle: t('viewer', 'Toggle ratio lock'),
reset: t('viewer', 'Reset'),
resetSize: t('viewer', 'Reset to original image size'),
rotateTool: t('viewer', 'Rotate'),
textTool: t('viewer', 'Text'),
Expand All @@ -83,23 +89,35 @@ export default {
lineHeight: t('viewer', 'Line height'),
warmthTool: t('viewer', 'Warmth'),
addWatermark: t('viewer', '+ Add watermark'),
addTextWatermark: t('viewer', '+ Add text watermark'),
addWatermarkTitle: t('viewer', 'Choose watermark type'),
uploadWatermark: t('viewer', 'Upload watermark'),
addWatermarkAsText: t('viewer', 'Add as text'),
padding: t('viewer', 'Padding'),
paddings: t('viewer', 'Paddings'),
shadow: t('viewer', 'Shadow'),
horizontal: t('viewer', 'Horizontal'),
vertical: t('viewer', 'Vertical'),
blur: t('viewer', 'Blur'),
opacity: t('viewer', 'Opacity'),
transparency: t('viewer', 'Transparency'),
position: t('viewer', 'Position'),
stroke: t('viewer', 'Stroke'),
saveAsModalLabel: t('viewer', 'Save image as'),
saveAsModalTitle: t('viewer', 'Save image as'),
extension: t('viewer', 'Extension'),
format: t('viewer', 'Format'),
nameIsRequired: t('viewer', 'Name is required.'),
quality: t('viewer', 'Quality'),
imageDimensionsHoverTitle: t('viewer', 'Saved image size (width x height)'),
cropSizeLowerThanResizedWarning: t('viewer', 'Note that the selected crop area is lower than the applied resize which might cause quality decrease'),
actualSize: t('viewer', 'Actual size (100%)'),
fitSize: t('viewer', 'Fit size'),
addImageTitle: t('viewer', 'Select image to add …'),
mutualizedFailedToLoadImg: t('viewer', 'Failed to load image.'),
tabsMenu: t('viewer', 'Menu'),
download: t('viewer', 'Download'),
width: t('viewer', 'Width'),
height: t('viewer', 'Height'),
plus: '+',
cropItemNoEffect: t('viewer', 'No preview available for this crop item'),
}

0 comments on commit 373d1b5

Please sign in to comment.