Skip to content

Commit

Permalink
small improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
lbalazscs committed Jan 16, 2021
1 parent b77405f commit e9074e8
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 48 deletions.
4 changes: 4 additions & 0 deletions Translating.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
of it (open an issue), and I will add it to the translation files
- If you create a new file for a new language, make sure it is "UTF8 BOM" encoded (if you make a copy of an existing
file, then it will be)
- The text for the "Tip of the Day" is coming from tips.properties in the same directory, it could be translated
similarly.
- The color chooser's translation files are in [com/bric/swing/resources](src/main/resources/com/bric/swing/resources),
they have the same structure.
- Translating every text in the user interface is a big task. It's OK, if you contribute only a few translations.


30 changes: 14 additions & 16 deletions src/main/resources/texts.properties
Original file line number Diff line number Diff line change
@@ -1,19 +1,4 @@
#
# Copyright 2021 Laszlo Balazs-Csiki and Contributors
#
# This file is part of Pixelitor. Pixelitor is free software: you
# can redistribute it and/or modify it under the terms of the GNU
# General Public License, version 3 as published by the Free
# Software Foundation.
#
# Pixelitor is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Pixelitor. If not, see <http://www.gnu.org/licenses/>.
#
# File menu
file=File
new_image=New Image
open=Open
Expand All @@ -28,6 +13,7 @@ reload=Reload
show_metadata=Show Metadata
close=Close
close_all=Close All

# File/Automate submenu
automate=Automate
batch_resize=Batch Resize
Expand All @@ -37,6 +23,7 @@ auto_paint=Auto Paint
screen_capture=Screen Capture
exit=Exit
exit_mac=Quit

# Edit menu
edit=Edit
undo=Undo
Expand All @@ -49,6 +36,7 @@ paste_as_new_img=Paste as New Image
paste_as_new_layer=Paste as New Layer
paste_as_layer_mask=Paste as Layer Mask
preferences=Preferences

# Layer menu
layer=Layer
new_layer=New Layer
Expand All @@ -61,6 +49,7 @@ flatten_image=Flatten Image
flatten_image_tt=Merge all layers into one
new_from_visible=New from Visible
new_from_visible_tt=Create a new layer from what is visible in this image

# Layer Stack submenu
layer_stack=Layer Stack
raise_layer=Raise Layer
Expand All @@ -75,16 +64,21 @@ raise_layer_selection=Raise Layer Selection
raise_layer_selection_tt=Select the layer above the current layer
lower_layer_selection=Lower Layer Selection
lower_layer_selection_tt=Select the layer below the current layer

# Layer Mask submenu
layer_mask=Layer Mask

# Text Layer submenu
text_layer=Text Layer

# Select menu
select=Select

# Image menu
image=Image
fit_canvas_to_layers=Fit Canvas to Layers
fit_canvas_to_layers_tt=Resize the image to enclose all layers

# Color menu
color=Color
color_balance=Color Balance
Expand All @@ -103,6 +97,7 @@ desaturate=Desaturate
fill_with=Fill with
fg_color=Foreground Color
bg_color=Background Color

# Filter menu
filter=Filter
blur=Blur
Expand All @@ -120,15 +115,18 @@ clouds=Clouds
fractals=Fractals
artistic=Artistic
find_edges=Find Edges

# View menu
view=View
zoom=Zoom
zoom_in=Zoom In
zoom_out=Zoom Out

# Help menu
help=Help
tip_of_the_day=Tip of the Day
about=About Pixelitor

# common words
red=Red
green=Green
Expand Down
30 changes: 14 additions & 16 deletions src/main/resources/texts_de.properties
Original file line number Diff line number Diff line change
@@ -1,19 +1,4 @@
#
# Copyright 2021 Laszlo Balazs-Csiki and Contributors
#
# This file is part of Pixelitor. Pixelitor is free software: you
# can redistribute it and/or modify it under the terms of the GNU
# General Public License, version 3 as published by the Free
# Software Foundation.
#
# Pixelitor is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Pixelitor. If not, see <http://www.gnu.org/licenses/>.
#
# File menu
file=Datei
new_image=Neues Bild
open=Öffnen
Expand All @@ -27,6 +12,7 @@ reload=Neu laden
show_metadata=Metadaten anzeigen
close=Schließen
close_all=Alle schließen

