# database for script check_for_translation_work.sh 2013-11-09 18:46:00 UTC filip

# GIT ADDRESSES
# Repositories of resources for Cauldron and the next released version of Mageia
git_addresses[control-center]="software/control-center"
git_addresses[copyiso2usb]="software/copyiso2usb"
git_addresses[desktop-common-data]="software/desktop/common-data"
git_addresses[drak3d]="software/drak3d"
git_addresses[drakguard]="software/drakguard"
git_addresses[draklive-install]="software/draklive-install"
git_addresses[drakmenustyle]="software/drakmenustyle"
git_addresses[drakpxelinux]="software/drakpxelinux"
git_addresses[drakwizard]="software/drakwizard"
git_addresses[drakx]="software/drakx"
git_addresses[drakx-kbd-mouse-x11]="software/drakx-kbd-mouse-x11"
git_addresses[drakx-net]="software/drakx-net"
# git_addresses[Identity_CatDap]="software/infrastructure/catdap" # (Repository currently seems to be empty)
git_addresses[indexhtml]="software/indexhtml"
git_addresses[kde4-splash-mga]="software/desktop/kde/splash"
git_addresses[mageiawelcome]="software/mageiawelcome" # added 9. nov. 2013
git_addresses[mageia-gfxboot-theme]="software/design/bootloader-theme"
git_addresses[mageia-kde-translation]="software/i18n/kde"
git_addresses[mgaonline]="software/mgaonline"
git_addresses[net_monitor]="software/net_monitor"
git_addresses[rpmdrake]="software/rpmdrake"
git_addresses[system-config-printer]="software/i18n/system-config-printer"
git_addresses[transfugdrake]="software/transfugdrake"
git_addresses[urpmi]="software/rpm/urpmi"
git_addresses[userdrake]="software/userdrake"

# REPOSITORIY FOR MCC-HELP AND INSTALLER DOCUMENTATION + SOME I18N TOOLS
if [ -z "$work_on_docs_and_tools" ]; then
    git_addresses[docs_and_tools]="software/i18n/tools"
fi

# UNOFFICIAL LIST OF REPOSITORIES OF ONE LINE TO TRANSLATE .DESKTOP FILES (NOT NEEDED AFTER FINISHED TRANSLATION)
if [ -z "$work_on_desktop_files" ]; then
    git_addresses[mageia-kde-config]="software/desktop/kde/config"
    git_addresses[mageia-xfce-config]="software/desktop/xfce/config"
#   no translations?? git_addresses[draklive]="software/build-system/draklive"
    git_addresses[draklive-config]="software/build-system/draklive-config"
fi

# REPOSITORIES OF RESOURCES BRANCHED FOR MAGEIA 3 (git clone --single-branch)
if [ -z "$work_on_mga3" ]; then
    git_addresses[drakx_mga3]="software/drakx -b distro/mga3"
fi

# UNOFFICIAL LIST OF REPOSITORIES OF OTHER RESOURCES FOR TRANSLATION
if [ -z "$work_on_unofficial" ]; then
#   git_addresses[usbdumper]="software/usbdumper" # unmantained and duplicate
    echo -n ""
fi

# NOT YET ON OUR GIT
# git_addresses[epoll]="it doesn't exist yet on our git"
# git_addresses[isodumper]="https://github.com/papoteur-mga/isodumper (not yet on our git)"
# git_addresses[mageia-doc]="it doesn't exist yet on our git"
# git_addresses[msec]="it doesn't exist yet on our git"

# REPOSITORIES OF RESOURCES FOR CAULDRON AND THE NEXT RELEASED VERSION OF MAGEIA
translate_projects_po[control-center]="control-center/po"
translate_projects_po[copyiso2usb]="copyiso2usb/po"
translate_projects_po[desktop-common-data]="desktop-common-data/po"
translate_projects_po[drak3d]="drak3d/po"
translate_projects_po[drakguard]="drakguard/po"
translate_projects_po[draklive-install]="draklive-install/po"
translate_projects_po[drakmenustyle]="drakmenustyle/po"
translate_projects_po[drakpxelinux]="drakpxelinux/po"
translate_projects_po[drakwizard]="drakwizard/po"
translate_projects_po[drakx-kbd-mouse-x11]="drakx-kbd-mouse-x11/po"
translate_projects_po[drakx-net]="drakx-net/po"
translate_projects_po[drakx_install]="drakx/perl-install/install/share/po"
translate_projects_po[drakx_share]="drakx/perl-install/share/po"
translate_projects_po[drakx_standalone]="drakx/perl-install/standalone/po"
# translate_projects_po[Identity (CatDap)]="NA"
translate_projects_po[indexhtml]="indexhtml/po"
translate_projects_po[kde4-splash-mga]="kde4-splash-mga/po"
# translate_projects_po[mageia-doc]="NA"
translate_projects_po[mageiawelcome]="mageiawelcome/po" # added 9. nov. 2013
translate_projects_po[mageia-gfxboot-theme]="mageia-gfxboot-theme/po"
translate_projects_po[mageia-kde-translation]="mageia-kde-translation/po"
translate_projects_po[mgaonline]="mgaonline/po"
# translate_projects_po[msec]="NA"
translate_projects_po[net_monitor]="net_monitor/po"
translate_projects_po[rpmdrake]="rpmdrake/po"
translate_projects_po[system-config-printer]="system-config-printer/po"
translate_projects_po[transfugdrake]="transfugdrake/po"
translate_projects_po[urpmi]="urpmi/po"
translate_projects_po[userdrake2]="userdrake/po"

