Bug 1123088 - Label for calendar alarm preview button should be "play";r=philipp
authorMakeMyDay <makemyday@gmx-topmail.de>
Sun, 18 Jan 2015 20:54:47 +0100
changeset 17389 7b1909b28a49128b9c4a4cb14d02abaf88a894e6
parent 17388 ea0971b413f371bfa7b2c3047299c1f1b3b619ee
child 17390 181fc12cf180f474638c72c0c592293e06052f3f
push id10720
push usermozilla@kewis.ch
push dateFri, 23 Jan 2015 00:44:27 +0000
treeherdercomm-central@ff705d73c703 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersphilipp
bugs1123088
Bug 1123088 - Label for calendar alarm preview button should be "play";r=philipp
calendar/base/content/preferences/alarms.js
calendar/base/content/preferences/alarms.xul
calendar/locales/en-US/chrome/calendar/preferences/alarms.dtd
--- a/calendar/base/content/preferences/alarms.js
+++ b/calendar/base/content/preferences/alarms.js
@@ -122,15 +122,15 @@ var gAlarmsPane = {
      */
     alarmsPlaySoundPrefChanged: function gAP_alarmsPlaySoundPrefChanged() {
         var alarmsPlaySoundPref =
             document.getElementById("calendar.alarms.playsound");
 
         var items = [document.getElementById("alarmSoundFileField"),
                      document.getElementById("calendar.prefs.alarm.sound.useDefault"),
                      document.getElementById("calendar.prefs.alarm.sound.browse"),
-                     document.getElementById("calendar.prefs.alarm.sound.preview")];
+                     document.getElementById("calendar.prefs.alarm.sound.play")];
 
         for (var i=0; i < items.length; i++) {
             items[i].disabled = !alarmsPlaySoundPref.value;
         }
     }
 };
--- a/calendar/base/content/preferences/alarms.xul
+++ b/calendar/base/content/preferences/alarms.xul
@@ -79,19 +79,19 @@
                     <button id="calendar.prefs.alarm.sound.useDefault"
                             label="&pref.calendar.alarms.sound.useDefault.label;"
                             accesskey="&pref.calendar.alarms.sound.useDefault.accessKey;"
                             oncommand="gAlarmsPane.useDefaultSound()"/>
                     <button id="calendar.prefs.alarm.sound.browse"
                             label="&pref.calendar.alarms.sound.browse.label;"
                             accesskey="&pref.calendar.alarms.sound.browse.accessKey;"
                             oncommand="gAlarmsPane.browseAlarm()"/>
-                    <button id="calendar.prefs.alarm.sound.preview"
-                            label="&pref.calendar.alarms.sound.preview.label;"
-                            accesskey="&pref.calendar.alarms.sound.preview.accessKey;"
+                    <button id="calendar.prefs.alarm.sound.play"
+                            label="&pref.calendar.alarms.sound.play.label;"
+                            accesskey="&pref.calendar.alarms.sound.play.accessKey;"
                             oncommand="gAlarmsPane.previewAlarm()"/>
                 </hbox>
             </vbox>
             <hbox align="center" flex="1">
                 <checkbox id="alarmshow"
                           preference="calendar.alarms.show"
                           label="&pref.showalarmbox;"
                           accesskey="&pref.calendar.alarms.showAlarmBox.accessKey;"/>
--- a/calendar/locales/en-US/chrome/calendar/preferences/alarms.dtd
+++ b/calendar/locales/en-US/chrome/calendar/preferences/alarms.dtd
@@ -9,18 +9,18 @@
 
 <!ENTITY pref.alarmgoesoff.label "When a Reminder is Due:">
 <!ENTITY pref.playasound "Play a sound">
 <!ENTITY pref.calendar.alarms.playsound.accessKey "s">
 <!ENTITY pref.calendar.alarms.sound.useDefault.label "Use default sound">
 <!ENTITY pref.calendar.alarms.sound.useDefault.accessKey "d">
 <!ENTITY pref.calendar.alarms.sound.browse.label "Browse…">
 <!ENTITY pref.calendar.alarms.sound.browse.accessKey "B">
-<!ENTITY pref.calendar.alarms.sound.preview.label "Preview">
-<!ENTITY pref.calendar.alarms.sound.preview.accessKey "P">
+<!ENTITY pref.calendar.alarms.sound.play.label "Play">
+<!ENTITY pref.calendar.alarms.sound.play.accessKey "P">
 <!ENTITY pref.showalarmbox "Show the reminder dialog">
 <!ENTITY pref.calendar.alarms.showAlarmBox.accessKey "x">
 <!ENTITY pref.missedalarms "Show missed reminders">
 <!ENTITY pref.calendar.alarms.missedAlarms.accessKey "m">
 <!ENTITY pref.calendar.alarms.defaults.label "Reminder Defaults">
 <!ENTITY pref.defalarm4events.label "Default reminder setting for events:">
 <!ENTITY pref.defalarm4events.accesskey "e">
 <!ENTITY pref.defalarm4todos.label "Default reminder setting for tasks:">