X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Fjvcard%2Fresources%2Fdisplay.properties;h=3b6a0561c764706ae8e01831513d5689fbe212ad;hb=30a4aa17f2141ad80a23447ee2e6303f6c9ef995;hp=106bdc32237e953d6d28b02d87cb0689d12f1fb9;hpb=3634193b7a8927e68a3ae3d38fff4f6bd36c4ee5;p=jvcard.git diff --git a/src/be/nikiroo/jvcard/resources/display.properties b/src/be/nikiroo/jvcard/resources/display.properties index 106bdc3..3b6a056 100644 --- a/src/be/nikiroo/jvcard/resources/display.properties +++ b/src/be/nikiroo/jvcard/resources/display.properties @@ -6,10 +6,19 @@ # - @x: (the 'x' is the letter 'x') show only a present/not present info # - @n: limit the size to a fixed value 'n' # - @+: expand the size of this field as much as possible +# +# In case of lists or multiple-fields values, you can select a specific +# list or field with: +# - FIELD@(0): select the first value in a list +# - FIELD@[1]: select the second field in a multiple-fields value +# +# You can also add a fixed text if it starts with a simple-quote ('). +# +# Example: "'Contact: |N@10|FN@20|NICK@+|PHOTO@x" # # You can cycle through them if you have more than one # (in this case, separate them with a comma (',') -CONTACT_LIST_FORMAT = NICKNAME@10|FN@+|EMAIL@30|PHOTO@x,FN@+|EMAIL@40 +CONTACT_LIST_FORMAT = NICKNAME@10|FN@+|EMAIL@30|PHOTO@x,N@[0]@20|N@[1]@+|EMAIL@40 # The list of details to show in View Contact mode: # - Each detail (separated by a pipe "|" character) is visible on its own line @@ -30,3 +39,7 @@ CONTACT_DETAILS_INFO = Phone:=TEL|eMail:=EMAIL # The size of the details' labels CONTACT_DETAILS_LABEL_WIDTH = 12 + +CONTACT_DETAILS_DEFAULT_FN = N@[1]|' |N@[0] + +CONTACT_DETAILS_SHOW_COMPUTED_FN = true