# REPOSITORIY FOR MCC-HELP AND INSTALLER DOCUMENTATION + SOME I18N TOOLS
if [ -z "$work_on_docs_and_tools" ]; then
    translate_projects_po[doc_installer]="docs_and_tools/docs/installer"
    translate_projects_po[doc_mcc-help]="docs_and_tools/docs/mcc-help"
fi

# REPOSITORIES OF RESOURCES BRANCHED FOR MAGEIA 3
if [ -z "$work_on_mga3" ]; then
    translate_projects_po[drakx_help_mga3]="drakx_mga3/perl-install/install/help/po"
    translate_projects_po[drakx_install_mga3]="drakx_mga3/perl-install/install/share/po"
    translate_projects_po[drakx_share_mga3]="drakx_mga3/perl-install/share/po"
    translate_projects_po[drakx_standalone_mga3]="drakx_mga3/perl-install/standalone/po"
fi

# UNOFFICIAL LIST OF REPOSITORIES OF OTHER RESOURCES FOR TRANSLATION
if [ -z "$work_on_unofficial" ]; then
    translate_projects_po[drakx_help]="drakx/perl-install/install/help/po"
#   translate_projects_po[epoll]="NA"
    translate_projects_po[indexhtml_about]="indexhtml/about/po"
#   translate_projects_po[isodumper]="NA"
#   translate_projects_po[usbdumper]="usbdumper/po" # unmantained and duplicate
fi

# .DESKTOP FILES
# Repositories of one line to translate .desktop files (not needed after finished translation)
if [ -z "$work_on_desktop_files" ]; then
#   "not really a .desktop file" translate_projects_desktop[desktop-common-data-GdmGreeterTheme-nolist]="desktop-common-data/dm/GdmGreeterTheme-nolist.desktop"
#   "not really a .desktop file" translate_projects_desktop[desktop-common-data-GdmGreeterTheme]="desktop-common-data/dm/GdmGreeterTheme.desktop"
#   "not really a .desktop file" translate_projects_desktop[desktop-common-data-KdmGreeterTheme]="desktop-common-data/dm/KdmGreeterTheme.desktop"
#   no translations?? translate_projects_desktop[draklive-copy-wizard]="draklive/draklive-copy-wizard.desktop"
#   translate_projects_desktop[draklive-GUADEC-booklet]="draklive-config/files/GUADEC-booklet.desktop"
    translate_projects_desktop[draklive-install]="draklive-config/files/draklive-install.desktop"
    translate_projects_desktop[draklive-register]="draklive-config/files/register.desktop"
#   no translations?? translate_projects_desktop[drakx-net-net_applet]="drakx-net/data/net_applet.desktop"
#   not yet on git mageia-doc/trunk/mcc/en/mageia-doc-mcc-en.desktop
#   not yet on git mageia-doc/trunk/mcc/et/mageia-doc-mcc-et.desktop
#   not yet on git mageia-doc/trunk/mcc/fr/mageia-doc-mcc-fr.desktop
#   no translations?? mgaonline/trunk/gnome-mandrakeonline.desktop
#   no translations?? translate_projects_desktop[mageiawelcome]="mageiawelcome/etc/xdg/autostart/mageiawelcome.desktop" # added 9. nov. 2013
    translate_projects_desktop[mageiawelcome]="mageiawelcome/usr/share/applications/mageiawelcome.desktop" # added 9. nov. 2013
    translate_projects_desktop[mageia-kde-banshee-play-audiocd]="mageia-kde-translation/solid/banshee-play-audiocd.desktop"
    translate_projects_desktop[mageia-kde-brasero_copy_disc]="mageia-kde-translation/solid/brasero_copy_disc.desktop"
    translate_projects_desktop[mageia-kde-brasero_create_audio_cd_from_blank_medium]="mageia-kde-translation/solid/brasero_create_audio_cd_from_blank_medium.desktop"
    translate_projects_desktop[mageia-kde-brasero_create_data_project_from_blank_medium]="mageia-kde-translation/solid/brasero_create_data_project_from_blank_medium.desktop"
    translate_projects_desktop[mageia-kde-classicPanel]="mageia-kde-config/kde4-profiles/Default/share/apps/plasma/layout-templates/org.mageia.plasma-desktop.classicPanel/metadata.desktop"
    translate_projects_desktop[mageia-kde-defaultPanel]="mageia-kde-config/kde4-profiles/Default/share/apps/plasma/layout-templates/org.mageia.plasma-desktop.defaultPanel/metadata.desktop"
