NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Trace

helper-scripts/check_translations.rb

Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.

check_translations.rb on main
Author Date Commit Line Code
wucke13 about 7 years ago 8fa6083

"Repaired" shebang for check_translations.rb

Full commit hash
8fa60830361ed7578dfd23abbe9ab25750c854d5
Author
wucke13 <[email protected]>
Date
about 7 years ago
Selected line
1
#!/usr/bin/env ruby
Open commit View diff
1 #!/usr/bin/env ruby
David Escala over 8 years ago 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
2
Open commit View diff
2
Tomy Hsieh almost 4 years ago 905993d

đŸ›  fix: Language detection

Full commit hash
905993d66e86516df3b331f084ffea8ea890d275
Author
Tomy Hsieh <[email protected]>
Date
almost 4 years ago
Selected line
3
MASTER="en-gb"
Open commit View diff
3 MASTER="en-gb"
David Escala over 8 years ago 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
4
Open commit View diff
4
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
5
DIR = "#{__dir__}/.."
Open commit View diff
5 DIR = "#{__dir__}/.."
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
6
Open commit View diff
6
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
7
keys = %x[sed -r 's/.*(\\['.*'\\]\\['.*'\\]).*/\\1/g' #{DIR}/data/web/lang/lang.#{MASTER}.php | grep  '^\\\[' | sed 's/\\[/\\\\[/g' | sed 's/\\]/\\\\]/g'|sort | uniq]
Open commit View diff
7 keys = %x[sed -r 's/.*(\\['.*'\\]\\['.*'\\]).*/\\1/g' #{DIR}/data/web/lang/lang.#{MASTER}.php | grep '^\\\[' | sed 's/\\[/\\\\[/g' | sed 's/\\]/\\\\]/g'|sort | uniq]
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
8
Open commit View diff
8
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
9
not_used_in_php = []
Open commit View diff
9 not_used_in_php = []
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
10
keys.split("\n").each do |key|
Open commit View diff
10 keys.split("\n").each do |key|
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
11
  %x[git grep "#{key}" -- #{DIR}/data/web/*.php #{DIR}/data/web/inc #{DIR}/data/web/modals]
Open commit View diff
11 %x[git grep "#{key}" -- #{DIR}/data/web/*.php #{DIR}/data/web/inc #{DIR}/data/web/modals]
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
12
  if $?.exitstatus > 0
Open commit View diff
12 if $?.exitstatus > 0
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
13
    not_used_in_php << key
Open commit View diff
13 not_used_in_php << key
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
14
  end
Open commit View diff
14 end
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
15
end
Open commit View diff
15 end
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
16
Open commit View diff
16
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
17
# \['user'\]\['username'\]
Open commit View diff
17 # \['user'\]\['username'\]
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
18
# \['user'\]\['waiting'\]
Open commit View diff
18 # \['user'\]\['waiting'\]
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
19
# \['warning'\]\['spam_alias_temp_error'\]
Open commit View diff
19 # \['warning'\]\['spam_alias_temp_error'\]
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
20
Open commit View diff
20
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
21
not_used = []
Open commit View diff
21 not_used = []
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
22
not_used_in_php.each do |string|
Open commit View diff
22 not_used_in_php.each do |string|
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
23
  section = string.scan(/([a-z]+)/)[0][0]
Open commit View diff
23 section = string.scan(/([a-z]+)/)[0][0]
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
24
  key     = string.scan(/([a-z]+)/)[1][0]
Open commit View diff
24 key = string.scan(/([a-z]+)/)[1][0]
André about 8 years ago 3e08416

[Helper] Fixes for volume detection of backup/restore script

Full commit hash
3e08416c6d9c442f64238bc4417ac56dcf57509b
Author
AndrĂ© <[email protected]>
Date
about 8 years ago
Selected line
25
  %x[git grep lang.#{key} -- #{DIR}/data/web/js/#{section}.js #{DIR}/data/web/js/debug.js]
Open commit View diff
25 %x[git grep lang.#{key} -- #{DIR}/data/web/js/#{section}.js #{DIR}/data/web/js/debug.js]
David Escala over 8 years ago 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
26
  if $?.exitstatus > 0
Open commit View diff
26 if $?.exitstatus > 0
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
27
    not_used << string
Open commit View diff
27 not_used << string
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
28
  end
Open commit View diff
28 end
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
29
end
Open commit View diff
29 end
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
30
Open commit View diff
30
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
31
puts "# Remove unused translation keys:"
Open commit View diff
31 puts "# Remove unused translation keys:"
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
32
not_used.each do |key|
Open commit View diff
32 not_used.each do |key|
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
33
  puts "sed -i \"/\\$lang#{key}.*;/d\" data/web/lang/lang.??.php"
Open commit View diff
33 puts "sed -i \"/\\$lang#{key}.*;/d\" data/web/lang/lang.??.php"
same change 8ae5077

Remove unused language keys from data/web/lang/lang.*.php

Full commit hash
8ae5077775ebe3d03509b3a951fc9dccb8d38369
Author
David Escala <[email protected]>
Date
over 8 years ago
Selected line
34
end
Open commit View diff
34 end