Plugin Directory

Changeset 1321722


Ignore:
Timestamp:
01/05/2016 02:56:04 PM (10 years ago)
Author:
sendmachine
Message:

updated language file

Location:
sendmachine
Files:
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • sendmachine/tags/1.0.6/includes/sendmachine_defaults.php

    r1287956 r1321722  
    11<?php
    22
    3 $sm_config = array(
    4     "keys_to_encode" => array("header_template", "body_template", "footer_template"),
    5     "to_reset" => array('list|id','list|data','list|fields','email|senderlist','email|provider_settings','email|host','email|port','email|from_email','feed|sender_email','feed|list_id'),
    6     "feed_delimiter" => "||%s||"
    7 );
     3class Sm_defaults {
    84
    9 $sendmachine_defaults = array(
    10     "list" => array(
    11         "hide_subscribed" => 0,
    12         "redirect_subscribed" => "",
    13         "message_success_subscribe" => "You have been successfully subscribed! Thank you!",
    14         "message_subscriber_exists" => "You are already subscribed.Thanks anyway.",
    15         "message_not_subscribed" => "Something went wrong, you were not subscribed.",
    16         "checkbox_register" => 1,
    17         "checkbox_comment" => 0,
    18         "checkbox_label" => "Sign me up for the newsletter!",
    19         "checkbox_checked" => 0,
    20         "simple_subscribe" => 1
    21     ),
    22     "email" => array(
    23         "enable_service" => 1,
    24         "encryption" => "no_encryption",
    25         "register_post" => 1,
    26         "comment_post" => 0,
    27         "register_post_label" => "Register",
    28         "comment_post_label" => "Comment"
    29     ),
    30     "feed" => array(
    31         "post_nr" => 10,
    32         "header_template" => "<h1>||SITENAME||</h1>",
    33         "body_template" => "<h3><a href=\"||POSTURL||\">||POSTTITLE||</a></h3><p>||POSTCONTENTSUMMARY||</p><p><em>Author: ||POSTAUTHOR|| Posted on ||POSTDATE||</em></p>",
    34         "footer_template" => "<p><em>If you don't want to receive this messages anymore, unsubscribe by clicking <a href=\"[[UNSUB_LINK]]\">here</a>!</em></p>",
    35         "template_width" => "600px",
    36         "template_bgcolor" => "#fff"
    37     )
    38 );
     5    public static function config() {
     6
     7        return array(
     8            "keys_to_encode" => array("header_template", "body_template", "footer_template"),
     9            "to_reset" => array('list|id', 'list|data', 'list|fields', 'email|senderlist', 'email|provider_settings', 'email|host', 'email|port', 'email|from_email', 'feed|sender_email', 'feed|list_id'),
     10            "feed_delimiter" => "||%s||"
     11        );
     12    }
     13
     14    public static function defaults() {
     15
     16        return array(
     17            "list" => array(
     18                "hide_subscribed" => 0,
     19                "redirect_subscribed" => "",
     20                "message_success_subscribe" => __('You have been successfully subscribed! Thank you!', SM_LANGUAGE_DOMAIN),
     21                "message_subscriber_exists" => __('You are already subscribed.Thanks anyway.', SM_LANGUAGE_DOMAIN),
     22                "message_not_subscribed" => __('Something went wrong, you were not subscribed.', SM_LANGUAGE_DOMAIN),
     23                "checkbox_register" => 1,
     24                "checkbox_comment" => 0,
     25                "checkbox_label" => __('Sign me up for the newsletter!', SM_LANGUAGE_DOMAIN),
     26                "checkbox_checked" => 0,
     27                "simple_subscribe" => 1
     28            ),
     29            "email" => array(
     30                "enable_service" => 1,
     31                "encryption" => "no_encryption",
     32                "register_post" => 1,
     33                "comment_post" => 0,
     34                "register_post_label" => "Register",
     35                "comment_post_label" => "Comment"
     36            ),
     37            "feed" => array(
     38                "post_nr" => 10,
     39                "header_template" => "<h1>||SITENAME||</h1>",
     40                "body_template" => "<h3><a href=\"||POSTURL||\">||POSTTITLE||</a></h3><p>||POSTCONTENTSUMMARY||</p><p><em>Author: ||POSTAUTHOR|| Posted on ||POSTDATE||</em></p>",
     41                "footer_template" => "<p><em>If you don't want to receive this messages anymore, unsubscribe by clicking <a href=\"[[UNSUB_LINK]]\">here</a>!</em></p>",
     42                "template_width" => "600px",
     43                "template_bgcolor" => "#fff"
     44            )
     45        );
     46    }
     47
     48}
  • sendmachine/tags/1.0.6/includes/sendmachine_subscribe_manager.php

    r1287956 r1321722  
    143143                . '<input type="hidden" name="sm_form_nr" value="'.$this->form_count.'"/> '
    144144                . $list_fields
    145                 . '<input type="submit" value="Subscribe" />'
     145                . '<input type="submit" value="'.__('Subscribe', SM_LANGUAGE_DOMAIN).'" />'
    146146                . '<div class="sm_wp_sub_req_resp" >' . $notices . '</div>'
    147147                . '</form>'
  • sendmachine/tags/1.0.6/languages/wp-sendmachine-ro_RO.po

    r1226818 r1321722  
    22msgstr ""
    33"Project-Id-Version: sendmachine-for-wordpress\n"
    4 "POT-Creation-Date: 2015-08-19 10:36+0200\n"
    5 "PO-Revision-Date: 2015-08-19 10:42+0200\n"
     4"POT-Creation-Date: 2016-01-05 16:00+0200\n"
     5"PO-Revision-Date: 2016-01-05 16:11+0200\n"
     6"Last-Translator: sendmachine <support@sendmachine.com>\n"
    67"Language-Team: sendmachine <support@sendmachine.com>\n"
     8"Language: ro\n"
    79"MIME-Version: 1.0\n"
    810"Content-Type: text/plain; charset=UTF-8\n"
     
    1113"X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
    1214"X-Poedit-Basepath: ../\n"
    13 "Last-Translator: sendmachine <support@sendmachine.com>\n"
    1415"X-Poedit-SearchPath-0: .\n"
    1516
     
    3738msgstr "Setari"
    3839
     40#: sendmachine_wp_admin.php:70
     41msgid "General"
     42msgstr "General"
     43
     44#: sendmachine_wp_admin.php:71
     45msgid "Lists"
     46msgstr "Liste"
     47
     48#: sendmachine_wp_admin.php:72
     49msgid "Feed"
     50msgstr "Flux noutati"
     51
     52#: sendmachine_wp_admin.php:73 views/wp_sm_email_settings.php:6
     53msgid "Email Settings"
     54msgstr "Setari Email"
     55
    3956#: sendmachine_wp_admin.php:136
    4057msgid "Saved!"
     
    83100msgstr "Abonare lista Sendmachine"
    84101
    85 #: sendmachine_widget.php:31
     102#: sendmachine_widget.php:33
    86103msgid "Title:"
    87104msgstr "Titlu:"
    88105
    89 #: includes/sendmachine_subscribe_manager.php:142
    90 msgid "* mandatory"
    91 msgstr "* obligatoriu"
    92 
    93 #: includes/sendmachine_subscribe_manager.php:217
     106#: sendmachine_widget.php:37
     107msgid "Description:"
     108msgstr "Descrierea blog-ului"
     109
     110#: includes/sendmachine_subscribe_manager.php:145
     111msgid "Subscribe"
     112msgstr "Abonare"
     113
     114#: includes/sendmachine_subscribe_manager.php:219
    94115msgid ""
    95116"API must be connected and you have to select a list in order to sync your "
     
    99120"putea sincroniza utilizatorii."
    100121
    101 #: includes/sendmachine_subscribe_manager.php:235
     122#: includes/sendmachine_subscribe_manager.php:237
    102123#, php-format
    103124msgid "Sync complete! %u users were added to your contact list."
     
    106127"contacte. "
    107128
    108 #: includes/sendmachine_subscribe_manager.php:236
     129#: includes/sendmachine_subscribe_manager.php:238
    109130msgid "Something went wrong. Users not synced."
    110131msgstr "Ceva nu a mers cum trebuie. Utilizatorii nu au fost sincronizati."
     132
     133#: includes/sendmachine_defaults.php:13
     134msgid "You have been successfully subscribed! Thank you!"
     135msgstr "Ai fost abonat cu succes."
     136
     137#: includes/sendmachine_defaults.php:14
     138msgid "You are already subscribed.Thanks anyway."
     139msgstr "Esti abonat deja."
     140
     141#: includes/sendmachine_defaults.php:15
     142msgid "Something went wrong, you were not subscribed."
     143msgstr "Ceva nu a mers cum trebuie. Utilizatorii nu au fost sincronizati."
     144
     145#: includes/sendmachine_defaults.php:18
     146msgid "Sign me up for the newsletter!"
     147msgstr "Aboneaza-ma la newsletter!"
    111148
    112149#: includes/sendmachine_feed_manager.php:25
     
    116153#: includes/sendmachine_feed_manager.php:39
    117154#: includes/sendmachine_feed_manager.php:68
    118 #: views/wp_sm_general_settings.php:39 views/wp_sm_feed_settings.php:189
     155#: views/wp_sm_general_settings.php:39 views/wp_sm_feed_settings.php:192
    119156msgid "here"
    120157msgstr "aici"
     
    254291msgstr "Lista la care se vor abona persoanele"
    255292
    256 #: views/wp_sm_list_settings.php:54 views/wp_sm_feed_settings.php:198
     293#: views/wp_sm_list_settings.php:54 views/wp_sm_feed_settings.php:201
    257294msgid "Save"
    258295msgstr "Salveaza"
     
    327364
    328365#: views/wp_sm_list_settings.php:174 views/wp_sm_list_settings.php:221
    329 #: views/wp_sm_email_settings.php:112 views/wp_sm_general_settings.php:62
     366#: views/wp_sm_email_settings.php:112 views/wp_sm_general_settings.php:64
    330367msgid "Save Changes"
    331368msgstr "Salveaza Modificari"
     
    381418msgstr "Aboneaza  toti utilizatorii existenti la lista de contacte selectata."
    382419
    383 #: views/wp_sm_email_settings.php:6
    384 msgid "Email Settings"
    385 msgstr "Setari Email"
    386 
    387420#: views/wp_sm_email_settings.php:8
    388421msgid ""
     
    563596msgstr "UTILIZATOR API"
    564597
    565 #: views/wp_sm_general_settings.php:55
     598#: views/wp_sm_general_settings.php:56
    566599msgid "API PASSWORD"
    567600msgstr "PAROLA API"
     
    587620msgstr "Lista de contacte"
    588621
    589 #: views/wp_sm_feed_settings.php:62
     622#: views/wp_sm_feed_settings.php:65
    590623msgid "Sender address"
    591624msgstr "Adresa de trimitere"
    592625
    593 #: views/wp_sm_feed_settings.php:84
     626#: views/wp_sm_feed_settings.php:87
    594627msgid "Send Campaign"
    595628msgstr "Trimite Campanie"
    596629
    597 #: views/wp_sm_feed_settings.php:85
     630#: views/wp_sm_feed_settings.php:88
    598631msgid "Save Draft To Sendmachine"
    599632msgstr "Salveaza draft in Sendmachine"
    600633
    601 #: views/wp_sm_feed_settings.php:91
     634#: views/wp_sm_feed_settings.php:94
    602635msgid "Template customization"
    603636msgstr "Personalizare template"
    604637
    605 #: views/wp_sm_feed_settings.php:94
     638#: views/wp_sm_feed_settings.php:97
    606639msgid "Number of posts"
    607640msgstr "Numar de post-uri"
    608641
    609 #: views/wp_sm_feed_settings.php:110
     642#: views/wp_sm_feed_settings.php:113
    610643msgid "Number of posts (descending order) to build campaign's newsletter."
    611644msgstr ""
     
    613646"campaniei."
    614647
    615 #: views/wp_sm_feed_settings.php:115
     648#: views/wp_sm_feed_settings.php:118
    616649msgid "Template width"
    617650msgstr "Latime template"
    618651
    619 #: views/wp_sm_feed_settings.php:121
     652#: views/wp_sm_feed_settings.php:124
    620653msgid "Define template's width.Defaults to 600 px."
    621654msgstr "Seteaza latimea (width) template-ului. Implicit este 600px. "
    622655
    623 #: views/wp_sm_feed_settings.php:126
     656#: views/wp_sm_feed_settings.php:129
    624657msgid "Template background color"
    625658msgstr "Culoarea de fundal a template-ului "
    626659
    627 #: views/wp_sm_feed_settings.php:132
     660#: views/wp_sm_feed_settings.php:135
    628661msgid "Define template's background color.Defaults to '#fff' (white)."
    629662msgstr ""
    630663"Seteaza culoarea de fundal a template-ului. Cea implicita este '#fff' (alb)."
    631664
    632 #: views/wp_sm_feed_settings.php:137
     665#: views/wp_sm_feed_settings.php:140
    633666msgid "Template header"
    634667msgstr "Header template"
    635668
    636 #: views/wp_sm_feed_settings.php:138
     669#: views/wp_sm_feed_settings.php:141
    637670msgid ""
    638671"Customize template's header. A logo is recommended, but really, there are no "
     
    642675"dar sincer, nu sunt limite."
    643676
    644 #: views/wp_sm_feed_settings.php:150
     677#: views/wp_sm_feed_settings.php:153
    645678msgid "Template body"
    646679msgstr "Body template"
    647680
    648 #: views/wp_sm_feed_settings.php:151
     681#: views/wp_sm_feed_settings.php:154
    649682#, php-format
    650683msgid ""
     
    655688"body pentru a construi efectiv continutul. (designul VA FI preluat)."
    656689
    657 #: views/wp_sm_feed_settings.php:163
     690#: views/wp_sm_feed_settings.php:166
    658691msgid "Template footer"
    659692msgstr "Footer template"
    660693
    661 #: views/wp_sm_feed_settings.php:164
     694#: views/wp_sm_feed_settings.php:167
    662695msgid ""
    663696"Customize template's footer. An unsubscribe link is mandatory e.g. <a "
     
    667700"obligatoriu ex. <a href='[[UNSUB_LINK]]'>dezabonare</a>"
    668701
    669 #: views/wp_sm_feed_settings.php:177
     702#: views/wp_sm_feed_settings.php:180
    670703msgid "Keyword dictionary: "
    671704msgstr "Dictionar termeni:"
    672705
    673 #: views/wp_sm_feed_settings.php:190
     706#: views/wp_sm_feed_settings.php:193
    674707#, php-format
    675708msgid "For a list of available Sendmachine macros click %s."
    676709msgstr "Pentru lista cu macro-urile Sendmachine disponibile click %s."
    677710
    678 #: views/wp_sm_feed_settings.php:199
     711#: views/wp_sm_feed_settings.php:202
    679712msgid "Preview"
    680713msgstr "Previzualizare"
    681714
     715#~ msgid "* mandatory"
     716#~ msgstr "* obligatoriu"
     717
    682718#~ msgid "Customize template's body. Include at least "
    683719#~ msgstr "Personalizeaza body-ul template-ului. Include cel putin"
  • sendmachine/tags/1.0.6/readme.txt

    r1288496 r1321722  
    33Tags: sendmachine,newsletter,campaigns,subscribers,sign-up,email marketing
    44Requires at least: 3.2.1
    5 Tested up to: 4.3
    6 Stable tag: 1.0.5
     5Tested up to: 4.4
     6Stable tag: 1.0.6
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9696== Changelog ==
    9797
     98= 1.0.6 =
     99* updated language file
     100
    98101= 1.0.5 =
    99102* disabled error reporting
  • sendmachine/tags/1.0.6/sendmachine_wp.php

    r1288496 r1321722  
    55  Plugin URI: https://www.sendmachine.com
    66  Description: The official Sendmachine plugin featuring subscribe forms, users sync, news feed, email sending and transactional campaigns.
    7   Version: 1.0.5
     7  Version: 1.0.6
    88  Author: Sendmachine team
    99  Author URI: http://developers.sendmachine.com/
     
    4040       
    4141        require_once SM_PLUGIN_DIR . 'includes/sendmachine_defaults.php';
    42         $this->sm_defaults = $sendmachine_defaults;
    43         $this->config = $sm_config;
     42        $this->sm_defaults = Sm_defaults::defaults();
     43        $this->config = Sm_defaults::config();
    4444
    4545        $this->app = get_option(SM_OPTIONS_APP_NAME);
  • sendmachine/tags/1.0.6/sendmachine_wp_admin.php

    r1287956 r1321722  
    6868        add_menu_page('Sendmachine Setup', 'Sendmachine', 'manage_options', 'sendmachine_settings', array($this, 'sendmachine_load_page'), plugins_url('static/images/wp_sendmachine_logo.png', SM_PLUGIN_FILE));
    6969
    70         add_submenu_page('sendmachine_settings', 'Sendmachine -' . ' General', 'General', 'manage_options', 'sendmachine_settings', array($this, 'sendmachine_load_page'));
    71         add_submenu_page('sendmachine_settings', 'Sendmachine -' . ' Lists', 'Lists', 'manage_options', 'sendmachine_lists', array($this, 'sendmachine_load_page'));
    72         add_submenu_page('sendmachine_settings', 'Sendmachine -' . ' Feed', 'Feed', 'manage_options', 'sendmachine_feed', array($this, 'sendmachine_load_page'));
    73         add_submenu_page('sendmachine_settings', 'Sendmachine -' . ' Email Settings', 'Email Settings', 'manage_options', 'sendmachine_email', array($this, 'sendmachine_load_page'));
     70        add_submenu_page('sendmachine_settings', 'Sendmachine -' . ' General', __('General', SM_LANGUAGE_DOMAIN), 'manage_options', 'sendmachine_settings', array($this, 'sendmachine_load_page'));
     71        add_submenu_page('sendmachine_settings', 'Sendmachine -' . ' Lists', __('Lists', SM_LANGUAGE_DOMAIN), 'manage_options', 'sendmachine_lists', array($this, 'sendmachine_load_page'));
     72        add_submenu_page('sendmachine_settings', 'Sendmachine -' . ' Feed', __('Feed', SM_LANGUAGE_DOMAIN), 'manage_options', 'sendmachine_feed', array($this, 'sendmachine_load_page'));
     73        add_submenu_page('sendmachine_settings', 'Sendmachine -' . ' Email Settings', __('Email Settings', SM_LANGUAGE_DOMAIN), 'manage_options', 'sendmachine_email', array($this, 'sendmachine_load_page'));
    7474    }
    7575
     
    101101    public function sendmachine_wp_install() {
    102102
    103         $this->walk_array($this->app, $this->sm_defaults);
     103        $this->walk_array($this->app, Sm_defaults::defaults());
    104104        update_option(SM_OPTIONS_APP_NAME, $this->app);
    105105    }
  • sendmachine/trunk/includes/sendmachine_defaults.php

    r1287956 r1321722  
    11<?php
    22
    3 $sm_config = array(
    4     "keys_to_encode" => array("header_template", "body_template", "footer_template"),
    5     "to_reset" => array('list|id','list|data','list|fields','email|senderlist','email|provider_settings','email|host','email|port','email|from_email','feed|sender_email','feed|list_id'),
    6     "feed_delimiter" => "||%s||"
    7 );
     3class Sm_defaults {
    84
    9 $sendmachine_defaults = array(
    10     "list" => array(
    11         "hide_subscribed" => 0,
    12         "redirect_subscribed" => "",
    13         "message_success_subscribe" => "You have been successfully subscribed! Thank you!",
    14         "message_subscriber_exists" => "You are already subscribed.Thanks anyway.",
    15         "message_not_subscribed" => "Something went wrong, you were not subscribed.",
    16         "checkbox_register" => 1,
    17         "checkbox_comment" => 0,
    18         "checkbox_label" => "Sign me up for the newsletter!",
    19         "checkbox_checked" => 0,
    20         "simple_subscribe" => 1
    21     ),
    22     "email" => array(
    23         "enable_service" => 1,
    24         "encryption" => "no_encryption",
    25         "register_post" => 1,
    26         "comment_post" => 0,
    27         "register_post_label" => "Register",
    28         "comment_post_label" => "Comment"
    29     ),
    30     "feed" => array(
    31         "post_nr" => 10,
    32         "header_template" => "<h1>||SITENAME||</h1>",
    33         "body_template" => "<h3><a href=\"||POSTURL||\">||POSTTITLE||</a></h3><p>||POSTCONTENTSUMMARY||</p><p><em>Author: ||POSTAUTHOR|| Posted on ||POSTDATE||</em></p>",
    34         "footer_template" => "<p><em>If you don't want to receive this messages anymore, unsubscribe by clicking <a href=\"[[UNSUB_LINK]]\">here</a>!</em></p>",
    35         "template_width" => "600px",
    36         "template_bgcolor" => "#fff"
    37     )
    38 );
     5    public static function config() {
     6
     7        return array(
     8            "keys_to_encode" => array("header_template", "body_template", "footer_template"),
     9            "to_reset" => array('list|id', 'list|data', 'list|fields', 'email|senderlist', 'email|provider_settings', 'email|host', 'email|port', 'email|from_email', 'feed|sender_email', 'feed|list_id'),
     10            "feed_delimiter" => "||%s||"
     11        );
     12    }
     13
     14    public static function defaults() {
     15
     16        return array(
     17            "list" => array(
     18                "hide_subscribed" => 0,
     19                "redirect_subscribed" => "",
     20                "message_success_subscribe" => __('You have been successfully subscribed! Thank you!', SM_LANGUAGE_DOMAIN),
     21                "message_subscriber_exists" => __('You are already subscribed.Thanks anyway.', SM_LANGUAGE_DOMAIN),
     22                "message_not_subscribed" => __('Something went wrong, you were not subscribed.', SM_LANGUAGE_DOMAIN),
     23                "checkbox_register" => 1,
     24                "checkbox_comment" => 0,
     25                "checkbox_label" => __('Sign me up for the newsletter!', SM_LANGUAGE_DOMAIN),
     26                "checkbox_checked" => 0,
     27                "simple_subscribe" => 1
     28            ),
     29            "email" => array(
     30                "enable_service" => 1,
     31                "encryption" => "no_encryption",
     32                "register_post" => 1,
     33                "comment_post" => 0,
     34                "register_post_label" => "Register",
     35                "comment_post_label" => "Comment"
     36            ),
     37            "feed" => array(
     38                "post_nr" => 10,
     39                "header_template" => "<h1>||SITENAME||</h1>",
     40                "body_template" => "<h3><a href=\"||POSTURL||\">||POSTTITLE||</a></h3><p>||POSTCONTENTSUMMARY||</p><p><em>Author: ||POSTAUTHOR|| Posted on ||POSTDATE||</em></p>",
     41                "footer_template" => "<p><em>If you don't want to receive this messages anymore, unsubscribe by clicking <a href=\"[[UNSUB_LINK]]\">here</a>!</em></p>",
     42                "template_width" => "600px",
     43                "template_bgcolor" => "#fff"
     44            )
     45        );
     46    }
     47
     48}
  • sendmachine/trunk/includes/sendmachine_subscribe_manager.php

    r1287956 r1321722  
    143143                . '<input type="hidden" name="sm_form_nr" value="'.$this->form_count.'"/> '
    144144                . $list_fields
    145                 . '<input type="submit" value="Subscribe" />'
     145                . '<input type="submit" value="'.__('Subscribe', SM_LANGUAGE_DOMAIN).'" />'
    146146                . '<div class="sm_wp_sub_req_resp" >' . $notices . '</div>'
    147147                . '</form>'
  • sendmachine/trunk/languages/wp-sendmachine-ro_RO.po

    r1226818 r1321722  
    22msgstr ""
    33"Project-Id-Version: sendmachine-for-wordpress\n"
    4 "POT-Creation-Date: 2015-08-19 10:36+0200\n"
    5 "PO-Revision-Date: 2015-08-19 10:42+0200\n"
     4"POT-Creation-Date: 2016-01-05 16:00+0200\n"
     5"PO-Revision-Date: 2016-01-05 16:11+0200\n"
     6"Last-Translator: sendmachine <support@sendmachine.com>\n"
    67"Language-Team: sendmachine <support@sendmachine.com>\n"
     8"Language: ro\n"
    79"MIME-Version: 1.0\n"
    810"Content-Type: text/plain; charset=UTF-8\n"
     
    1113"X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
    1214"X-Poedit-Basepath: ../\n"
    13 "Last-Translator: sendmachine <support@sendmachine.com>\n"
    1415"X-Poedit-SearchPath-0: .\n"
    1516
     
    3738msgstr "Setari"
    3839
     40#: sendmachine_wp_admin.php:70
     41msgid "General"
     42msgstr "General"
     43
     44#: sendmachine_wp_admin.php:71
     45msgid "Lists"
     46msgstr "Liste"
     47
     48#: sendmachine_wp_admin.php:72
     49msgid "Feed"
     50msgstr "Flux noutati"
     51
     52#: sendmachine_wp_admin.php:73 views/wp_sm_email_settings.php:6
     53msgid "Email Settings"
     54msgstr "Setari Email"
     55
    3956#: sendmachine_wp_admin.php:136
    4057msgid "Saved!"
     
    83100msgstr "Abonare lista Sendmachine"
    84101
    85 #: sendmachine_widget.php:31
     102#: sendmachine_widget.php:33
    86103msgid "Title:"
    87104msgstr "Titlu:"
    88105
    89 #: includes/sendmachine_subscribe_manager.php:142
    90 msgid "* mandatory"
    91 msgstr "* obligatoriu"
    92 
    93 #: includes/sendmachine_subscribe_manager.php:217
     106#: sendmachine_widget.php:37
     107msgid "Description:"
     108msgstr "Descrierea blog-ului"
     109
     110#: includes/sendmachine_subscribe_manager.php:145
     111msgid "Subscribe"
     112msgstr "Abonare"
     113
     114#: includes/sendmachine_subscribe_manager.php:219
    94115msgid ""
    95116"API must be connected and you have to select a list in order to sync your "
     
    99120"putea sincroniza utilizatorii."
    100121
    101 #: includes/sendmachine_subscribe_manager.php:235
     122#: includes/sendmachine_subscribe_manager.php:237
    102123#, php-format
    103124msgid "Sync complete! %u users were added to your contact list."
     
    106127"contacte. "
    107128
    108 #: includes/sendmachine_subscribe_manager.php:236
     129#: includes/sendmachine_subscribe_manager.php:238
    109130msgid "Something went wrong. Users not synced."
    110131msgstr "Ceva nu a mers cum trebuie. Utilizatorii nu au fost sincronizati."
     132
     133#: includes/sendmachine_defaults.php:13
     134msgid "You have been successfully subscribed! Thank you!"
     135msgstr "Ai fost abonat cu succes."
     136
     137#: includes/sendmachine_defaults.php:14
     138msgid "You are already subscribed.Thanks anyway."
     139msgstr "Esti abonat deja."
     140
     141#: includes/sendmachine_defaults.php:15
     142msgid "Something went wrong, you were not subscribed."
     143msgstr "Ceva nu a mers cum trebuie. Utilizatorii nu au fost sincronizati."
     144
     145#: includes/sendmachine_defaults.php:18
     146msgid "Sign me up for the newsletter!"
     147msgstr "Aboneaza-ma la newsletter!"
    111148
    112149#: includes/sendmachine_feed_manager.php:25
     
    116153#: includes/sendmachine_feed_manager.php:39
    117154#: includes/sendmachine_feed_manager.php:68
    118 #: views/wp_sm_general_settings.php:39 views/wp_sm_feed_settings.php:189
     155#: views/wp_sm_general_settings.php:39 views/wp_sm_feed_settings.php:192
    119156msgid "here"
    120157msgstr "aici"
     
    254291msgstr "Lista la care se vor abona persoanele"
    255292
    256 #: views/wp_sm_list_settings.php:54 views/wp_sm_feed_settings.php:198
     293#: views/wp_sm_list_settings.php:54 views/wp_sm_feed_settings.php:201
    257294msgid "Save"
    258295msgstr "Salveaza"
     
    327364
    328365#: views/wp_sm_list_settings.php:174 views/wp_sm_list_settings.php:221
    329 #: views/wp_sm_email_settings.php:112 views/wp_sm_general_settings.php:62
     366#: views/wp_sm_email_settings.php:112 views/wp_sm_general_settings.php:64
    330367msgid "Save Changes"
    331368msgstr "Salveaza Modificari"
     
    381418msgstr "Aboneaza  toti utilizatorii existenti la lista de contacte selectata."
    382419
    383 #: views/wp_sm_email_settings.php:6
    384 msgid "Email Settings"
    385 msgstr "Setari Email"
    386 
    387420#: views/wp_sm_email_settings.php:8
    388421msgid ""
     
    563596msgstr "UTILIZATOR API"
    564597
    565 #: views/wp_sm_general_settings.php:55
     598#: views/wp_sm_general_settings.php:56
    566599msgid "API PASSWORD"
    567600msgstr "PAROLA API"
     
    587620msgstr "Lista de contacte"
    588621
    589 #: views/wp_sm_feed_settings.php:62
     622#: views/wp_sm_feed_settings.php:65
    590623msgid "Sender address"
    591624msgstr "Adresa de trimitere"
    592625
    593 #: views/wp_sm_feed_settings.php:84
     626#: views/wp_sm_feed_settings.php:87
    594627msgid "Send Campaign"
    595628msgstr "Trimite Campanie"
    596629
    597 #: views/wp_sm_feed_settings.php:85
     630#: views/wp_sm_feed_settings.php:88
    598631msgid "Save Draft To Sendmachine"
    599632msgstr "Salveaza draft in Sendmachine"
    600633
    601 #: views/wp_sm_feed_settings.php:91
     634#: views/wp_sm_feed_settings.php:94
    602635msgid "Template customization"
    603636msgstr "Personalizare template"
    604637
    605 #: views/wp_sm_feed_settings.php:94
     638#: views/wp_sm_feed_settings.php:97
    606639msgid "Number of posts"
    607640msgstr "Numar de post-uri"
    608641
    609 #: views/wp_sm_feed_settings.php:110
     642#: views/wp_sm_feed_settings.php:113
    610643msgid "Number of posts (descending order) to build campaign's newsletter."
    611644msgstr ""
     
    613646"campaniei."
    614647
    615 #: views/wp_sm_feed_settings.php:115
     648#: views/wp_sm_feed_settings.php:118
    616649msgid "Template width"
    617650msgstr "Latime template"
    618651
    619 #: views/wp_sm_feed_settings.php:121
     652#: views/wp_sm_feed_settings.php:124
    620653msgid "Define template's width.Defaults to 600 px."
    621654msgstr "Seteaza latimea (width) template-ului. Implicit este 600px. "
    622655
    623 #: views/wp_sm_feed_settings.php:126
     656#: views/wp_sm_feed_settings.php:129
    624657msgid "Template background color"
    625658msgstr "Culoarea de fundal a template-ului "
    626659
    627 #: views/wp_sm_feed_settings.php:132
     660#: views/wp_sm_feed_settings.php:135
    628661msgid "Define template's background color.Defaults to '#fff' (white)."
    629662msgstr ""
    630663"Seteaza culoarea de fundal a template-ului. Cea implicita este '#fff' (alb)."
    631664
    632 #: views/wp_sm_feed_settings.php:137
     665#: views/wp_sm_feed_settings.php:140
    633666msgid "Template header"
    634667msgstr "Header template"
    635668
    636 #: views/wp_sm_feed_settings.php:138
     669#: views/wp_sm_feed_settings.php:141
    637670msgid ""
    638671"Customize template's header. A logo is recommended, but really, there are no "
     
    642675"dar sincer, nu sunt limite."
    643676
    644 #: views/wp_sm_feed_settings.php:150
     677#: views/wp_sm_feed_settings.php:153
    645678msgid "Template body"
    646679msgstr "Body template"
    647680
    648 #: views/wp_sm_feed_settings.php:151
     681#: views/wp_sm_feed_settings.php:154
    649682#, php-format
    650683msgid ""
     
    655688"body pentru a construi efectiv continutul. (designul VA FI preluat)."
    656689
    657 #: views/wp_sm_feed_settings.php:163
     690#: views/wp_sm_feed_settings.php:166
    658691msgid "Template footer"
    659692msgstr "Footer template"
    660693
    661 #: views/wp_sm_feed_settings.php:164
     694#: views/wp_sm_feed_settings.php:167
    662695msgid ""
    663696"Customize template's footer. An unsubscribe link is mandatory e.g. <a "
     
    667700"obligatoriu ex. <a href='[[UNSUB_LINK]]'>dezabonare</a>"
    668701
    669 #: views/wp_sm_feed_settings.php:177
     702#: views/wp_sm_feed_settings.php:180
    670703msgid "Keyword dictionary: "
    671704msgstr "Dictionar termeni:"
    672705
    673 #: views/wp_sm_feed_settings.php:190
     706#: views/wp_sm_feed_settings.php:193
    674707#, php-format
    675708msgid "For a list of available Sendmachine macros click %s."
    676709msgstr "Pentru lista cu macro-urile Sendmachine disponibile click %s."
    677710
    678 #: views/wp_sm_feed_settings.php:199
     711#: views/wp_sm_feed_settings.php:202
    679712msgid "Preview"
    680713msgstr "Previzualizare"
    681714
     715#~ msgid "* mandatory"
     716#~ msgstr "* obligatoriu"
     717
    682718#~ msgid "Customize template's body. Include at least "
    683719#~ msgstr "Personalizeaza body-ul template-ului. Include cel putin"
  • sendmachine/trunk/readme.txt

    r1288496 r1321722  
    33Tags: sendmachine,newsletter,campaigns,subscribers,sign-up,email marketing
    44Requires at least: 3.2.1
    5 Tested up to: 4.3
    6 Stable tag: 1.0.5
     5Tested up to: 4.4
     6Stable tag: 1.0.6
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9696== Changelog ==
    9797
     98= 1.0.6 =
     99* updated language file
     100
    98101= 1.0.5 =
    99102* disabled error reporting
  • sendmachine/trunk/sendmachine_wp.php

    r1288496 r1321722  
    55  Plugin URI: https://www.sendmachine.com
    66  Description: The official Sendmachine plugin featuring subscribe forms, users sync, news feed, email sending and transactional campaigns.
    7   Version: 1.0.5
     7  Version: 1.0.6
    88  Author: Sendmachine team
    99  Author URI: http://developers.sendmachine.com/
     
    4040       
    4141        require_once SM_PLUGIN_DIR . 'includes/sendmachine_defaults.php';
    42         $this->sm_defaults = $sendmachine_defaults;
    43         $this->config = $sm_config;
     42        $this->sm_defaults = Sm_defaults::defaults();
     43        $this->config = Sm_defaults::config();
    4444
    4545        $this->app = get_option(SM_OPTIONS_APP_NAME);
  • sendmachine/trunk/sendmachine_wp_admin.php

    r1287956 r1321722  
    6868        add_menu_page('Sendmachine Setup', 'Sendmachine', 'manage_options', 'sendmachine_settings', array($this, 'sendmachine_load_page'), plugins_url('static/images/wp_sendmachine_logo.png', SM_PLUGIN_FILE));
    6969
    70         add_submenu_page('sendmachine_settings', 'Sendmachine -' . ' General', 'General', 'manage_options', 'sendmachine_settings', array($this, 'sendmachine_load_page'));
    71         add_submenu_page('sendmachine_settings', 'Sendmachine -' . ' Lists', 'Lists', 'manage_options', 'sendmachine_lists', array($this, 'sendmachine_load_page'));
    72         add_submenu_page('sendmachine_settings', 'Sendmachine -' . ' Feed', 'Feed', 'manage_options', 'sendmachine_feed', array($this, 'sendmachine_load_page'));
    73         add_submenu_page('sendmachine_settings', 'Sendmachine -' . ' Email Settings', 'Email Settings', 'manage_options', 'sendmachine_email', array($this, 'sendmachine_load_page'));
     70        add_submenu_page('sendmachine_settings', 'Sendmachine -' . ' General', __('General', SM_LANGUAGE_DOMAIN), 'manage_options', 'sendmachine_settings', array($this, 'sendmachine_load_page'));
     71        add_submenu_page('sendmachine_settings', 'Sendmachine -' . ' Lists', __('Lists', SM_LANGUAGE_DOMAIN), 'manage_options', 'sendmachine_lists', array($this, 'sendmachine_load_page'));
     72        add_submenu_page('sendmachine_settings', 'Sendmachine -' . ' Feed', __('Feed', SM_LANGUAGE_DOMAIN), 'manage_options', 'sendmachine_feed', array($this, 'sendmachine_load_page'));
     73        add_submenu_page('sendmachine_settings', 'Sendmachine -' . ' Email Settings', __('Email Settings', SM_LANGUAGE_DOMAIN), 'manage_options', 'sendmachine_email', array($this, 'sendmachine_load_page'));
    7474    }
    7575
     
    101101    public function sendmachine_wp_install() {
    102102
    103         $this->walk_array($this->app, $this->sm_defaults);
     103        $this->walk_array($this->app, Sm_defaults::defaults());
    104104        update_option(SM_OPTIONS_APP_NAME, $this->app);
    105105    }
Note: See TracChangeset for help on using the changeset viewer.