Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[1] Beta Release:
Update download scripting (main download area)

Object properties / variables

Value exampleComment
  • "globalvars.js":
    • Add the new version data,

BETA_VERSION
BETA_NAME
BETA_MILESTONE
BETA_BUILD
BETA_SVN_REV
BETA_REL_DATE

"X.Y.Z-Beta"
"X.Y.Z Beta"
"AOOXYZm??"
"????"
"r???????"
"YYYY-MMM-DD"

Add the basic data for the new release.
    • Language data - update if needed:
      • Insert the data in the correct order for the new languages.

SEL_LANG

"English name", "native name", "ISO code"Used to fill the drop-down-box.
    • Enable the Beta Release.
BETA_ACTIVE1Make the download links for the Beta release visible.
  • "release_matrix.js":
    • Add a new array for the new release.
    • Add new languages Is the file for the respective platform available (y/n) ?
    • Add the file sizes for every file.
    • Verify that the data is complete and in the correct order for the new languages.

release_xyz

For an example please have a look for a previous version.

Also look at the comments on top of the file.

Add the data for new languages.

Get the file sizes from Sourceforge.net.
  • "download.js":
    • Add data for the new version in the "switch()" statement in the following object methods:
      • DL.isLanguageSupported
      • DL.getFileData

case "x.y.z" :

...

break;

For an example please have a look for a previous version. 
  • "languages.js":
    • Move new languages to the top part of "DL.language_matrix".
    • Add new languages if not available in the bottom part. Check for ISO code, English name and native name.
DL.language_matrixSee current file. Used in fallback selection based on navigator.language. 

[2] Release Candidate:
Update download scripting (main download area)

Object properties / variablesValue exampleComment
  • "globalvars.js":
    • Add the new version data.

VERSION
MILESTONE
BUILD
SVN_REV
REL_DATE
PREV_VERSION

"X.Y.Z-Beta"
"AOOXYZm??"
"????"
"r???????"
"YYYY-MMM-DD"
Use the value from the previous version.

Add the basic data for the new release.
    • Language data - update if needed:
      • Insert the data in the correct order for the new languages.

SEL_LANG

"English name", "native name", "ISO code"Used to fill the drop-down-box.
    • Disable the Beta Release.
BETA_ACTIVE-1Make the download links for the Beta release invisible.
  • "release_matrix.js":
    • Add a new array for the new release.
    • Add new languages Is the file for the respective platform available (y/n) ?
    • Add the file sizes for every file.
    • Verify that the data is complete and in the correct order for the new languages.
release_xyz

For an example please have a look for a previous version.

Also look at the comments on top of the file.

Add the data for new languages.

Get the file sizes from Sourceforge.net.

  • "download.js":
    • Add data for the new version in the "switch()" statement in the following object methods:
      • DL.isLanguageSupported
      • DL.getFileData

case "x.y.z" :

...

break;

For an example please have a look for a previous version. 
  • "languages.js":
    • Move new languages to the top part of "DL.language_matrix".
    • Add new languages if not available in the bottom part. Check for ISO code, English name and native name.
DL.language_matrix

'ca', 'Catalan', 'Català'
'ca-XR', 'Catalan', 'Català (Valencià RACV)'
'ca-XV', 'Catalan (Valencian)', 'Català (Valencià AVL)'

See current file. Used in fallback selection based on navigator.language.
[3] New Release:
Update download scripting (NL download areas)
Object properties / variablesValue exampleComment
  • ".../xx/download/brand.mdtext":
    • Modify the data to reflect the new release.
announce
announceurl
announcetip

New: Apache OpenOffice 4.1.1 released!
https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1.1+Release+Notes
New: Apache OpenOffice 4.1.1 released!

Change the announcement text and link.
  • ".../xx/download/msg_properties_l10n_xx.js":
    • Add new languages and the new version.

l10n.dl_green_box_select_box_language_values
l10n.dl_green_box_select_box_version_values

Catalan
Catalan [Valencia AVL]
Catalan [Valencia RACV]

4.1.1

Add new languages with localized strings. They have to be in the same order as they would appear in the main English drop-down-box. Otherwise the wrong language is offered in the download links.

Add also new version item.

    • Add new method name and value for the link to the release notes.

l10n.dl_rel_notes_aoo<xyz>_link

Example:
l10n.dl_rel_notes_aoo411_link

https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+4.1.1+Release+NotesAdd new link for release notes.

 

Add new languages with localized in the same order as they would
appear in the main English dropdown..

or they might put them anywhere or ordered based on there localized
order. the thing is they would need to know ahead of time what that
order is.