[geany/geany] 771934: Don't translate program name directive in Pascal file template

Colomban Wendling git-noreply at xxxxx
Fri Mar 8 17:32:47 UTC 2013


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Fri, 08 Mar 2013 17:32:47 UTC
Commit:      771934ae29151e0c16c642fa4739f0aaec5cfd62
             https://github.com/geany/geany/commit/771934ae29151e0c16c642fa4739f0aaec5cfd62

Log Message:
-----------
Don't translate program name directive in Pascal file template

Pascal code only accepts an identifier in the program name directive,
but {untitled} wildcard gets replaced with a translated string that may
not be a valid Pascal identifier.  Moreover, the directive being part
of the source of the program it's good practice for it to be in English
anyway.

Closes #3602314.


Modified Paths:
--------------
    data/templates/files/program.pas

Modified: data/templates/files/program.pas
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -1,6 +1,6 @@
 {fileheader}
 
-program {untitled};
+program untitled;
 
 uses crt;
 var i : byte;



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list