Commit Graph

600 Commits

Author SHA1 Message Date
db37cacd49 qsgen2: Silly bug... 2024-02-14 17:34:13 +01:00
3caae5c274 qsgen2: Updates towards complete localization. Update to version 0.4.0 beta 1. 2024-02-14 17:32:49 +01:00
a88100ff47 _msg: Remove the very last debug message 2024-02-14 16:04:54 +01:00
9f4e657bad _msg: Remove last debug message 2024-02-14 16:04:24 +01:00
aafbc7ecaf _msg: Yay... It's working 2024-02-14 16:03:50 +01:00
e395bba757 _msg: Still trying 2024-02-14 16:02:19 +01:00
5907393b77 _msg: Add more security 2024-02-14 16:01:14 +01:00
9dd003a815 qsgen2: Set type array 2024-02-14 15:59:33 +01:00
ee28d2de9f qsgen2: Remove unused elements 2024-02-14 15:57:31 +01:00
7fc4a62497 qsgen2: Remove unused elements 2024-02-14 15:55:20 +01:00
1633d3bbdd qsgen2: Begin work on localization 2024-02-14 15:51:46 +01:00
72d077dafa en_US: Cleaning up array 2024-02-14 15:10:44 +01:00
1ce738cd3a nb_NO: Cleaning up array 2024-02-14 15:04:20 +01:00
4c21f669b7 Change name of localization array 2024-02-14 13:37:58 +01:00
fd54fc7543 Debug localization 2024-02-14 13:31:47 +01:00
000cee4e49 _msg: Debug 2024-02-14 13:24:28 +01:00
96b26305d8 nb_NO: Testing 2024-02-14 13:20:15 +01:00
cfd37fb499 _msg: Refactor for localization 2024-02-14 13:19:10 +01:00
571bd29997 _msg: Refactor for localization 2024-02-14 13:11:37 +01:00
769661cee0 _msg: Refactor 2024-02-14 13:06:44 +01:00
918e4d2fd8 qsgen2: Source language files instead of autoload 2024-02-14 13:01:43 +01:00
04edfff25e _msg: Debug 2024-02-14 12:55:01 +01:00
08935e109a qsgen2: Set globaldebug and exit 2024-02-14 12:46:51 +01:00
38b9863a64 nb_NO: Split text string 2024-02-14 12:43:09 +01:00
19748fce8e _msg: Refactor 2024-02-14 12:40:53 +01:00
0a8cd680bd qsgen2: Update stuff 2024-02-14 12:17:35 +01:00
099897ac34 qsgen2: Update strings in Spanish language file 2024-02-14 12:06:47 +01:00
a3e7eee83d qsgen2: Update strings in language files 2024-02-14 11:58:21 +01:00
e2c7f85125 qsgen2: Add correct path to language files 2024-02-14 11:38:42 +01:00
61cd217861 qsgen2: Load language after reading config file 2024-02-14 11:37:25 +01:00
c68dafda4f qsgen2: Updated function _msg to enable localization. en_US, es_ES and nb_NO available. 2024-02-14 11:35:47 +01:00
136a9644f5 qsgen2: Simplify local vs global debug 2024-02-13 07:12:10 +01:00
987a80397d Disable debug 2024-02-12 23:12:42 +01:00
f4e8dee83c Update to version 0.3.6 2024-02-12 23:12:06 +01:00
0ff85c7128 Refactor _f_last_updated 2024-02-12 23:09:17 +01:00
48b2f30ea7 Refactor _f_last_updated 2024-02-12 23:03:26 +01:00
a34812d11c Replace #updated with the updated message in qsgen2 file 2024-02-12 23:01:36 +01:00
8a9f4eed88 Fix debug flag in _blog_index function
Changed the debug flag in the _blog_index function from true to false to disable debugging for the function. Also, modified the file write operation to directly write the blog_index_content to /blog/index.html instead of using a temporary file
2024-02-12 22:47:27 +01:00
80e1874926 Refactor _f_last_updated 2024-02-12 22:44:57 +01:00
0dfa793dae Really try to write to file 2024-02-12 22:39:00 +01:00
9ab53d6bfb Really try to write to file 2024-02-12 22:37:23 +01:00
89d2415e47 Really try to write to file 2024-02-12 22:35:24 +01:00
8270bf4f31 Really try to write to file 2024-02-12 22:32:46 +01:00
c96c113678 Fix tee command 2024-02-12 22:26:31 +01:00
4c57f98146 Refactor _blog_index function in qsgen2 script
This commit refactors the _blog_index function in the qsgen2 script. The changes include:

- Commenting out the debug messages for the content of blog_index_content.
- Using the `tee` command with the `-overwrite` option to write the blog_index_content to ${www_root}/blog/index.html.
- Redirecting the output of `tee` to /dev/null to suppress any output.
2024-02-12 22:24:13 +01:00
d8801d3b3f Add debug messages to _blog_index function in qsgen2 script 2024-02-12 22:19:50 +01:00
953986f0af Add error handling for writing to /blog/index.html in _blog_index function 2024-02-12 21:57:38 +01:00
0af7129cd5 Refactor _blog_index function in qsgen2 script
- Change the debug message to use  instead of
- Update the echo command to use double quotes around

These changes improve the readability and consistency of the code.
2024-02-12 21:53:26 +01:00
7ce545e423 Add blog index content to /blog/index.html
This commit adds the blog index content to the file /blog/index.html. The function  replaces the  placeholder in the content with the actual blog index list. After the replacement, the updated content is written to the file /blog/index.html. The commit also includes debug messages to display the content of  before writing it to the file.
2024-02-12 21:04:16 +01:00
cce973f2cd Fix debug flag in _blogs function and add debug messages in _blog_index function
In the _blogs function, the debug flag was set to true, which caused unnecessary debug output. Changed it to false.

In the _blog_index function, added debug messages to indicate the replacement of sitename and tagline, as well as the replacement of BODY with the content of the blog index file.

This commit fixes the debug flag and adds debug messages for better troubleshooting and understanding of the code.
2024-02-12 21:01:15 +01:00