e2d42f36eb
warnings in ACIP->Tibetan conversion much more configurable. You can now choose from short or long error messages, for one thing. You can change the severity of almost all warnings. Each error and warning has an error code. Errors and warnings are better tested. The converter GUI has a new checkbox for short messages; the converter CLI has a new mandatory option for short messages. I also fixed a bug whereby certain errors were not being appended to the 'errors' StringBuffer.
68 lines
2.4 KiB
Java
68 lines
2.4 KiB
Java
/*
|
|
The contents of this file are subject to the THDL Open Community License
|
|
Version 1.0 (the "License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License on the THDL web site
|
|
(http://www.thdl.org/).
|
|
|
|
Software distributed under the License is distributed on an "AS IS" basis,
|
|
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
|
|
License for the specific terms governing rights and limitations under the
|
|
License.
|
|
|
|
The Initial Developer of this software is the Tibetan and Himalayan Digital
|
|
Library (THDL). Portions created by the THDL are Copyright 2003 THDL.
|
|
All Rights Reserved.
|
|
|
|
Contributor(s): ______________________________________.
|
|
*/
|
|
|
|
package org.thdl.tib.input;
|
|
|
|
import java.io.*;
|
|
import java.awt.*;
|
|
|
|
/** Constants used by ConvertDialog.
|
|
|
|
@author Nathaniel Garson, Tibetan and Himalayan Digital Library */
|
|
interface FontConverterConstants
|
|
{
|
|
final String ACIP_TO_UNI_TEXT = "ACIP to Unicode (Text->Text)";
|
|
final String ACIP_TO_TMW = "ACIP to TMW (Text->RTF)";
|
|
final String TMW_TO_ACIP = "TMW to ACIP (RTF->RTF)";
|
|
final String TMW_TO_ACIP_TEXT = "TMW to ACIP (RTF->Text)";
|
|
final String TM_TO_TMW = "TM to TMW (RTF->RTF)";
|
|
final String TMW_TO_TM = "TMW to TM (RTF->RTF)";
|
|
final String TMW_TO_UNI = "TMW to Unicode (RTF->RTF)";
|
|
final String TMW_TO_WYLIE = "TMW to Wylie (RTF->RTF)";
|
|
final String TMW_TO_WYLIE_TEXT = "TMW to Wylie (RTF->Text)";
|
|
final String FIND_SOME_NON_TMW = "Find some non-TMW (in RTF)";
|
|
final String FIND_SOME_NON_TM = "Find some non-TM (in RTF)";
|
|
final String FIND_ALL_NON_TMW = "Find all non-TMW (in RTF)";
|
|
final String FIND_ALL_NON_TM = "Find all non-TM (in RTF)";
|
|
|
|
final String[] CHOICES = new String[] {
|
|
ACIP_TO_UNI_TEXT,
|
|
ACIP_TO_TMW,
|
|
TMW_TO_ACIP,
|
|
TMW_TO_ACIP_TEXT,
|
|
TM_TO_TMW,
|
|
TMW_TO_TM,
|
|
TMW_TO_UNI,
|
|
TMW_TO_WYLIE,
|
|
TMW_TO_WYLIE_TEXT,
|
|
FIND_SOME_NON_TMW,
|
|
FIND_SOME_NON_TM,
|
|
FIND_ALL_NON_TMW,
|
|
FIND_ALL_NON_TM
|
|
};
|
|
|
|
final String suggested_WYLIE_prefix = "THDL_Wylie_";
|
|
final String suggested_ACIP_prefix = "ACIP_";
|
|
final String suggested_TO_TMW_prefix = "TMW_";
|
|
final String suggested_TO_UNI_prefix = "Uni_";
|
|
final String suggested_TO_TM_prefix = "TM_";
|
|
|
|
// String Constants
|
|
public final String PROGRAM_TITLE = "THDL Tibetan Converters -- featuring Jskad Technology";
|
|
|
|
}
|