Skip to content

Commit

Permalink
fix and enhance RasterStyles plugin...
Browse files Browse the repository at this point in the history
includes Peppe's fixes from
#129
- fix #112 (Single Use > Raster Styles classification doesn't work)
- reformatted to indent with spaces instead of tabs
- renamed language keys to something meaningful

reworked to use OJ I18N API
removed obsolete netbeans *.form templates
- does not support our i18n class
- generated java sources were edited inbetween anyway
moved translation properties to default OJ location under language/
fixed styler_es.properties "Malformed \uxxxx encoding."
removed some double entries in several language files
  • Loading branch information
edeso committed Jul 21, 2024
1 parent 88ad8d5 commit 533fa48
Show file tree
Hide file tree
Showing 24 changed files with 565 additions and 2,680 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,5 @@ IntervalPanel.jButton.AddRow=Add row
IntervalPanel.jButton.RemoveRow=Remove row
org.openjump.core.rasterimage.styler.ui.SingleValuesPanel.jButton_RampAll=Ramp all
org.openjump.core.rasterimage.styler.ui.IntervalPanel.numberOfClassesError=Please insert a valid number of classes.
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.no_stretched_only_one_value=No stretched/interval classification, the raster has only one class of values: {0}
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.no_single_too_many_values=Too many value classes ({0})! Use stretched or interval.
Original file line number Diff line number Diff line change
@@ -1,75 +1,75 @@
#Bundle_de.properties
#Bundle_en.properties
IntervalPanel.jButton.AddRow=\#T\:Add row
IntervalPanel.jButton.Ramp=\#T\:Ramp
IntervalPanel.jButton.RampAll=\#T\:Ramp all
IntervalPanel.jButton.RemoveRow=\#T\:Remove row
IntervalPanel.jLabel.Classes=\#T\:Classes\:
IntervalPanel.jLabel.method=\#T\:Method\:
org.openjump.core.rasterimage.styler.RasterStylesExtension.Name=\#T\:Raster styles...
org.openjump.core.rasterimage.styler.ui.ColorEditor.Cancel=\#T\:Cancel
org.openjump.core.rasterimage.styler.ui.ColorEditor.edit=\#T\:edit
org.openjump.core.rasterimage.styler.ui.ColorEditor.Ok=\#T\:Ok
org.openjump.core.rasterimage.styler.ui.ColorEditor.PickAColor=\#T\:Pick a color
org.openjump.core.rasterimage.styler.ui.ColorEditor.Transparent=\#T\:Transparent
org.openjump.core.rasterimage.styler.ui.ColorsTablePanel.Color=\#T\:Color
org.openjump.core.rasterimage.styler.ui.ColorsTablePanel.ErrorInTable=\#T\:Error in table\:
org.openjump.core.rasterimage.styler.ui.ColorsTablePanel.MinValue=\#T\:Min. value
org.openjump.core.rasterimage.styler.ui.ColorsTablePanel.Value=\#T\:Value
org.openjump.core.rasterimage.styler.ui.CustomGradientColorsDialog.jButton_AddRow.text=\#T\:Add row
org.openjump.core.rasterimage.styler.ui.CustomGradientColorsDialog.jButton_Cancel.text=\#T\:Cancel
org.openjump.core.rasterimage.styler.ui.CustomGradientColorsDialog.jButton_Ok.text=\#T\:Ok
org.openjump.core.rasterimage.styler.ui.CustomGradientColorsDialog.jButton_RemoveRow.text=\#T\:Remove row
org.openjump.core.rasterimage.styler.ui.CustomGradientColorsDialog.jLabel_Max.text=\#T\:Max
org.openjump.core.rasterimage.styler.ui.CustomGradientColorsDialog.jLabel_Min.text=\#T\:Min
org.openjump.core.rasterimage.styler.ui.GradientTablePanel.ColorsNumber.message=\#T\:The colors must be at least two.
org.openjump.core.rasterimage.styler.ui.GradientTablePanel.FractionValues.message=\#T\:The values must be in ascending order \n and must not be equal values.
org.openjump.core.rasterimage.styler.ui.IntervalPanel.classMethods.EqualInterval=\#T\:Equal interval
org.openjump.core.rasterimage.styler.ui.IntervalPanel.classMethods.EqualInterval.SelectTowRowsToRamp=\#T\:You need to selected two rows to ramp the colours between them.
org.openjump.core.rasterimage.styler.ui.IntervalPanel.classMethods.GivenInterval=\#T\:Given interval
org.openjump.core.rasterimage.styler.ui.IntervalPanel.classMethods.Jenks=\#T\:Jenks
org.openjump.core.rasterimage.styler.ui.IntervalPanel.classMethods.MaxBreaks=\#T\:Max breaks
org.openjump.core.rasterimage.styler.ui.IntervalPanel.classMethods.MeanStDev=\#T\:Mean st. dev.
org.openjump.core.rasterimage.styler.ui.IntervalPanel.classMethods.Quantiles=\#T\:Quantiles
org.openjump.core.rasterimage.styler.ui.IntervalPanel.jButton.AddRow=\#T\:Add row
org.openjump.core.rasterimage.styler.ui.IntervalPanel.jButton.Ramp=\#T\:Ramp
org.openjump.core.rasterimage.styler.ui.IntervalPanel.jButton.RampAll=\#T\:Ramp all
org.openjump.core.rasterimage.styler.ui.IntervalPanel.jButton.RemoveRow=\#T\:Remove row
org.openjump.core.rasterimage.styler.ui.IntervalPanel.jLabel.Classes=\#T\:Classes\:
org.openjump.core.rasterimage.styler.ui.IntervalPanel.jLabel.classwidth=\#T\:Interval
org.openjump.core.rasterimage.styler.ui.IntervalPanel.jLabel.method=\#T\:Method\:
org.openjump.core.rasterimage.styler.ui.IntervalPanel.message.ErrorWhileClassifying=\#T\:Error while classifiyng data.
org.openjump.core.rasterimage.styler.ui.NoDataValueDialog.jButton_Cancel.text=\#T\:Cancel
org.openjump.core.rasterimage.styler.ui.NoDataValueDialog.jButton_Memorize.text=\#T\:Memorize
org.openjump.core.rasterimage.styler.ui.NoDataValueDialog.jLabel_Message.text=\#T\:Set noData raster value.
org.openjump.core.rasterimage.styler.ui.NoDataValueDialog.jTextField_NoDataValue.text=\#T\:-9999.0
org.openjump.core.rasterimage.styler.ui.NoDataValueDialog.Values.message=\#T\:The value entered is not valid.
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.chooseNoDataColor=\#T\:Choose color for nodata
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.fileChooser.sld=\#T\:SLD Style files
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.jButton_Apply.text=\#T\:Apply
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.jButton_Cancel.text=\#T\:Close
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.jButton_Load.text=\#T\:Load
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.jButton_OK.text=OK
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.jButton_Restore.text=\#T\:Restore
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.jButton_Save.text=\#T\:Save
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.jCheckBox_NoDataValue.text=\#T\:NoData value\:
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.jLabel_Transparency.text=\#T\:Transparency (%)\:
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.jTextField_TranspValue.text=0
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.tabIntervals=\#T\:Intervals
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.tabSingleValues=\#T\:Single values
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.tabStretched=\#T\:Stretched
org.openjump.core.rasterimage.styler.ui.SingleValuesPanel.jButton_Ramp=\#T\:Ramp
org.openjump.core.rasterimage.styler.ui.SingleValuesPanel.jButton_RampAll=\#T\:Ramp all
org.openjump.core.rasterimage.styler.ui.SingleValuesPanel.jButton_Random=\#T\:Random
org.openjump.core.rasterimage.styler.ui.SingleValuesPanel.message.SelectTwoRows=\#T\:You need to selected two rows to ramp colors.
org.openjump.core.rasterimage.styler.ui.StretchedPanel.jButton_custom.text=\#T\:Custom
org.openjump.core.rasterimage.styler.ui.StretchedPanel.jButton_Custom.text=\#T\:Custom
org.openjump.core.rasterimage.styler.ui.StretchedPanel.jCheckBox_Invert.text=\#T\:Invert ramp
org.openjump.core.rasterimage.styler.ui.StretchedPanel.jLabel_Label.text=\#T\:Label
org.openjump.core.rasterimage.styler.ui.StretchedPanel.jLabel_MaxLabel.text=\#T\:Max\:
org.openjump.core.rasterimage.styler.ui.StretchedPanel.jLabel_MaxValue.text=0.0
org.openjump.core.rasterimage.styler.ui.StretchedPanel.jLabel_MinLabel.text=\#T\:Min\:
org.openjump.core.rasterimage.styler.ui.StretchedPanel.jLabel_MinValue.text=0.0
org.openjump.core.rasterimage.styler.ui.StretchedPanel.jLabel_Value.text=\#T\:Value
org.openjump.core.rasterimage.styler.ui.StretchedPanel.jTextField_MaxLabel.text=\#T\:Max
org.openjump.core.rasterimage.styler.ui.StretchedPanel.jTextField_MinLabel.text=\#T\:Min
IntervalPanel.jButton.AddRow=\#T\:Add row
IntervalPanel.jButton.Ramp=\#T\:Ramp
IntervalPanel.jButton.RampAll=\#T\:Ramp all
IntervalPanel.jButton.RemoveRow=\#T\:Remove row
IntervalPanel.jLabel.Classes=\#T\:Classes\:
IntervalPanel.jLabel.method=\#T\:Method\:
org.openjump.core.rasterimage.styler.RasterStylesExtension.Name=\#T\:Raster styles...
org.openjump.core.rasterimage.styler.ui.ColorEditor.Cancel=\#T\:Cancel
org.openjump.core.rasterimage.styler.ui.ColorEditor.edit=\#T\:edit
org.openjump.core.rasterimage.styler.ui.ColorEditor.Ok=\#T\:Ok
org.openjump.core.rasterimage.styler.ui.ColorEditor.PickAColor=\#T\:Pick a color
org.openjump.core.rasterimage.styler.ui.ColorEditor.Transparent=\#T\:Transparent
org.openjump.core.rasterimage.styler.ui.ColorsTablePanel.Color=\#T\:Color
org.openjump.core.rasterimage.styler.ui.ColorsTablePanel.ErrorInTable=\#T\:Error in table\:
org.openjump.core.rasterimage.styler.ui.ColorsTablePanel.MinValue=\#T\:Min. value
org.openjump.core.rasterimage.styler.ui.ColorsTablePanel.Value=\#T\:Value
org.openjump.core.rasterimage.styler.ui.CustomGradientColorsDialog.jButton_AddRow.text=\#T\:Add row
org.openjump.core.rasterimage.styler.ui.CustomGradientColorsDialog.jButton_Cancel.text=\#T\:Cancel
org.openjump.core.rasterimage.styler.ui.CustomGradientColorsDialog.jButton_Ok.text=\#T\:Ok
org.openjump.core.rasterimage.styler.ui.CustomGradientColorsDialog.jButton_RemoveRow.text=\#T\:Remove row
org.openjump.core.rasterimage.styler.ui.CustomGradientColorsDialog.jLabel_Max.text=\#T\:Max
org.openjump.core.rasterimage.styler.ui.CustomGradientColorsDialog.jLabel_Min.text=\#T\:Min
org.openjump.core.rasterimage.styler.ui.GradientTablePanel.ColorsNumber.message=\#T\:The colors must be at least two.
org.openjump.core.rasterimage.styler.ui.GradientTablePanel.FractionValues.message=\#T\:The values must be in ascending order \n and must not be equal values.
org.openjump.core.rasterimage.styler.ui.IntervalPanel.classMethods.EqualInterval=\#T\:Equal interval
org.openjump.core.rasterimage.styler.ui.IntervalPanel.classMethods.EqualInterval.SelectTowRowsToRamp=\#T\:You need to selected two rows to ramp the colours between them.
org.openjump.core.rasterimage.styler.ui.IntervalPanel.classMethods.GivenInterval=\#T\:Given interval
org.openjump.core.rasterimage.styler.ui.IntervalPanel.classMethods.Jenks=\#T\:Jenks
org.openjump.core.rasterimage.styler.ui.IntervalPanel.classMethods.MaxBreaks=\#T\:Max breaks
org.openjump.core.rasterimage.styler.ui.IntervalPanel.classMethods.MeanStDev=\#T\:Mean st. dev.
org.openjump.core.rasterimage.styler.ui.IntervalPanel.classMethods.Quantiles=\#T\:Quantiles
org.openjump.core.rasterimage.styler.ui.IntervalPanel.jButton.AddRow=\#T\:Add row
org.openjump.core.rasterimage.styler.ui.IntervalPanel.jButton.Ramp=\#T\:Ramp
org.openjump.core.rasterimage.styler.ui.IntervalPanel.jButton.RampAll=\#T\:Ramp all
org.openjump.core.rasterimage.styler.ui.IntervalPanel.jButton.RemoveRow=\#T\:Remove row
org.openjump.core.rasterimage.styler.ui.IntervalPanel.jLabel.Classes=\#T\:Classes\:
org.openjump.core.rasterimage.styler.ui.IntervalPanel.jLabel.classwidth=\#T\:Interval
org.openjump.core.rasterimage.styler.ui.IntervalPanel.jLabel.method=\#T\:Method\:
org.openjump.core.rasterimage.styler.ui.IntervalPanel.message.ErrorWhileClassifying=\#T\:Error while classifiyng data.
org.openjump.core.rasterimage.styler.ui.NoDataValueDialog.jButton_Cancel.text=\#T\:Cancel
org.openjump.core.rasterimage.styler.ui.NoDataValueDialog.jButton_Memorize.text=\#T\:Memorize
org.openjump.core.rasterimage.styler.ui.NoDataValueDialog.jLabel_Message.text=\#T\:Set noData raster value.
org.openjump.core.rasterimage.styler.ui.NoDataValueDialog.jTextField_NoDataValue.text=\#T\:-9999.0
org.openjump.core.rasterimage.styler.ui.NoDataValueDialog.Values.message=\#T\:The value entered is not valid.
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.chooseNoDataColor=\#T\:Choose color for nodata
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.fileChooser.sld=\#T\:SLD Style files
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.jButton_Apply.text=\#T\:Apply
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.jButton_Cancel.text=\#T\:Close
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.jButton_Load.text=\#T\:Load
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.jButton_OK.text=OK
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.jButton_Restore.text=\#T\:Restore
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.jButton_Save.text=\#T\:Save
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.jCheckBox_NoDataValue.text=\#T\:NoData value\:
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.jLabel_Transparency.text=\#T\:Transparency (%)\:
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.jTextField_TranspValue.text=0
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.tabIntervals=\#T\:Intervals
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.tabSingleValues=\#T\:Single values
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.tabStretched=\#T\:Stretched
org.openjump.core.rasterimage.styler.ui.SingleValuesPanel.jButton_Ramp=\#T\:Ramp
org.openjump.core.rasterimage.styler.ui.SingleValuesPanel.jButton_RampAll=\#T\:Ramp all
org.openjump.core.rasterimage.styler.ui.SingleValuesPanel.jButton_Random=\#T\:Random
org.openjump.core.rasterimage.styler.ui.SingleValuesPanel.message.SelectTwoRows=\#T\:You need to selected two rows to ramp colors.
org.openjump.core.rasterimage.styler.ui.StretchedPanel.jButton_custom.text=\#T\:Custom
org.openjump.core.rasterimage.styler.ui.StretchedPanel.jButton_Custom.text=\#T\:Custom
org.openjump.core.rasterimage.styler.ui.StretchedPanel.jCheckBox_Invert.text=\#T\:Invert ramp
org.openjump.core.rasterimage.styler.ui.StretchedPanel.jLabel_Label.text=\#T\:Label
org.openjump.core.rasterimage.styler.ui.StretchedPanel.jLabel_MaxLabel.text=\#T\:Max\:
org.openjump.core.rasterimage.styler.ui.StretchedPanel.jLabel_MaxValue.text=0.0
org.openjump.core.rasterimage.styler.ui.StretchedPanel.jLabel_MinLabel.text=\#T\:Min\:
org.openjump.core.rasterimage.styler.ui.StretchedPanel.jLabel_MinValue.text=0.0
org.openjump.core.rasterimage.styler.ui.StretchedPanel.jLabel_Value.text=\#T\:Value
org.openjump.core.rasterimage.styler.ui.StretchedPanel.jTextField_MaxLabel.text=\#T\:Max
org.openjump.core.rasterimage.styler.ui.StretchedPanel.jTextField_MinLabel.text=\#T\:Min
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.no_stretched_only_one_value=#T:No stretched/interval classification, the raster has only one class of values: {0}
org.openjump.core.rasterimage.styler.ui.RasterStylesDialog.no_single_too_many_values=#T:Too many value classes ({0})! Use stretched or interval.
Loading

0 comments on commit 533fa48

Please sign in to comment.