#   no translations?? Mageia customization of the Air theme translate_projects_desktop[mageia-kde-desktoptheme]="mageia-kde-config/kde4-profiles/common/share/apps/desktoptheme/default/metadata.desktop"
#   theme/ia_ora-kde4/trunk/kwin-client/iaora.desktop
#   "not really a .desktop file" translate_projects_desktop[mageia-kde-KdmGreeterTheme-common]="mageia-kde-config/kde4-profiles/common/share/config/kdm/themes/mageia-kde4/KdmGreeterTheme.desktop"
#   "not really a .desktop file" translate_projects_desktop[mageia-kde-KdmGreeterTheme-Default]="mageia-kde-config/kde4-profiles/Default/share/config/kdm/themes/mageia-kde4/KdmGreeterTheme.desktop"
#   no translations??  translate_projects_desktop[mageia-kde-KdmGreeterTheme-netbook]="mageia-kde-config/kde4-profiles/netbook/share/config/kdm/themes/mageia-kde4/KdmGreeterTheme.desktop"
#   no translations?? translate_projects_desktop[mageia-kde-ksplashplugin]="kde4-splash-mga/ksplashplugin.desktop"
#   no translations?? translate_projects_desktop[mageia-kde-plasma-desktop]="mageia-kde-config/kde4-profiles/netbook/share/autostart/plasma-desktop.desktop"
#   no translations?? translate_projects_desktop[mageia-kde-plasma-netbook]="mageia-kde-config/kde4-profiles/netbook/share/autostart/plasma-netbook.desktop"
#   translate_projects_desktop[mageia-kde-sample]="mageia-kde-translation/solid/sample.desktop"
    translate_projects_desktop[mageia-kde-sendmail]="mageia-kde-translation/services/sendmail.desktop"
#   no translations?? translate_projects_desktop[mageia-kde-splash-mga]="kde4-splash-mga/kde4-splash-mga.desktop"
    translate_projects_desktop[mageia-kde-totem-opendvd]="mageia-kde-translation/solid/totem-opendvd.desktop"
#   usbdumper/trunk/data/mandriva-seed.desktop
    translate_projects_desktop[mageia-xfce-appfinder]="mageia-xfce-config/data/xfce4/panel/launcher-2/xfce4-appfinder.desktop"
    translate_projects_desktop[mageia-xfce-file-manager]="mageia-xfce-config/data/xfce4/panel/launcher-6/file-manager.desktop"
    translate_projects_desktop[mageia-xfce-mcc]="mageia-xfce-config/data/xfce4/panel/launcher-9/mcc.desktop"
    translate_projects_desktop[mageia-xfce-terminal-emulator]="mageia-xfce-config/data/xfce4/panel/launcher-4/terminal-emulator.desktop"
    translate_projects_desktop[mageia-xfce-text-editor]="mageia-xfce-config/data/xfce4/panel/launcher-5/text-editor.desktop"
    translate_projects_desktop[mageia-xfce-web-browser]="mageia-xfce-config/data/xfce4/panel/launcher-8/web-browser.desktop"
#   no translations?? mgaonline/trunk/x-mga-exec.desktop
fi


# HTML FILES # TODO add them also in script
if [ -z "$work_on_html_software_files" ]; then
    translate_projects_help[mageia-gfxboot-theme_help-boot]="bootloader-theme/help-boot"
    translate_projects_help[mageia-gfxboot-theme_help-install]="bootloader-theme/help-install"

#   TODO check this list
#   cat svn_list | grep trunk | egrep html$ | fgrep .html
#   no translations Mandrake!! control-center/trunk/doc/DrakConf.html
#   no translations desktop-common-data/trunk/bookmarks/mozilla/mozilla-download.html
#   no translations desktop-common-data/trunk/bookmarks/mozilla/mozilla-one.html
#   drakx-installer-help/trunk/*.html
#   indexhtml/trunk/HTML/index.html
#   indexhtml/trunk/mail/mail-en.html
#   indexhtml/trunk/mail/mail-fr.html
#   indexhtml/trunk/mail/mail-pt.html
#   mageia-doc/trunk/mcc/en/*.html
#   mga-advisories/trunk/tmpl/*.html
#   mga-treasurer/trunk/tmpl/*.html
#   mgapeople/trunk/tmpl/*.html
#   perl-MDK-Common/trunk/tutorial.html
#   theme/mageia-gfxboot-theme/trunk/help-boot/en/*.html
#   theme/mageia-gfxboot-theme/trunk/help-install/en/*.html
fi


#    WEB PAGES:
web_pages[web_page_navigation]="svn.mageia.org/svn/web/www/trunk/_nav/langs"
web_pages[web_page_navigation_2]="svn.mageia.org/svn/web/nav/langs"
web_pages[web_page_english]="svn.mageia.org/svn/web/www/trunk/en"
web_pages[web_page_my_language]="svn.mageia.org/svn/web/www/trunk/$language_code"
web_pages[web_pages_lang]="svn.mageia.org/svn/web/www/trunk/langs"

# whole website www.mageia.org and mognase navigation
if [ $checkout_whole_website -eq 1 ]; then
    web_pages[web_mognase]="svn.mageia.org/svn/web/nav"
    web_pages[web]="svn.mageia.org/svn/web/www/trunk"
fi