Skip to content

Commit

Permalink
add german language from deprecated adopted zimlet
Browse files Browse the repository at this point in the history
  • Loading branch information
Barry de Graaff committed Dec 15, 2015
1 parent fea0c52 commit 6f61e97
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion tk_barrydegraaff_attachmentalert.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ var ConfigurableAttachAlertZimlet = tk_barrydegraaff_attachalert_HandlerObject;
* Defines the "zimlet name".
*/
ConfigurableAttachAlertZimlet.ZIMLET_NAME = "ConfigurableAttachAlertZimlet";
ConfigurableAttachAlertZimlet.AttachmentAlertKeywordsDefault = 'attach,bijlage,adjunto,fichero adjunto,env\u00EDo el fichero,allegat';
/* Be carefull when adding new languages, NOT to trigger false positives in other languages, for example
* the german word `anhang` should match, but it also matches `aanhanger` in dutch language, therefore we
* need to define the regular expression as ' anhang ' (spaces on both sides to match).
*/
ConfigurableAttachAlertZimlet.AttachmentAlertKeywordsDefault = 'attach,bijlage,adjunto,fichero adjunto,env\u00EDo el fichero,allegat,im anhang,ang\\.,angeh\u00E4ngt,anbei, anhang ,';
/**
* Initializes the zimlet.
*
Expand Down
2 changes: 1 addition & 1 deletion tk_barrydegraaff_attachmentalert.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<zimlet name="tk_barrydegraaff_attachmentalert" version="0.1" label="Attachment Alert" description="Alerts you when forgetting to attach an attachment when composing a message." target="main compose-window">
<zimlet name="tk_barrydegraaff_attachmentalert" version="0.2" label="Attachment Alert" description="Alerts you when forgetting to attach an attachment when composing a message." target="main compose-window">
<include>tk_barrydegraaff_attachmentalert.js</include>
<handlerObject>tk_barrydegraaff_attachalert_HandlerObject</handlerObject>
<zimletPanelItem label="Attachment Alert" icon="Attachment">
Expand Down
Binary file removed tk_barrydegraaff_attachmentalert.zip
Binary file not shown.

0 comments on commit 6f61e97

Please sign in to comment.