summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2014-01-08 16:00:40 +0100
committerDavid A. Madore <david+git@madore.org>2014-01-08 16:00:40 +0100
commitf18f4bf2d77a28ba808435a5c28f3551bd9c962f (patch)
tree9b1d3426c5be4f72013d1cf29ac50af9a6cb06a3
parent75d6af4be399579e709b49bb244f46651889ae4b (diff)
downloaddamlengine-f18f4bf2d77a28ba808435a5c28f3551bd9c962f.tar.gz
damlengine-f18f4bf2d77a28ba808435a5c28f3551bd9c962f.tar.bz2
damlengine-f18f4bf2d77a28ba808435a5c28f3551bd9c962f.zip
Use Unicode Emoji characters for smiley alt text.
-rw-r--r--org/madore/damlengine/TodoSmileyElement.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/org/madore/damlengine/TodoSmileyElement.java b/org/madore/damlengine/TodoSmileyElement.java
index 72bb638..8bd3031 100644
--- a/org/madore/damlengine/TodoSmileyElement.java
+++ b/org/madore/damlengine/TodoSmileyElement.java
@@ -5,18 +5,18 @@ import org.w3c.dom.*;
public final class TodoSmileyElement extends TodoDefaultElement {
public enum Type {
- SMILE("smile", ":-)", "Smile", "Sourire"),
- WINK("wink", ";-)", "Wink", "Clin d'\u0153il"),
- SURPRISED("surprised", ":-o", "Surprised", "Surpris"),
- SAD("sad", ":-(", "Sad", "Triste"),
- COOL("cool", "8-)", "Cool", "Cool"),
- BIGGRIN("biggrin", ":-D", "Big grin", "Grand sourire"),
- CONFUSED("confused", ":-S", "Confused", "Troubl\u00e9"),
- CRAZY("crazy", "%-)", "Crazy", "Fou"),
- NEUTRAL("neutral", ":-|", "Non-grin", "Sans sourire"),
- TWISTED("twisted", "8->", "Twisted", "Tordu"),
- CRY("cry", "\u00A6-(", "Crying", "Pleure"),
- EVIL("evil", ">:-(", "Evil", "Mauvais");
+ SMILE("smile", new String(Character.toChars(0x263A)), "Smile", "Sourire"),
+ WINK("wink", new String(Character.toChars(0x1F609)), "Wink", "Clin d'\u0153il"),
+ SURPRISED("surprised", new String(Character.toChars(0x1F632)), "Surprised", "Surpris"),
+ SAD("sad", new String(Character.toChars(0x2639)), "Sad", "Triste"),
+ COOL("cool", new String(Character.toChars(0x1F60E)), "Cool", "Cool"),
+ BIGGRIN("biggrin", new String(Character.toChars(0x1F601)), "Big grin", "Grand sourire"),
+ CONFUSED("confused", new String(Character.toChars(0x1F615)), "Confused", "Troubl\u00e9"),
+ CRAZY("crazy", new String(Character.toChars(0x1F61D)), "Crazy", "Fou"),
+ NEUTRAL("neutral", new String(Character.toChars(0x1F610)), "Non-grin", "Sans sourire"),
+ TWISTED("twisted", new String(Character.toChars(0x1F621)), "Twisted", "Tordu"),
+ CRY("cry", new String(Character.toChars(0x1F622)), "Crying", "Pleure"),
+ EVIL("evil", new String(Character.toChars(0x1F608)), "Evil", "Mauvais");
final String emotion;
final String altText;
final String enName;