At David Germano's request, Jskad's UI now uses
'Tibetan Machine Web (non-Unicode)' rather than 'Tibetan'. I often use the term 'Tibetan' to mean 'Tibetan (either in Unicode, TM or TMW in RTF, or any other scheme where it appears as Tibetan instead of Roman transliteration'. So this is a good change in my opinion, though 'TMW' or 'Legacy TMW' is shorter.
This commit is contained in:
parent
06d93082cb
commit
9507ff3694
2 changed files with 21 additions and 14 deletions
|
@ -433,7 +433,7 @@ public class Jskad extends JPanel implements DocumentListener {
|
||||||
JMenu toolsMenu = new JMenu("Tools");
|
JMenu toolsMenu = new JMenu("Tools");
|
||||||
|
|
||||||
JMenu convertSelectionMenu = new JMenu("Convert Selection");
|
JMenu convertSelectionMenu = new JMenu("Convert Selection");
|
||||||
JMenuItem TMWWylieItem = new JMenuItem("Convert Tibetan to Wylie");
|
JMenuItem TMWWylieItem = new JMenuItem("Convert Tibetan Machine Web (non-Unicode) to Wylie");
|
||||||
TMWWylieItem.addActionListener(new ThdlActionListener() {
|
TMWWylieItem.addActionListener(new ThdlActionListener() {
|
||||||
public void theRealActionPerformed(ActionEvent e) {
|
public void theRealActionPerformed(ActionEvent e) {
|
||||||
toTranslit(true);
|
toTranslit(true);
|
||||||
|
@ -442,7 +442,7 @@ public class Jskad extends JPanel implements DocumentListener {
|
||||||
convertSelectionMenu.add(TMWWylieItem);
|
convertSelectionMenu.add(TMWWylieItem);
|
||||||
toolsMenu.add(convertSelectionMenu);
|
toolsMenu.add(convertSelectionMenu);
|
||||||
|
|
||||||
JMenuItem TMWACIPItem = new JMenuItem("Convert Tibetan to ACIP");
|
JMenuItem TMWACIPItem = new JMenuItem("Convert Tibetan Machine Web (non-Unicode) to ACIP");
|
||||||
TMWACIPItem.addActionListener(new ThdlActionListener() {
|
TMWACIPItem.addActionListener(new ThdlActionListener() {
|
||||||
public void theRealActionPerformed(ActionEvent e) {
|
public void theRealActionPerformed(ActionEvent e) {
|
||||||
toTranslit(false);
|
toTranslit(false);
|
||||||
|
@ -451,7 +451,7 @@ public class Jskad extends JPanel implements DocumentListener {
|
||||||
convertSelectionMenu.add(TMWACIPItem);
|
convertSelectionMenu.add(TMWACIPItem);
|
||||||
toolsMenu.add(convertSelectionMenu);
|
toolsMenu.add(convertSelectionMenu);
|
||||||
|
|
||||||
JMenuItem wylieTMWItem = new JMenuItem("(Buggy) Convert Wylie to Tibetan");
|
JMenuItem wylieTMWItem = new JMenuItem("(Buggy) Convert Wylie to Tibetan Machine Web (non-Unicode)");
|
||||||
wylieTMWItem.addActionListener(new ThdlActionListener() {
|
wylieTMWItem.addActionListener(new ThdlActionListener() {
|
||||||
public void theRealActionPerformed(ActionEvent e) {
|
public void theRealActionPerformed(ActionEvent e) {
|
||||||
toTibetan(false, true);
|
toTibetan(false, true);
|
||||||
|
@ -459,7 +459,7 @@ public class Jskad extends JPanel implements DocumentListener {
|
||||||
});
|
});
|
||||||
convertSelectionMenu.add(wylieTMWItem);
|
convertSelectionMenu.add(wylieTMWItem);
|
||||||
|
|
||||||
JMenuItem ACIPTMWItem = new JMenuItem("Convert ACIP to Tibetan (no warnings)");
|
JMenuItem ACIPTMWItem = new JMenuItem("Convert ACIP to Tibetan Machine Web (non-Unicode) (no warnings)");
|
||||||
ACIPTMWItem.addActionListener(new ThdlActionListener() {
|
ACIPTMWItem.addActionListener(new ThdlActionListener() {
|
||||||
public void theRealActionPerformed(ActionEvent e) {
|
public void theRealActionPerformed(ActionEvent e) {
|
||||||
toTibetan(true, false);
|
toTibetan(true, false);
|
||||||
|
@ -467,7 +467,7 @@ public class Jskad extends JPanel implements DocumentListener {
|
||||||
});
|
});
|
||||||
convertSelectionMenu.add(ACIPTMWItem);
|
convertSelectionMenu.add(ACIPTMWItem);
|
||||||
|
|
||||||
JMenuItem ACIPTMWWarnItem = new JMenuItem("Convert ACIP to Tibetan (with pedantic warnings)");
|
JMenuItem ACIPTMWWarnItem = new JMenuItem("Convert ACIP to Tibetan Machine Web (non-Unicode) (with pedantic warnings)");
|
||||||
ACIPTMWWarnItem.addActionListener(new ThdlActionListener() {
|
ACIPTMWWarnItem.addActionListener(new ThdlActionListener() {
|
||||||
public void theRealActionPerformed(ActionEvent e) {
|
public void theRealActionPerformed(ActionEvent e) {
|
||||||
toTibetan(true, true);
|
toTibetan(true, true);
|
||||||
|
@ -477,7 +477,7 @@ public class Jskad extends JPanel implements DocumentListener {
|
||||||
|
|
||||||
JMenu convertAllMenu = new JMenu("Convert All");
|
JMenu convertAllMenu = new JMenu("Convert All");
|
||||||
|
|
||||||
JMenuItem toTMItem = new JMenuItem("Convert Tibetan to TM"); // DLC FIXME: do it just in the selection?
|
JMenuItem toTMItem = new JMenuItem("Convert Tibetan Machine Web (non-Unicode) to TM"); // DLC FIXME: do it just in the selection?
|
||||||
toTMItem.addActionListener(new ThdlActionListener() {
|
toTMItem.addActionListener(new ThdlActionListener() {
|
||||||
public void theRealActionPerformed(ActionEvent e) {
|
public void theRealActionPerformed(ActionEvent e) {
|
||||||
StringBuffer errors = new StringBuffer();
|
StringBuffer errors = new StringBuffer();
|
||||||
|
@ -489,7 +489,7 @@ public class Jskad extends JPanel implements DocumentListener {
|
||||||
JOptionPane.showMessageDialog(Jskad.this,
|
JOptionPane.showMessageDialog(Jskad.this,
|
||||||
"At least one error occurred while converting Tibetan Machine Web\nto Tibetan Machine. Your document is mostly converted,\nexcept for the following glyphs, which you should replace manually\nbefore retrying:\n"
|
"At least one error occurred while converting Tibetan Machine Web\nto Tibetan Machine. Your document is mostly converted,\nexcept for the following glyphs, which you should replace manually\nbefore retrying:\n"
|
||||||
+ errors.toString(),
|
+ errors.toString(),
|
||||||
"Tibetan to TM Errors",
|
"TMW to TM Errors",
|
||||||
JOptionPane.PLAIN_MESSAGE);
|
JOptionPane.PLAIN_MESSAGE);
|
||||||
} else {
|
} else {
|
||||||
if (numAttemptedReplacements[0] > 0) {
|
if (numAttemptedReplacements[0] > 0) {
|
||||||
|
@ -507,7 +507,7 @@ public class Jskad extends JPanel implements DocumentListener {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
JMenuItem toTMWItem = new JMenuItem("Convert TM to Tibetan"); // DLC FIXME: do it just in the selection?
|
JMenuItem toTMWItem = new JMenuItem("Convert TM to Tibetan Machine Web (non-Unicode)"); // DLC FIXME: do it just in the selection?
|
||||||
toTMWItem.addActionListener(new ThdlActionListener() {
|
toTMWItem.addActionListener(new ThdlActionListener() {
|
||||||
public void theRealActionPerformed(ActionEvent e) {
|
public void theRealActionPerformed(ActionEvent e) {
|
||||||
StringBuffer errors = new StringBuffer();
|
StringBuffer errors = new StringBuffer();
|
||||||
|
@ -519,7 +519,7 @@ public class Jskad extends JPanel implements DocumentListener {
|
||||||
JOptionPane.showMessageDialog(Jskad.this,
|
JOptionPane.showMessageDialog(Jskad.this,
|
||||||
"At least one error occurred while converting Tibetan Machine\nto Tibetan Machine Web. Your document is mostly converted,\nexcept for the following glyphs, which you should replace manually\nbefore retrying:\n"
|
"At least one error occurred while converting Tibetan Machine\nto Tibetan Machine Web. Your document is mostly converted,\nexcept for the following glyphs, which you should replace manually\nbefore retrying:\n"
|
||||||
+ errors.toString(),
|
+ errors.toString(),
|
||||||
"TM to Tibetan Errors", JOptionPane.PLAIN_MESSAGE);
|
"TM to TMW Errors", JOptionPane.PLAIN_MESSAGE);
|
||||||
} else {
|
} else {
|
||||||
if (numAttemptedReplacements[0] > 0) {
|
if (numAttemptedReplacements[0] > 0) {
|
||||||
JOptionPane.showMessageDialog(Jskad.this,
|
JOptionPane.showMessageDialog(Jskad.this,
|
||||||
|
@ -536,7 +536,7 @@ public class Jskad extends JPanel implements DocumentListener {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
JMenuItem toUnicodeItem = new JMenuItem("Convert Tibetan to Unicode"); // DLC FIXME: do it just in the selection?
|
JMenuItem toUnicodeItem = new JMenuItem("Convert Tibetan Machine Web (non-Unicode) to Unicode"); // DLC FIXME: do it just in the selection?
|
||||||
toUnicodeItem.addActionListener(new ThdlActionListener() {
|
toUnicodeItem.addActionListener(new ThdlActionListener() {
|
||||||
public void theRealActionPerformed(ActionEvent e) {
|
public void theRealActionPerformed(ActionEvent e) {
|
||||||
StringBuffer errors = new StringBuffer();
|
StringBuffer errors = new StringBuffer();
|
||||||
|
@ -549,7 +549,7 @@ public class Jskad extends JPanel implements DocumentListener {
|
||||||
JOptionPane.showMessageDialog(Jskad.this,
|
JOptionPane.showMessageDialog(Jskad.this,
|
||||||
"At least one error occurred while converting Tibetan Machine Web\nto Unicode. Your document is mostly converted,\nexcept for the following glyphs, which you should replace manually\nbefore retrying:\n"
|
"At least one error occurred while converting Tibetan Machine Web\nto Unicode. Your document is mostly converted,\nexcept for the following glyphs, which you should replace manually\nbefore retrying:\n"
|
||||||
+ errors.toString(),
|
+ errors.toString(),
|
||||||
"Tibetan to Unicode Errors", JOptionPane.PLAIN_MESSAGE);
|
"TMW to Unicode Errors", JOptionPane.PLAIN_MESSAGE);
|
||||||
} else {
|
} else {
|
||||||
if (numAttemptedReplacements[0] > 0) {
|
if (numAttemptedReplacements[0] > 0) {
|
||||||
JOptionPane.showMessageDialog(Jskad.this,
|
JOptionPane.showMessageDialog(Jskad.this,
|
||||||
|
@ -585,7 +585,7 @@ public class Jskad extends JPanel implements DocumentListener {
|
||||||
toolsMenu.add(converterItem);
|
toolsMenu.add(converterItem);
|
||||||
|
|
||||||
|
|
||||||
JMenuItem importItem = new JMenuItem("(Buggy) Import Wylie as Tibetan...");
|
JMenuItem importItem = new JMenuItem("(Buggy) Import Wylie as Tibetan Machine Web (non-Unicode)...");
|
||||||
importItem.addActionListener(new ThdlActionListener() {
|
importItem.addActionListener(new ThdlActionListener() {
|
||||||
public void theRealActionPerformed(ActionEvent e) {
|
public void theRealActionPerformed(ActionEvent e) {
|
||||||
importWylie();
|
importWylie();
|
||||||
|
@ -1211,7 +1211,7 @@ public class Jskad extends JPanel implements DocumentListener {
|
||||||
fileChooser.removeChoosableFileFilter(txtFilter);
|
fileChooser.removeChoosableFileFilter(txtFilter);
|
||||||
fileChooser.addChoosableFileFilter(rtfFilter);
|
fileChooser.addChoosableFileFilter(rtfFilter);
|
||||||
|
|
||||||
if (fileChooser.showDialog(Jskad.this, "Save as Tibetan") != JFileChooser.APPROVE_OPTION) {
|
if (fileChooser.showDialog(Jskad.this, "Save as Tibetan Machine Web (non-Unicode)") != JFileChooser.APPROVE_OPTION) {
|
||||||
setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
|
setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -180,7 +180,14 @@ href="#tmwtowylie">Converting Tibetan to Wylie</a>. -->
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Jskad lets you input Tibetan text according to several popular
|
Jskad lets you input Tibetan text according to several popular
|
||||||
keyboard input methods. The default keyboard is the <!-- <a
|
keyboard input methods. When you type, the Tibetan characters
|
||||||
|
that appear are stored internally as Tibetan Machine Web, not
|
||||||
|
Unicode. If you want Unicode, there are numerous ways in Jskad
|
||||||
|
to convert Tibetan Machine Web to it.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
The default keyboard is the <!-- <a
|
||||||
href="http://iris.lib.virginia.edu/tibet/tools/jskad_docs/Wylie_keyboard.rtf"
|
href="http://iris.lib.virginia.edu/tibet/tools/jskad_docs/Wylie_keyboard.rtf"
|
||||||
target="_blank"> -->Extended Wylie<!-- </a> --> keyboard. Other
|
target="_blank"> -->Extended Wylie<!-- </a> --> keyboard. Other
|
||||||
supported keyboards include <!-- <a
|
supported keyboards include <!-- <a
|
||||||
|
|
Loading…
Reference in a new issue