Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremie Bresson2016-01-23 02:27:38 -0500
committerJeremie Bresson2016-01-23 02:27:38 -0500
commitb15d692552891c96627cde1a8652ae9216b57e99 (patch)
tree5306a1042482b19b0aee3105dc14b01ad190fd53 /org.eclipse.text/src/org/eclipse/jface/text/templates/TextTemplateMessages.properties
parentc87d70c7a9444b9248ad407b0753bc62a0695518 (diff)
downloadeclipse.platform.text-b15d692552891c96627cde1a8652ae9216b57e99.tar.gz
eclipse.platform.text-b15d692552891c96627cde1a8652ae9216b57e99.tar.xz
eclipse.platform.text-b15d692552891c96627cde1a8652ae9216b57e99.zip
Bug 75981: [templates][preferences] Allow to specify format of date variable in templates
https://bugs.eclipse.org/bugs/show_bug.cgi?id=75981 Change-Id: I8d1e2661d8698e47ea92963ba6caab0edaf8ab31 Signed-off-by: Dani Megert <Daniel_Megert@ch.ibm.com> Signed-off-by: Jeremie Bresson <jbr@bsiag.com> Signed-off-by: Pramod Goyal <pramod.goyal@gmail.com> Signed-off-by: Thomas Reinhardt <thomas@reinhardt.com>
Diffstat (limited to 'org.eclipse.text/src/org/eclipse/jface/text/templates/TextTemplateMessages.properties')
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/templates/TextTemplateMessages.properties4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/templates/TextTemplateMessages.properties b/org.eclipse.text/src/org/eclipse/jface/text/templates/TextTemplateMessages.properties
index a2549f045..dcba54e91 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/templates/TextTemplateMessages.properties
+++ b/org.eclipse.text/src/org/eclipse/jface/text/templates/TextTemplateMessages.properties
@@ -1,5 +1,5 @@
###############################################################################
-# Copyright (c) 2000, 2008 IBM Corporation and others.
+# Copyright (c) 2000, 2016 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
@@ -17,7 +17,7 @@ TemplateTranslator.error.incompatible.type=Template variable ''{0}'' has incompa
# global variables
GlobalVariables.variable.description.cursor=The cursor position after editing template variables
GlobalVariables.variable.description.dollar=The dollar symbol
-GlobalVariables.variable.description.date=Current date
+GlobalVariables.variable.description.date=Current date. Use ${id\:date[(format[, locale])]} to format the date.
GlobalVariables.variable.description.year=Current year
GlobalVariables.variable.description.time=Current time
GlobalVariables.variable.description.user=User name

Back to the top