cgit fixes
diff --git a/fixlang.php b/fixlang.php
index 4e83d5e..1f6de74 100644
--- a/fixlang.php
+++ b/fixlang.php
@@ -93,7 +93,7 @@
echo <<<MOO
Copyright by individual Rockbox contributors
See
-http://git.rockbox.org/?p=rockbox.git;a=history;f=apps/lang/$langname.lang;hb=HEAD
+https://git.rockbox.org/cgit/rockbox.git/log/apps/lang/$langname.lang
for details.
May be distributed under the terms of the GNU GPL version 2 or later
diff --git a/submit.php b/submit.php
index 4b7f7cb..0800340 100644
--- a/submit.php
+++ b/submit.php
@@ -56,7 +56,7 @@
$original = parselangfile(sprintf("apps/lang/%s.lang.update", $_REQUEST['lang']));
$english = parselangfile("apps/lang/english.lang");
print("Copyright by individual Rockbox contributors\n");
- printf("See\nhttps://git.rockbox.org/?p=rockbox.git;a=history;f=apps/lang/%s.lang;hb=HEAD\nfor details.\n", $_REQUEST['lang']);
+ printf("See\nhttps://git.rockbox.org/cgit/rockbox.git/log/apps/lang/%s.lang\nfor details.\n", $_REQUEST['lang']);
print("May be distributed under the terms of the GNU GPL version 2 or later\n");
print("This file generated by http://translate.rockbox.org/\n\n");
printf("This translation was based on git hash %s of the original.\n\n", $langs[$_REQUEST['lang']]);
diff --git a/templates/frontpage.tpl b/templates/frontpage.tpl
index 34e9f72..59cc256 100644
--- a/templates/frontpage.tpl
+++ b/templates/frontpage.tpl
@@ -66,7 +66,7 @@
{/if}
</td>
<td>
- <a href='//git.rockbox.org/?p=rockbox.git;a=commit;h={$language.last_update_rev}' title='{$language.last_update|date_format:"%c"}'>
+ <a href='//git.rockbox.org/cgit/rockbox.git/commit/?id={$language.last_update_rev}' title='{$language.last_update|date_format:"%c"}'>
{$language.last_update|simple_timesince}
</a>
</td>