# File/Automate submenu
automate=Automatisieren
batch_resize=Massen-vergrößern
Expand All @@ -36,6 +22,7 @@ auto_paint=Auto-zeichnen
screen_capture=Bildschirmaufnahme
exit=Verlassen
exit_mac=Verlassen

# Edit menu
edit=Bearbeiten
undo=Rückgängig
Expand All @@ -48,6 +35,7 @@ paste_as_new_img=Als neues Bild einfügen
paste_as_new_layer=Als neue Ebene einfügen
paste_as_layer_mask=Als Maske einfügen
preferences=Einstellungen

# Layer menu
layer=Ebene
new_layer=Neue Ebene
Expand All @@ -60,6 +48,7 @@ flatten_image=Bild zusammenfügen
flatten_image_tt=Alle Ebenen in einer vereinen
new_from_visible=Neu aus Sichtbarem
new_from_visible_tt=Eine neue Ebene erstellen, aus dem, was in diesem Bild zu sehen ist

# Layer Stack submenu
layer_stack=Stapel
raise_layer=Ebene anheben
Expand All @@ -74,16 +63,21 @@ raise_layer_selection=Raise Layer Selection
raise_layer_selection_tt=Die Ebene oberhalb der aktiven Ebene auswählen
lower_layer_selection=Lower Layer Selection
lower_layer_selection_tt=Die Ebene unterhalb der aktiven Ebene auswählen

# Layer Mask submenu
layer_mask=Maske

# Text Layer submenu
text_layer=Textebene

# Select menu
select=Auswahl

# Image menu
image=Bild
fit_canvas_to_layers=Leinwand an Ebenen anpassen
fit_canvas_to_layers_tt=Bildgröße so verändern, dass alle Ebenen hineinpassen

# Color menu
color=Farbe
color_balance=Farbabgleich
Expand All @@ -102,6 +96,7 @@ desaturate=Entsättigen
fill_with=Füllen mit
fg_color=Vordergrundfarbe
bg_color=Hintergrundfarbe

# Filter menu
filter=Filter
blur=Weichzeichnen
Expand All @@ -119,15 +114,18 @@ clouds=Wolken
fractals=Fraktale
artistic=Künstlerisch
find_edges=Kanten finden

# View menu
view=Ansicht
zoom=Vergrößerung
zoom_in=Vergrößern
zoom_out=Verkleinern

# Help menu
help=Hilfe
tip_of_the_day=Tipp des Tages
about=Über Pixelitor

# common words
red=Rot
green=Grün
Expand Down
16 changes: 0 additions & 16 deletions src/main/resources/tips.properties
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
#
# Copyright 2018 Laszlo Balazs-Csiki and Contributors
#
# This file is part of Pixelitor. Pixelitor is free software: you
# can redistribute it and/or modify it under the terms of the GNU
# General Public License, version 3 as published by the Free
# Software Foundation.
#
# Pixelitor is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Pixelitor. If not, see <http://www.gnu.org/licenses/>.
#
tip.1.description=<html>Use the Brush Tool to paint on an image. Dragging the left mouse button draws with the foreground color, using the right mouse button draws with the background color. Hold down the <b>Shift</b> key and click to draw straight lines.
tip.2.description=<html><b>Double-click</b> a layer name to make it editable.
tip.3.description=<html>Press the <b>Tab</b> key to hide everything with the exception of the menus. Pressing <b>Tab</b> again shows the hidden elements.
Expand Down

0 comments on commit e9074e8

Please sign in to comment.