commit b8af7d77ddd41a3791f8bf50dda4de098e941197
Author: Pete Travis <immanetize(a)fedoraproject.org>
Date: Mon Feb 25 18:18:17 2013 -0700
Adding master index and desktop file to f18 branch
build/fedora-release-notes.desktop | 5 +++
build/index.html | 61 ++++++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+), 0 deletions(-)
---
diff --git a/build/fedora-release-notes.desktop b/build/fedora-release-notes.desktop
new file mode 100644
index 0000000..d02f7ca
--- /dev/null
+++ b/build/fedora-release-notes.desktop
@@ -0,0 +1,5 @@
+[Desktop Entry]
+Name=Release Notes
+Categories=Documentation;
+GenericName=Release Notes
+Type=Application
\ No newline at end of file
diff --git a/build/index.html b/build/index.html
new file mode 100644
index 0000000..5414c17
--- /dev/null
+++ b/build/index.html
@@ -0,0 +1,61 @@
+<html>
+<head>
+<script language="JavaScript1.2">
+<!-- Begin
+if (navigator.appName == 'Netscape')
+ var l1 = navigator.language;
+else
+ var l1 = navigator.browserLanguage;
+-->
+</script>
+
+<title>Release Notes</title>
+<body>
+<script type="text/javascript">
+ var lang = l1;
+ var match = 0;
+ var locales = [LOCALESTRING];
+
+ // Try for full match of lang_LOC
+ for(locale in locales)
+ {
+ if(lang == locales[locale])
+ {
+ match = 1;
+ break;
+ }
+ }
+
+ // Else try for match of lang
+ if(match == 0)
+ {
+ for(locale in locales)
+ {
+ var loc_lang = locales[locale].substring(0,2);
+ var language = lang.substring(0,2);
+
+ if(loc_lang == language)
+ {
+ lang = locales[locale];
+ match = 1;
+ break;
+ }
+ }
+ }
+
+ // Else default to en-US
+ if(match == 0)
+ {
+ lang = 'en-US';
+ }
+
+ window.location = lang + "/index.html";
+</script>
+</noscript>
+<p>
+<ul>
+</ul>
+</p>
+</noscript>
+</body>
+</html>