# # WARNING: This file is in unicode! # # Riho Kurg # msgid "" msgstr "" "Project-Id-Version: mandrake_desk VERSION\n" "POT-Creation-Date: 2001-03-29 09:59+0200\n" "PO-Revision-Date: 1999-08-25 11:07+0200\n" "Last-Translator: Riho Kurg \n" "Language-Team: et\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: gnome/mandrake.links.desktop.in.h:1 kdelnk/DrakConf.kdelnk.in.h:1 #: old/DrakConf.kdelnk.in.h:1 old/mandrake.links.desktop.in.h:1 msgid "DrakConf" msgstr "DrakConf" #: gnome/mandrake.links.desktop.in.h:2 old/mandrake.links.desktop.in.h:2 msgid "GNOME Web Site" msgstr "GNOME weeb" #: gnome/mandrake.links.desktop.in.h:3 old/mandrake.links.desktop.in.h:6 msgid "Mandrake documentation" msgstr "Mandrake dokumentatsioon" #: gnome/mandrake.links.desktop.in.h:4 kdelnk/Netscape.kdelnk.in.h:1 #: old/Netscape.kdelnk.in.h:1 old/mandrake.links.desktop.in.h:7 msgid "Netscape" msgstr "Netscape" #: kde/Desktop/Templates/MimeType.noext.kdelnk.in.h:1 #: old/MimeType.noext.kdelnk.in.h:1 msgid "Mime Type" msgstr "MIME" #: kde/Desktop/Templates/Program.noext.kdelnk.in.h:1 #: old/Program.noext.kdelnk.in.h:1 msgid "Application" msgstr "Rakendus" #: kde/Desktop/Templates/URL.noext.kdelnk.in.h:1 old/URL.noext.kdelnk.in.h:1 msgid "Internet Address (URL)" msgstr "Internetiaadress (URL)" #: kde/Desktop/Templates/WWWUrl.noext.kdelnk.in.h:1 #: old/WWWUrl.noext.kdelnk.in.h:1 msgid "World Wide Web URL" msgstr "Veebiaadress" #: kde/Desktop/CD-ROM.noext.kdelnk.in.h:2 #: kde/Desktop/Floppy.noext.kdelnk.in.h:1 #: kde/Desktop/Templates/Device.noext.kdelnk.in.h:1 #: old/CD-ROM.noext.kdelnk.in.h:2 old/Device.noext.kdelnk.in.h:1 #: old/Floppy.noext.kdelnk.in.h:1 msgid "File System Device" msgstr "Failiseade" #: kde/Desktop/Templates/Ftpurl.noext.kdelnk.in.h:1 #: old/Ftpurl.noext.kdelnk.in.h:1 msgid "FTP URL" msgstr "FTP URL" #: kde/Desktop/Printer.noext.kdelnk.in.h:1 old/Printer.noext.kdelnk.in.h:1 msgid "Default printer" msgstr "Vaikimisi printer" #: kde/Desktop/Printer.noext.kdelnk.in.h:2 old/Printer.noext.kdelnk.in.h:2 msgid "Manage your print queue" msgstr "Halda prindijoru" #: kde/Desktop/CD-ROM.noext.kdelnk.in.h:1 old/CD-ROM.noext.kdelnk.in.h:1 msgid "CD-ROM" msgstr "CD-lugeja" #: kde/Desktop/Floppy.noext.kdelnk.in.h:2 old/Floppy.noext.kdelnk.in.h:2 msgid "Floppy disk" msgstr "Flopiseade" #: kdelnk/Doc.kdelnk.in.h:1 old/Doc.kdelnk.in.h:1 msgid "Mandrake and KDE documentation" msgstr "Mandrake ja KDE dokumentatsioon" #: kdelnk/Doc.kdelnk.in.h:2 old/Doc.kdelnk.in.h:2 msgid "Mandrake and KDE documentation." msgstr "Mandrake ja KDE dokumentatsioon" #: kdelnk/DrakConf.kdelnk.in.h:2 old/DrakConf.kdelnk.in.h:2 msgid "The system configuration tools of Linux-Mandrake" msgstr "Linux-Mandrake seadistusvahendid" #: kdelnk/Home.kdelnk.in.h:1 old/Home.kdelnk.in.h:1 msgid "Home Directory" msgstr "Kodukataloog" #: kdelnk/Internet.kdelnk.in.h:1 old/Internet.kdelnk.in.h:1 #: old/mandrake.links.desktop.in.h:3 msgid "Internet connection" msgstr "Internetiühendus" #: kdelnk/Internet.kdelnk.in.h:2 old/Internet.kdelnk.in.h:2 msgid "Internet connection." msgstr "Internetiühendus" #: kdelnk/Netscape.kdelnk.in.h:2 old/Netscape.kdelnk.in.h:2 msgid "Netscape browser" msgstr "WWW lehitseja Netscape" #: kdelnk/News.kdelnk.in.h:1 old/News.kdelnk.in.h:1 msgid "Linux Mandrake News" msgstr "Linux Mandrake uudised" #: kdelnk/Printer.kdelnk.in.h:1 old/Printer.kdelnk.in.h:1 msgid "Drop text and postscript files onto the PRINTER icon" msgstr "PRINTER ikoonile lohista trükkimiseks text või PostScript failid" #: kdelnk/Printer.kdelnk.in.h:2 old/Printer.kdelnk.in.h:2 msgid "Printer" msgstr "Printer" #: kdelnk/Updates.kdelnk.in.h:1 old/Updates.kdelnk.in.h:1 #: old/mandrake.links.desktop.in.h:5 msgid "Mandrake Updates" msgstr "Mandrake parandused" #: kdelnk/XKill.kdelnk.in.h:1 old/XKill.kdelnk.in.h:1 msgid "Can't close a window ? use 'XKill'" msgstr "Ei saa akent sulgeda? Kasuta XKill-i!" #: kdelnk/XKill.kdelnk.in.h:2 old/XKill.kdelnk.in.h:2 msgid "XKill" msgstr "XKill" #: old/mandrake.links.desktop.in.h:4 msgid "Linux Documents" msgstr "Linuxi dokumentatsioon" #: old/mandrake.links.desktop.in.h:8 msgid "RpmDrake" msgstr "RpmDrake" #: special/Gnome_and_X.desktop.in.h:1 msgid "Gnome and X Apps" msgstr "Gnome ja X rakendused" ='#n23'>23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
<?php
/**
*
* @package migration
* @copyright (c) 2012 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License v2
*
*/

