fixed PDF issue and updated TODO List
This commit is contained in:
parent
4cd1597d7b
commit
b894c67900
|
@ -18,5 +18,4 @@ Since Tengwar is inherently a phonetic script, converting english to Tengwar wou
|
|||
### To-Do List
|
||||
|
||||
* Implement s-curls.
|
||||
* Find a way to display the PDF manual in the UI.
|
||||
|
||||
* Add more text editing options, like color, italics, bold, indentation, and so on...
|
||||
|
|
|
@ -188,10 +188,10 @@ public class Window {
|
|||
*/
|
||||
public void onEnglishModeAboutClicked(){
|
||||
if (Desktop.isDesktopSupported()){
|
||||
try {
|
||||
Desktop.getDesktop().open(new File(this.getClass().getClassLoader().getResource("resources/EnglishOnetoOneTengwarV2-1.pdf").getFile()));
|
||||
} catch (IOException e1) {
|
||||
e1.printStackTrace();
|
||||
try{
|
||||
Desktop.getDesktop().browse(new URI("https://github.com/andrewlalis/TengwarTranslator/blob/master/src/resources/EnglishOneToOneTengwarV2-1.pdf"));
|
||||
} catch (URISyntaxException | IOException e){
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue