diff options
author | Henri Herscher <henri@oreka.org> | 2005-10-27 15:08:39 +0000 |
---|---|---|
committer | Henri Herscher <henri@oreka.org> | 2005-10-27 15:08:39 +0000 |
commit | e76fa0b3e203a5eeebc15eed92be79933bd94457 (patch) | |
tree | 6b007edae582fb67b69393c35544ed8bd96274ec /website/README.txt | |
parent | 0fd6bacf4e3cf06208d3d0327672d9446094e0a6 (diff) |
First checkin
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@18 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'website/README.txt')
-rw-r--r-- | website/README.txt | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/website/README.txt b/website/README.txt new file mode 100644 index 0000000..3d414f5 --- /dev/null +++ b/website/README.txt @@ -0,0 +1,106 @@ +This file contains documentation for editing and maintaining the Audacity web +site. Audacity is free software for sound editing and recording. The web site +is at <http://audacity.sourceforge.net/>. + +CONTENTS: + + 1. Installation + 2. License and Copyright + 3. Localization + 4. Updating Content + 5. Uploading Changes + +--------- + +1. INSTALLATION + + The Audacity web site requires PHP 4, and the PHP PEAR "HTTP" package + (for content negotiation). + + "MultiViews" are required, so that "copyright.php" can be accessed as + simply "copyright", for example. On Apache servers, MultiViews will be + turned on by the .htaccess file. (This requires "AllowOverride Options" to + be enabled in the server configuration.) + + Apache's mod_rewrite is required for automatic redirection of URLs from + previous versions of the site. + +--------- + +2. LICENSE AND COPYRIGHT + + Except where otherwise noted, all material on this site is licensed under the + Creative Commons Attribution License, version 2.0. You can find a copy of + this license in the file LICENSE.txt, or at: + + http://creativecommons.org/licenses/by/2.0/ + + If you contribute original material to this web site, please add your name to + the comments at the start of each file you add or modify. For example: + + /* + * Copyright 2003 Dominic Mazzoni + * Copyright 2004 Matt Brubeck + * This file is licensed under a Creative Commons license: + * http://creativecommons.org/licenses/by/2.0/ + */ + + If you contribute material that you can't (or don't want to) place under + this Creative Commons license, please make sure it is clearly marked with + copyright or license notices visible to readers of the web site. + + Our use of Google Free web search is governed by Google's Terms of Use: + + http://www.google.com/services/terms_free.html + +--------- + +3. LOCALIZATION + + Internationalization and localization are handled by PHP's gettext + functions. All PHP files use the UTF-8 encoding. When editing these files, + please configure your editor to use UTF-8. + + Localized pages are served automatically based on the Accept-Language header + sent by the user's web browser. Localized versions can also be accessed + through links in the page footers. (This method also sets a cookie so that + future pages will be served in the same language.) + + To add a new translation: + + - Copy the translated po file to locale/X.po where "X" is the locale code. + - Run "make" to compile the PO file. + - Add a new item to the available_locales array in include/lang.inc.php. + + Note: The "full locale name" must match one of the available locales on the + web server. Run "localedef --list-archive" for a list of locales. On a + Debian system, use /etc/locale.gen and "locale-gen" to add locales. + +--------- + +4. UPDATING CONTENT + + When adding new content, be sure to pass all translatable strings through + the _("gettext") function. For example: + + <p><?=_("This sentence will be translated.")?></p> + + After adding or changing any translatable string, run "make" to update the + message catalogs. For significant changes, you may want to send the updated + POT file to the translators before the change is published to the live web + site, so that they have a chance to update the PO files first. + +--------- + +5. UPLOADING CHANGES + + After checking your changes into CVS, run "cvs update && make" in + "/home/groups/a/au/audacity/htdocs" on shell.sourceforge.net to update + the live web site. + + For files that are not stored in CVS or generated by the Makefile, you can + use scp or rsync to upload them to shell.sourceforge.net. + + You should run "umask 002" before modifying the audacity group directory on + the sourceforge servers. You may want to put this in your ~/.bashrc file + (but be careful if you keep private files in your personal home directory). |