namespace phpbb\db\migration\data\v310;

class notifications extends \phpbb\db\migration\migration
{
	public function effectively_installed()
	{
		return $this->db_tools->sql_table_exists($this->table_prefix . 'notifications');
	}

	static public function depends_on()
	{
		return array('\phpbb\db\migration\data\v310\dev');
	}

	public function update_schema()
	{
		return array(
			'add_tables'		=> array(
				$this->table_prefix . 'notification_types'	=> array(
					'COLUMNS'			=> array(
						'notification_type'			=> array('VCHAR:255', ''),
						'notification_type_enabled'	=> array('BOOL', 1),
					),
					'PRIMARY_KEY'		=> array('notification_type', 'notification_type_enabled'),
				),
				$this->table_prefix . 'notifications'		=> array(
					'COLUMNS'			=> array(
						'notification_id'  				=> array('UINT', null, 'auto_increment'),
						'item_type'			   			=> array('VCHAR:255', ''),
						'item_id'		  				=> array('UINT', 0),
						'item_parent_id'   				=> array('UINT', 0),
						'user_id'						=> array('UINT', 0),
						'notification_read'				=> array('BOOL', 0),
						'notification_time'				=> array('TIMESTAMP', 1),
						'notification_data'			   	=> array('TEXT_UNI', ''),
					),
					'PRIMARY_KEY'		=> 'notification_id',
					'KEYS'				=> array(
						'item_ident'		=> array('INDEX', array('item_type', 'item_id')),
						'user'				=> array('INDEX', array('user_id', 'notification_read')),
					),
				),
				$this->table_prefix . 'user_notifications'	=> array(
					'COLUMNS'			=> array(
						'item_type'			=> array('VCHAR:255', ''),
						'item_id'			=> array('UINT', 0),
						'user_id'			=> array('UINT', 0),
						'method'			=> array('VCHAR:255', ''),
						'notify'			=> array('BOOL', 1),
					),
				),
			),
		);
	}

	public function revert_schema()
	{
		return array(
			'drop_tables'	=> array(
				$this->table_prefix . 'notification_types',
				$this->table_prefix . 'notifications',
				$this->table_prefix . 'user_notifications',
			),
		);
	}

	public function update_data()
	{
		return array(
			array('module.add', array(
				'ucp',
				'UCP_MAIN',
				array(
					'module_basename'	=> 'ucp_notifications',
					'modes'				=> array('notification_list'),
				),
			)),
			array('module.add', array(
				'ucp',
				'UCP_PREFS',
				array(
					'module_basename'	=> 'ucp_notifications',
					'modes'				=> array('notification_options'),
				),
			)),
			array('config.add', array('load_notifications', 1)),
		);
	}
}