i18n fixes

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@8988 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Thiago Camargo
2007-08-22 21:24:48 +00:00
committed by thiago
parent 76f10da5c1
commit 7557a62655
3 changed files with 5 additions and 4 deletions

View File

@ -11,6 +11,7 @@
package org.jivesoftware.spark.filetransfer.preferences;
import org.jivesoftware.resource.SparkRes;
import org.jivesoftware.resource.Res;
import org.jivesoftware.smackx.filetransfer.OutgoingFileTransfer;
import org.jivesoftware.spark.SparkManager;
import org.jivesoftware.spark.preference.Preference;
@ -43,7 +44,7 @@ public class FileTransferPreference implements Preference {
}
public String getTitle() {
return "File Transfer Preferences";
return Res.getString("title.file.transfer.preferences");
}
public Icon getIcon() {
@ -55,7 +56,7 @@ public class FileTransferPreference implements Preference {
}
public String getListName() {
return "File Transfer";
return Res.getString("title.file.transfer");
}
public String getNamespace() {

View File

@ -204,7 +204,7 @@ public class PhoneManager implements ChatRoomListener, ContextMenuListener {
public void finished() {
if (actions.size() > 0) {
final JMenu dialMenu = new JMenu("Dial");
final JMenu dialMenu = new JMenu(Res.getString("title.dial.phone"));
dialMenu.setIcon(SparkRes.getImageIcon(SparkRes.DIAL_PHONE_IMAGE_16x16));
for (Action action : actions) {

View File

@ -50,7 +50,7 @@ public class NotificationsUI extends JPanel {
onlineNotificationBox = new JCheckBox("Notify when a user comes online.");
add(onlineNotificationBox);
betaCheckBox = new JCheckBox("Check for Beta Updates");
betaCheckBox = new JCheckBox( Res.getString("menuitem.check.for.updates"));
add(betaCheckBox);
}