translations

This commit is contained in:
bancika
2020-04-23 16:06:20 +02:00
parent 7ef36bedfe
commit f834098363
11 changed files with 461 additions and 12 deletions
@@ -124,7 +124,7 @@ public class Presenter implements IPlugInPort {
private static final String ERROR_SLOT = TranslateUtil.translate("Could not set component type slot. Check log for details."); private static final String ERROR_SLOT = TranslateUtil.translate("Could not set component type slot. Check log for details.");
private static final String ERROR_SAVE = TranslateUtil.translate("Could not save the project to file. Check the log for details."); private static final String ERROR_SAVE = TranslateUtil.translate("Could not save the project to file. Check the log for details.");
private static final String ERROR_CREATE = TranslateUtil.translate("Could not create component. Check log for details."); private static final String ERROR_CREATE = TranslateUtil.translate("Could not create component. Check log for details.");
private static final String ERROR_EDIT = TranslateUtil.translate("Error occured while editing selection. Check the log for details."); private static final String ERROR_EDIT = TranslateUtil.translate("Error occurred while editing selection. Check the log for details.");
private static final String ERROR_NEW = TranslateUtil.translate("Could not create a new file. Check the log for details."); private static final String ERROR_NEW = TranslateUtil.translate("Could not create a new file. Check the log for details.");
private static final String ERROR = TranslateUtil.translate("Error"); private static final String ERROR = TranslateUtil.translate("Error");
private static final String APPLY_ERROR = "Could not apply changes. Check the log for details."; private static final String APPLY_ERROR = "Could not apply changes. Check the log for details.";
@@ -227,7 +227,7 @@ public class TriPadBoard extends AbstractBoard {
} }
} }
@EditableProperty(name = "Holes per strip") @EditableProperty(name = "Holes Per Strip")
public int getStripSpan() { public int getStripSpan() {
return stripSpan; return stripSpan;
} }
@@ -107,7 +107,7 @@ public class Turret extends AbstractComponent<String> {
this.size = size; this.size = size;
} }
@EditableProperty(name = "Hole size") @EditableProperty(name = "Hole Size")
public Size getHoleSize() { public Size getHoleSize() {
return holeSize; return holeSize;
} }
@@ -268,7 +268,7 @@ public class RadialElectrolytic extends AbstractRadialComponent<Capacitance> {
this.height = height; this.height = height;
} }
@EditableProperty(name = "Invert polarity") @EditableProperty(name = "Invert Polarity")
public boolean getInvert() { public boolean getInvert() {
return invert; return invert;
} }
@@ -226,7 +226,7 @@ public class TantalumCapacitor extends AbstractRadialComponent<Capacitance> {
this.height = height; this.height = height;
} }
@EditableProperty(name = "Invert polarity") @EditableProperty(name = "Invert Polarity")
public boolean getInvert() { public boolean getInvert() {
return invert; return invert;
} }
@@ -156,7 +156,7 @@ public class DiodeGlass extends AbstractLeadedComponent<String> {
this.markerColor = markerColor; this.markerColor = markerColor;
} }
@EditableProperty(name = "Inside color") @EditableProperty(name = "Inside Color")
public Color getInsideColor() { public Color getInsideColor() {
if (insideColor == null) if (insideColor == null)
insideColor = INSIDE_COLOR; insideColor = INSIDE_COLOR;
+2
View File
@@ -46,6 +46,7 @@ G-D-S MOSFET
G-S-D JFET G-S-D JFET
G-S-D MOSFET G-S-D MOSFET
Italiano Italiano
Jezik
NPN NPN
Nederlands Nederlands
Nor Nor
@@ -60,6 +61,7 @@ SMD
SPDT SPDT
SPDT (Center OFF) SPDT (Center OFF)
SPST SPST
Srpski
Xnor Xnor
Xor Xor
cm cm
+1
View File
@@ -227,6 +227,7 @@ Lock
Log Log
Log In Log In
Log Out Log Out
Look for
Lug Size Lug Size
Lugs Lugs
Make a Donation Make a Donation
+442
View File
@@ -0,0 +1,442 @@
#start-internal
icon=serbia
#end-internal
(Building Blocks)|(Blokovi za Gradnju)
(Favorites)|(Omiljene)
(Recently Used)|(Skoro Korišćene)
180 degrees clockwise|(180 stepeni u pravcu kazaljke)
270 degrees clockwise|(270 stepeni u pravcu kazaljke)
90 degrees clockwise|(90 stepeni u pravcu kazaljke)
A variant with that name already exists. Overwrite?|Varijacija pod tim imenom već postoji. Prepisati?
About|O Autoru
Above|Iznad
Access User Files|Pristupi Korisničkim Datotekama
Add Flexible Leads|Dodaj Fleksibilne Izvode
Add Validation Step|Dodaj Korak Provere
All Connected|Svi Povezani
Alpha
Analyze|Analiziraj
Analyze Guitar Diagrams|Analiziraj Gitarske Dijagrame
Angle|Ugao
Anti-Aliasing
Arrow Size|Veličina Strelice
Author|Autor
Auto-Create Pads|Auto-Kreiranje Pad
Auto-Edit Mode|Automatsko Editovanje
Base
Below|Ispod
Blueprint
Board|Pločica
Boards|Pločice
Board Color|Boja Pločice
Board Width|Širina Pločice
Bobin 1|Bobina 1
Bobin 2|Bobina 2
Body|Telo
Border|Ivica
Border Thickness|Debljina Ivice
Both|Oba
Both Sides|Obe Strane
Bottom|Dole
Bottom Left|Dole Levo
Bottom Right|Dole Desno
Bring Forward|Prinesi Napred
Bring Selection to Front|Prinesi Odabrane Napred
Buffer
Center|Centar
Center Negative|Negativni Centar
Center Positive|Pozitivni Centar
Center Terminal|Centralni Terminal
Central|Centralni
Change Password|Promena Lozinke
Channel|Kanal
Chassis|Šasija
Circular|Kružno
Click on a component to highlight area directly or indirectly connected to the area below the cursor. To continue editing, this mode needs to be switched OFF|Klikni na komponentu da označiš oblast direktno ili indirektno povezanu sa oblašću ispod kursora. Za dalje izmene, ovaj mod treba biti isključen
Click on the canvas to create a new %s or press %s to cancel|Klikni na platno da kreiraš novu %s ili pritisni %s za odustajanje
Click on the canvas to set the %s control point of a new %s or press %s to cancel|Klikni na platno da postaviš %s kontrolnu tačku nove %s ili pritisni %s za odustajanje
Click the lighbulb icon in the bottom-right corner of the window for more info.|Klikni na ikonicu sa sijalicom u donjem-desnom uglu prozora za više informacija.
Click to fetch the most recent public announcement|Klikni za preuzimanje najnovijih objava
Click to show recent changes and updates|Klikni za prikaz skorih unapredjenja
Coil|Kalem
Coil Border|Ivica Kalema
Coil Length|Dužina Kalema
Coil Width|Širina Kalema
Color|Boja
Color 1|Boja 1
Color 2|Boja 2
Color code|Boje
Columns|Kolone
Component|Komponenta
Component API|Komponentni API
Components|Komponente
Config|Konfiguracija
Connector|Konektor
Connector (Mirrored)|Konektor (u ogledalu)
Connectivity|Veze
Contacts|Kontakti
Continuous Creation|Kontinualno Dodavanje
Coordinate Color|Boja Koordinata
Coordinate Origin|Položaj Koordinata
Coordinates|Koordinate
Copy|Kopiraj
Core|Jezgro
Core Border|Ivica Jezgra
Core Thickness|Debljina Jezgra
Core Width|Širina Jezgra
Could not create a new file. Check the log for details.|Neuspelo kreiranje nove datoteke. Proverite log za više informacija.
Could not create component. Check log for details.|Neuspelo dodavanje komponente. Proverite log za više informacija.
Could not fetch public announcements.|Neuspelo preuzimanje objava.
Could not save the project to file. Check the log for details.|Neuspelo čuvanje projekta u datoteku. Proverite log za više informacija.
Could not set component type slot. Check log for details.|Neuspelo postavljanje komponente. Proverite log za više informacija.
Cover|Poklopac
Create B.O.M.|Kreiraj Spisak za Kupovinu
Create New Account|Kreiraj Novi Nalog
Current|Trenutni
Cut|Iseci
Cut Between Holes|Seci Izmedju Rupa
Cut Orientation|Smer Zaseka
DIP (Mirrored)|DIP (u ogledalu)
DP3T (Standard 3-Position Strat)
DP3T (Standard 5-Position Strat)
DP4T (4-Position Tele)
Dark
Dashed|Isprekidana
Decimals|Decimale
Default|Podrazumevano
Default Font|Podrazumevani Font
Default Font Size|Podrazumevana Veličina Fonta
Delete Selection|Obriši Izabrane
Description|Opis
Diameter|Prečnik
Directional|Usmereni
Directly heated|Direktno grejanje
Display|Prikaz
Display Pin #s|Prikaz Brojeva Pinova
Dog Ear
Dot Spacing|Razmak Izmedju Tačaka
Dotted|Tačkasta
Drag control point(s) of|Vuci kontrolne tačke
Drag the mouse over the canvas to place a new|Prevuci kursor miša preko platna da postaviš novu
Dual Rail Humbucker
Dual Rods
Duodecar B12C
Duplicate|Duplikat
Edges|Ivice
Edit|Izmena
Edit Project Settings|Izmeni Podešavanja Projekta
Edit Selection|Izmeni Izabrane
Electrode Labels|Oznake Elektroda
Electro-Mechanical|Elektro-Mehaničke
Enable Cache Boost|Uključi Keš-Ubrzanje
End Arrow|Krajnja Strelica
Enjoying DIYLC? Click here to buy me a coffee :)|Uživate koristeći DIYLC? Kupite mi kafu :)
Error|Greška
Error occurred while editing selection. Check the log for details.|Nastala je greška prilikom izmene. Proverite log za više informacija.
Exit|Izlaz
Expand Selection|Proširi Izabrane
Explicit Dimensions|Tačne Dimenzije
Explicit Length|Tačna Dužina
Explicit Width|Tačna Širina
Export Building Blocks
Export Grid|Izvoz Rešetke
Export Variants|Izvoz Varijacija
Export to PDF|Izvoz u PDF
Export to PNG|Izvoz u PNG
Extra Working Area|Dodatna Radna Površina
Eyelet color|Boja Terminala
FAQ
File|Datoteka
Fill
Filtertron
Find|Traži
Five|Pet
Flip|Izvrni
Folded|Ležeće
Font
Font Bold
Font Italic
Font Size
Four|Četiri
Full|Puno
Fuse|Osigurač
Generate DIYLC Netlist|Generiši DIYLC Netlistu
Generate Spice Netlist|Generiši Spice Netlistu
Grid|Rešetka
Grid Spacing|Razmak Rešetke
Group Selection|Odabir Grupe
Guitar|Gitara
Half|Pola
Hardware Acceleration|Hardversko Ubrzanje
Heaters|Grejaci
Height|Visina
Help|Pomoć
Hi-Quality Rendering|Visoko-Kvalitetno Iscrtavanje
Highlight Connected Areas|Označi Povezane Oblasti
Hole|Rupa
Hole Size|Veličina Rupe
Hole Spacing|Razmak Rupa
Holes per strip|Rupa Po Traci
Horizontal|Horizontalno
Horizontal Alignment|Horizontalno Poravnanje
Horizontal Large|Horizontalni Veliki
Horizontal Medium|Horizontalni Srednji
Horizontal Small 1|Horizontalni Mali 1
Horizontal Small 2|Horizontalni Mali 2
Horizontal X-Small|Horizontalni Vrlo Mali
Humbucking
If this box is checked application will use the current value as a<br>default when creating new components of the same type|Ako je ova kutija označena, aplikacija će nadalje koristiti trenutnu<br>vrednost prilikom kreiranje novih komponenti ovog tipa
Image|Slika
Immediate Only|Samo Neposredne
Import|Uvoz
Import Building Blocks|Uvezi Blokove za Gradnju
Import Variants|Uvezi Varijacije
In-Line D-44
In-line
Indent|Zasek
Information|Informacije
Inline
Input error for "%s": %s|Greška u unosu za "%s": %s
Inside color|Boja Unutrašnjosti
Integration|Integracija
Invert polarity|Obrnuti Polaritet
Label|Natpis
Label Color|Boja Natpisa
Label Orientation|Smer Natpisa
Label Position|Pozicija Natpisa
Labels|Natpisi
Language|Jezik
Language selection will be applied after the application is restarted.|Odabir jezika će biti primenjen nakon sledećeg pokretanja aplikacije.
Layer|Sloj
Layers|Slojevi
Lead Color
Lead Count
Lead Length
Lead Spacing
Left
Left-to-Right
Left click to instantiate this component, right click for more options
Legs
Length
Letters
Light
Lin
Lip
Lock
Log
Log In
Log Out
Lug Size
Lugs
Make a Donation
Manage Account
Manage My Uploads
Mark Common Lugs
Marker
Mini
Miniature
Mirror Horizontally
Mirror Selection
Mirror Vertically
Mirroring operation will change the circuit. Do you want to continue?
Misc
Model
Mono
Mount
Mounting Lugs
Mouse Wheel Zoom
Moveable Label
Name
Nand
Negative
New
New version available
No new public announcements available.
No
None
North
Noval B9A
Nudge
Numbers
Nut
Octal
Offset
One Side
Open
Opposing Points
Orientation
Outer Foil
Outer Foil Mark
Outline Mode
Outside
Oval horizontal
Oval vertical
Pad Color
Passive
Paste
Pin Arrangement
Pin Color
Pin Spacing
Pin spacing
Pinout
Pins
Play Test
Plugin API
Point Count
Polarity
Polarized
Pole Color
Pole Pieces
Pole Pieces 1
Pole Pieces 2
Positions
Positive
Power Rating
Power Strip
Primary CT
Print...
Project Cloud
Public Announcement
Radius
Rail
Recent Files
Recent Updates
Redo
Renumber On Paste
Renumber Selection
Resistance
Rev log
Reverse (standing)
Right
Rods
Rotate Clockwise
Rotate Counterclockwise
Rotate Selection
Round
Round WOG A
Round WOG B
Row Spacing
Rows
Ruler Inch Subdivision...
Same Type Only
Save
Save As
Save as Variant
Scale
Schematic Symbols
Screws
Selection
Selection Size
Selection is empty.
Search The Cloud
Searchable Tree
Secondary CT
Select All
Selected component(s) have reached the bottom of their layer. Do you want to force the selection to the back?
Selected component(s) have reached the top of their layer. Do you want to force the selection to the top?
Selection contains components that cannot be mirrored. Do you want to exclude them?
Selection contains components that cannot be rotated. Do you want to exclude them?
Semiconductors
Send Backward
Send Selection to Back
Seven
Shaft Down
Shaft Up
Shape
Shapes
Show Grid
Show Rulers
Shroud
Shrouded
Single Rail
Single Rods
Size
Sizing Mode
Small-button B7G
Smooth
Snap To...
Soap Bar
Solid
South
Spacing
Square
Square BR-3
Standard
Start Arrow
Start Recording
Stereo
Sticky Points
Stop Recording
Stratocaster
Strip Color
Stripe
Stripe 1
Stripe 2
Stripe Color
Stripe Color 1
Stripe Color 2
Style
Submit a Bug
Suppressor grid
Switched
Switches
Tab
Tab Border
Tabbed Toolbar
Taper
Telecaster
Terminal Spacing
Terminals
Test
Text
Text Color
Theme
There are unsaved changes. Would you like to save them?
Thickness
Three
Through Hole
Tick
Title
Toolbox
Top
Top Lead
Top Left
Top Right
Top-to-Bottom
Trace
Trace Color
Trace Mask
Transform Selection
Triangle
Tubular
Tubes|Cevi
Two|Dva
Type|Tip
Ultra-miniature
Underside Pad Color
Underside Trace Color
Undo
Ungroup Selection
Unit
Upload A Project
User Manual
Value
Version history is not available.
Vertical
Vertical Alignment
Vertical Inline
Vertical Offset 1
Vertical Offset 2
View
Visible
Voltage
Wafer
Warning
Width
Winding Spacing
X-axis|X-osa
Y-axis|Y-osa
Zoom
base of 10
base of 2
hold %s and drag to unstuck from
@@ -56,7 +56,7 @@ public class ActionBarPlugin implements IPlugIn {
private ConfigToolbar configToolbar; private ConfigToolbar configToolbar;
private JLabel donateLabel; private JLabel donateLabel;
private static final String DONATE_HTML = "<html><u>" + TranslateUtil.translate("Enjoying DIYLC? Click here to buy me a coffe :)") + "</u></html>"; private static final String DONATE_HTML = "<html><u>" + TranslateUtil.translate("Enjoying DIYLC? Click here to buy me a coffee :)") + "</u></html>";
public ActionBarPlugin(ISwingUI swingUI) { public ActionBarPlugin(ISwingUI swingUI) {
this.swingUI = swingUI; this.swingUI = swingUI;
@@ -37,6 +37,7 @@ import javax.swing.UIManager;
import javax.swing.event.DocumentEvent; import javax.swing.event.DocumentEvent;
import javax.swing.event.DocumentListener; import javax.swing.event.DocumentListener;
import org.diylc.lang.TranslateUtil;
import org.diylc.swingframework.ButtonDialog; import org.diylc.swingframework.ButtonDialog;
public class FindDialog extends ButtonDialog { public class FindDialog extends ButtonDialog {
@@ -60,6 +61,9 @@ public class FindDialog extends ButtonDialog {
+ "'R\\d+' - matches components starting with R, followed by at least one digit" + "'R\\d+' - matches components starting with R, followed by at least one digit"
+ "</html>"; + "</html>";
private static final String FIND = TranslateUtil.translate("Find");
private static final String LOOK_FOR = TranslateUtil.translate("Look for");
private JPanel mainPanel; private JPanel mainPanel;
private JTextField criteriaField; private JTextField criteriaField;
@@ -68,7 +72,7 @@ public class FindDialog extends ButtonDialog {
private String criteria; private String criteria;
public FindDialog(JFrame owner) { public FindDialog(JFrame owner) {
super(owner, "Find", new String[] {OK, CANCEL}); super(owner, FIND, new String[] {OK, CANCEL});
setMinimumSize(new Dimension(400, 32)); setMinimumSize(new Dimension(400, 32));
layoutGui(); layoutGui();
refreshState(); refreshState();
@@ -92,7 +96,7 @@ public class FindDialog extends ButtonDialog {
gbc.gridx = 0; gbc.gridx = 0;
gbc.gridy = 0; gbc.gridy = 0;
mainPanel.add(new JLabel("Look for:"), gbc); mainPanel.add(new JLabel(LOOK_FOR + ":"), gbc);
gbc.gridx = 1; gbc.gridx = 1;
gbc.fill = GridBagConstraints.HORIZONTAL; gbc.fill = GridBagConstraints.HORIZONTAL;