Permalink
Browse files

update properties name

  • Loading branch information...
1 parent 435ec4e commit 4f1b8a17c46c18e9e3764ab58b444cd75db40c14 @taweili committed Jan 30, 2012
View
13 .settings/org.eclipse.jdt.core.prefs
@@ -1,5 +1,12 @@
-#Mon Jan 30 01:19:56 CST 2012
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+#Mon Jan 30 03:54:43 CST 2012
eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
View
4 src/main/java/com/ardublock/core/Context.java
@@ -13,7 +13,7 @@
public class Context
{
public final static String LANG_DTD_PATH = "/com/ardublock/block/lang_def.dtd";
- public final static String ARDUBLOCK_LANG_PATH = "/com/ardublock/block/ardublock_def.xml";
+ public final static String ARDUBLOCK_LANG_PATH = "/com/ardublock/block/ardublock.xml";
private static Context singletonContext;
@@ -55,7 +55,7 @@ private Context() {
workspaceController = new WorkspaceController();
workspaceController.resetWorkspace();
workspaceController.resetLanguage();
- workspaceController.setLangResourceBundle(ResourceBundle.getBundle("com/ardublock/block/ardublock_def"));
+ workspaceController.setLangResourceBundle(ResourceBundle.getBundle("com/ardublock/block/ardublock"));
workspaceController.setLangDefDtd(this.getClass().getResourceAsStream(LANG_DTD_PATH));
workspaceController.setLangDefStream(this.getClass().getResourceAsStream(ARDUBLOCK_LANG_PATH));
workspaceController.loadFreshWorkspace();
View
0 .../ardublock/block/ardublock_def.properties → .../com/ardublock/block/ardublock.properties
File renamed without changes.
View
0 ...ces/com/ardublock/block/ardublock_def.xml → ...sources/com/ardublock/block/ardublock.xml
File renamed without changes.
View
1 src/main/resources/com/ardublock/block/ardublock_es.properties
@@ -0,0 +1 @@
+
View
148 src/main/resources/com/ardublock/block/ardublock_es_ES.properties
@@ -0,0 +1,148 @@
+# BlockDrawer name
+
+bc.angle=\u00b7ngulo
+bc.base=base
+bc.condition=condici\u00dbn
+bc.else=entones
+bc.exponent=exponente
+bc.from=de
+bc.level=nivel
+bc.max=max
+bc.microseconds=microsegundos
+bc.milliseconds=milisegundos
+# BlockConnector label
+bc.pin_number=pin#
+bc.status=estado
+bc.test=test
+bc.then=entonces
+bc.to=a
+bc.value=valor
+bc.variable=variable
+bd.control=Control
+bd.dfrobot=DFRobot
+bd.number=N\u02d9mero/Constantes
+bd.operators=Operadores
+bd.pins=Pins
+bd.seeedstudio=Seeedstudio Grove
+bd.tinkerkit=TinkerKit Blocks
+bd.utilities=Utilidades
+# BlockGenus initlabel
+bg.Tinker_Accmeter=Aceler\u00dbmetro
+bg.Tinker_Button=Bot\u00dbn
+bg.Tinker_Hall=Hall
+bg.Tinker_I0=I0
+bg.Tinker_I1=I1
+bg.Tinker_I2=I2
+bg.Tinker_I3=I3
+bg.Tinker_I4=I4
+bg.Tinker_I5=I5
+bg.Tinker_LDR=LDR
+bg.Tinker_LED=LED
+bg.Tinker_LED_pwm=LED
+bg.Tinker_LinearPotentiometer=Potenci\u00dbmetro Lineal
+bg.Tinker_Mosfet=Mosfet
+bg.Tinker_Mosfet_pwm=Mosfet
+bg.Tinker_O0=O0
+bg.Tinker_O1=O1
+bg.Tinker_O2=O2
+bg.Tinker_O3=O3
+bg.Tinker_O4=O4
+bg.Tinker_O5=O5
+bg.Tinker_Relay=Rel\u00c8
+bg.Tinker_RotaryPotentiometer=Potenci\u00dbmetro Rotativo
+bg.Tinker_Servo=Servo
+bg.Tinker_Thermistor=Termistor
+bg.Tinker_Tilt=Tilt
+bg.Tinker_Touch=Pulsador
+bg.abs=abs
+bg.addition=+
+bg.and=and
+bg.cos=cos
+bg.delay=retardo
+bg.delay_microseconds=retardoMicrosegundos
+bg.df_360_degree_rotation_motor=motor de 360 grados de rotaci\u00dbn
+bg.df_adjustable_infrared_sensor_switch=Interruptor Sensor de Infrarrojos ajustable
+bg.df_analog_ambient_light_sensor=Sensor Anal\u00dbgico de Luz Ambiente
+bg.df_analog_gas_sensor=Sensor Anal\u00dbgico de Gas
+bg.df_analog_grayscale_sensor=Sensor Anal\u00dbgico de Escala de Grises
+bg.df_analog_rotation_sensor_v1=Sensor Anal\u00dbgico de Rotaci\u00dbn V1
+bg.df_analog_rotation_sensor_v2=Sensor Anal\u00dbgico de Rotaci\u00dbn V2
+bg.df_analog_sound_sensor=Sensor Anal\u00dbgico de Sonido
+bg.df_capacitive_touch_sensor=Sensor Capacitivo de Contacto
+bg.df_digital_infrared_motion_sensor=Sensor Digital Infrarrojo de Movimiento
+bg.df_digital_ir_receiver_module=Modulo Digital Receptor de IR (Infrarrojos)
+bg.df_digital_push_button=Bot\u00dbn Pulsador Digital
+bg.df_digital_viberation_sensor=Sensor Digital de Vibraci\u00dbn
+bg.df_flame_sensor=Sensor de Fuego
+bg.df_joystick_module_button=Modulo de JoyStick Pulsador
+bg.df_joystick_module_x=Modulo Joystick (Eje-X)
+bg.df_joystick_module_y=M\u00dbdulo Joystick (Eje-Y)
+bg.df_led=M\u00dbdulo LED
+bg.df_led_pwm=LED con brillo
+bg.df_line_tracking_sensor=Sensor Rastreador de Linea
+bg.df_mma7260_x=Aceler\u00dbmetro de Tres Ejes MMA7260 (Eje-X)
+bg.df_mma7260_y=Aceler\u00dbmetro de Tres Ejes MMA7260 (Eje-Y)
+bg.df_mma7260_z=Aceler\u00dbmetro de Tres Ejes MMA7260 (Eje-Z)
+bg.df_piranha_led=M\u00dbdulo Led Piranha
+bg.df_piranha_led_pwm=Modulo Led Piranha con brillo
+bg.df_pizeo_disk_vibration_sensor=Sensor de Vibraci\u00dbn Piezoel\u00c8ctrico de Disco
+bg.df_relay=Rel\u00c8
+bg.df_servo=DFRobot Servo
+bg.df_temperature_sensor=Sensor Temperatura
+bg.digital-high=HIGH
+bg.digital-low=LOW
+bg.digital-off=OFF
+bg.digital-on=ON
+bg.division=\u221a\u2211
+bg.equal==
+bg.false=FALSE
+bg.glue_sb=glue
+bg.glue_sn=glue
+bg.greater=>
+bg.greater_equal=>=
+bg.if=si
+bg.ifelse=si/entonces
+bg.less=<
+bg.less_equal=<=
+bg.loop=loop
+bg.map=map
+bg.map_common=map [0, 1024] to [0, 255]
+bg.max=max
+bg.message=mensaje
+bg.millis=milis
+bg.min=min
+bg.modulo=%
+bg.multiplication=x
+bg.not=no
+bg.not_equal=!=
+bg.number=1
+bg.or=or
+bg.pin-read-analog=pin anal\u00dbgico
+bg.pin-read-digital=pin digital
+bg.pin-write-analog=configura pin anal\u00dbgico
+bg.pin-write-digital=configura pin digital
+bg.pow=potencia
+bg.random=aleatorio
+bg.repeat_times=repite
+bg.seeed_joystick=Grove Thumb Joystick
+bg.seeed_joystick_button=Grove Thumb Joystick Button
+bg.serial_println=imprime en puerto serie
+bg.servo=Servo
+bg.setter_variable_digital=configura variable digital
+bg.setter_variable_number=configura variable num\u00c8rica
+bg.sin=sen
+bg.sqrt=raiz cuadrada
+bg.subtraction=-
+bg.tan=tan
+bg.true=TRUE
+bg.ultrasonic=ultrasonico
+bg.variable_digital=nombre variable digital
+bg.variable_number=nombre variable num\u00c8rica
+bg.while=mientras que
+bg.wire_isread=I2C leer ok?
+bg.wire_read=I2C Lee
+bg.wire_write=I2C Escribe
+bg.xcj_motor_backward=controlador motor <br> hacia atras
+bg.xcj_motor_forward=controlador motor <br> hacia delante
+bg.xcj_ms_digital_read=Xinchejian digitalLeer
+bg.xcj_ms_digital_write=Xinchejian digitalEscribir

0 comments on commit 4f1b8a1

Please sign in to comment.