We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 3567b9d7 authored by Evan Prodromou's avatar Evan Prodromou

global search and replace for laconica -> statusnet

parent 99e3b172
......@@ -231,9 +231,9 @@ especially if you've previously installed PHP/MySQL packages.
1. Unpack the tarball you downloaded on your Web server. Usually a
command like this will work:
tar zxf laconica-0.8.0.tar.gz
tar zxf statusnet-0.8.0.tar.gz
...which will make a laconica-0.8.0 subdirectory in your current
...which will make a statusnet-0.8.0 subdirectory in your current
directory. (If you don't have shell access on your Web server, you
may have to unpack the tarball on your local computer and FTP the
files to the server.)
......@@ -241,11 +241,11 @@ especially if you've previously installed PHP/MySQL packages.
2. Move the tarball to a directory of your choosing in your Web root
directory. Usually something like this will work:
mv laconica-0.8.0 /var/www/mublog
mv statusnet-0.8.0 /var/www/mublog
This will make your StatusNet instance available in the mublog path of
your server, like "http://example.net/mublog". "microblog" or
"laconica" might also be good path names. If you know how to
"statusnet" might also be good path names. If you know how to
configure virtual hosts on your web server, you can try setting up
"http://micro.example.net/" or the like.
......@@ -276,7 +276,7 @@ especially if you've previously installed PHP/MySQL packages.
5. Create a database to hold your microblog data. Something like this
should work:
mysqladmin -u "username" --password="password" create laconica
mysqladmin -u "username" --password="password" create statusnet
Note that StatusNet must have its own database; you can't share the
database with another program. You can name it whatever you want,
......@@ -290,7 +290,7 @@ especially if you've previously installed PHP/MySQL packages.
database. If you have shell access, this will probably work from the
MySQL shell:
GRANT ALL on laconica.*
GRANT ALL on statusnet.*
TO 'lacuser'@'localhost'
IDENTIFIED BY 'lacpassword';
......@@ -398,7 +398,7 @@ For this to work, there *must* be a domain or sub-domain for which all
1. Run the SQL script carrier.sql in your StatusNet database. This will
usually work:
mysql -u "lacuser" --password="lacpassword" laconica < db/carrier.sql
mysql -u "lacuser" --password="lacpassword" statusnet < db/carrier.sql
This will populate your database with a list of wireless carriers
that support email SMS gateways.
......@@ -412,7 +412,7 @@ For this to work, there *must* be a domain or sub-domain for which all
2. Edit /etc/aliases on your mail server and add the following line:
*: /path/to/laconica/scripts/maildaemon.php
*: /path/to/statusnet/scripts/maildaemon.php
3. Run whatever code you need to to update your aliases database. For
many mail servers (Postfix, Exim, Sendmail), this should work:
......@@ -813,7 +813,7 @@ instructions; read to the end first before trying them.
Otherwise, go to your StatusNet directory and AFTER YOU MAKE A
BACKUP run the rebuilddb.sh script like this:
./scripts/rebuilddb.sh rootuser rootpassword database db/laconica.sql
./scripts/rebuilddb.sh rootuser rootpassword database db/statusnet.sql
Here, rootuser and rootpassword are the username and password for a
user who can drop and create databases as well as tables; typically
......@@ -835,7 +835,7 @@ precooked data in the DB. All upgraders should check out the inboxes
options below.
NOTE: the database definition file, stoica.ini, has been renamed to
laconica.ini (since this is the recommended database name). If you
statusnet.ini (since this is the recommended database name). If you
have a line in your config.php pointing to the old name, you'll need
to update it.
......@@ -907,12 +907,12 @@ of the defaults are defined), you will lose your configuration options
in any upgrade, and you will wish that you had been more careful.
Starting with version 0.7.1, you can put config files in the
/etc/laconica/ directory on your server, if it exists. Config files
/etc/statusnet/ directory on your server, if it exists. Config files
will be included in this order:
* /etc/laconica/laconica.php - server-wide config
* /etc/laconica/<servername>.php - for a virtual host
* /etc/laconica/<servername>_<pathname>.php - for a path
* /etc/statusnet/laconica.php - server-wide config
* /etc/statusnet/<servername>.php - for a virtual host
* /etc/statusnet/<servername>_<pathname>.php - for a path
* INSTALLDIR/config.php - for a particular implementation
Almost all configuration options are made through a two-dimensional
......@@ -1010,9 +1010,9 @@ database: a DSN (Data Source Name) for your StatusNet database. This is
where 'protocol' is 'mysql' or 'mysqli' (or possibly 'postgresql', if you
really know what you're doing), 'username' is the username,
'password' is the password, and etc.
ini_yourdbname: if your database is not named 'laconica', you'll need
ini_yourdbname: if your database is not named 'statusnet', you'll need
to set this to point to the location of the
laconica.ini file. Note that the real name of your database
statusnet.ini file. Note that the real name of your database
should go in there, not literally 'yourdbname'.
db_driver: You can try changing this to 'MDB2' to use the other driver
type for DB_DataObject, but note that it breaks the OpenID
......@@ -1044,7 +1044,7 @@ By default, StatusNet sites log error messages to the syslog facility.
(You can override this using the 'logfile' parameter described above).
appname: The name that StatusNet uses to log messages. By default it's
"laconica", but if you have more than one installation on the
"statusnet", but if you have more than one installation on the
server, you may want to change the name for each instance so
you can track log messages more easily.
priority: level to log at. Currently ignored.
......@@ -1296,7 +1296,7 @@ integration
A catch-all for integration with other systems.
source: The name to use for the source of posts to Twitter. Defaults
to 'laconica', but if you request your own source name from
to 'statusnet', but if you request your own source name from
Twitter <http://twitter.com/help/request_source>, you can use
that here instead. Status updates on Twitter will then have
links to your site.
......@@ -1595,7 +1595,7 @@ If you're adventurous or impatient, you may want to install the
development version of StatusNet. To get it, use the git version
control tool <http://git-scm.com/> like so:
git clone http://status.net/software/laconica.git
git clone http://status.net/software/statusnet.git
To keep it up-to-date, use 'git pull'. Watch for conflicts!
......@@ -1605,8 +1605,8 @@ Further information
There are several ways to get more information about StatusNet.
* There is a mailing list for StatusNet developers and admins at
http://mail.status.net/mailman/listinfo/laconica-dev
* The #laconica IRC channel on freenode.net <http://www.freenode.net/>.
http://mail.status.net/mailman/listinfo/statusnet-dev
* The #statusnet IRC channel on freenode.net <http://www.freenode.net/>.
* The StatusNet wiki, http://status.net/trac/
Feedback
......
......@@ -125,9 +125,9 @@ class ApiAction extends Action
'users/show',
'help/test',
'help/downtime_schedule',
'laconica/version',
'laconica/config',
'laconica/wadl',
'statusnet/version',
'statusnet/config',
'statusnet/wadl',
'tags/timeline',
'oembed/oembed',
'groups/show',
......@@ -147,11 +147,11 @@ class ApiAction extends Action
$fullname = "$this->api_action/$this->api_method";
// If the site is "private", all API methods except laconica/config
// If the site is "private", all API methods except statusnet/config
// need authentication
if (common_config('site', 'private')) {
return $fullname != 'laconica/config' || false;
return $fullname != 'statusnet/config' || false;
}
// bareauth: only needs auth if without an argument or query param specifying user
......
......@@ -88,7 +88,7 @@ require_once INSTALLDIR.'/lib/twitterapi.php';
$this->show_rss_groups($group, $title, $link, $subtitle);
break;
case 'atom':
$selfuri = common_root_url() . 'api/laconica/groups/list/' . $user->id . '.atom';
$selfuri = common_root_url() . 'api/statusnet/groups/list/' . $user->id . '.atom';
$this->show_atom_groups($group, $title, $id, $link,
$subtitle, $selfuri);
break;
......@@ -135,7 +135,7 @@ require_once INSTALLDIR.'/lib/twitterapi.php';
$this->show_rss_groups($group, $title, $link, $subtitle);
break;
case 'atom':
$selfuri = common_root_url() . 'api/laconica/groups/list_all.atom';
$selfuri = common_root_url() . 'api/statusnet/groups/list_all.atom';
$this->show_atom_groups($group, $title, $id, $link,
$subtitle, $selfuri);
break;
......@@ -216,11 +216,11 @@ require_once INSTALLDIR.'/lib/twitterapi.php';
case 'atom':
if (isset($apidata['api_arg'])) {
$selfuri = common_root_url() .
'api/laconica/groups/timeline/' .
'api/statusnet/groups/timeline/' .
$apidata['api_arg'] . '.atom';
} else {
$selfuri = common_root_url() .
'api/laconica/groups/timeline.atom';
'api/statusnet/groups/timeline.atom';
}
$this->show_atom_timeline($notice, $title, $id, $link,
$subtitle, null, $selfuri);
......
......@@ -227,7 +227,7 @@ class TwitapisearchatomAction extends TwitterapiAction
$server = common_config('site', 'server');
$sitename = common_config('site', 'name');
// XXX: Use xmlns:laconica instead?
// XXX: Use xmlns:statusnet instead?
$this->elementStart('feed',
array('xmlns' => 'http://www.w3.org/2005/Atom',
......
......@@ -36,7 +36,7 @@ require_once INSTALLDIR.'/lib/twitterapi.php';
/**
* StatusNet-specific API methods
*
* This class handles all /laconica/ API methods.
* This class handles all /statusnet/ API methods.
*
* @category Twitter
* @package StatusNet
......@@ -46,14 +46,14 @@ require_once INSTALLDIR.'/lib/twitterapi.php';
* @link http://status.net/
*/
class TwitapilaconicaAction extends TwitterapiAction
class TwitapistatusnetAction extends TwitterapiAction
{
/**
* A version stamp for the API
*
* Returns a version number for this version of StatusNet, which
* should make things a bit easier for upgrades.
* URL: http://identi.ca/api/laconica/version.(xml|json)
* URL: http://identi.ca/api/statusnet/version.(xml|json)
* Formats: xml, json
*
* @param array $args Web arguments
......@@ -89,7 +89,7 @@ class TwitapilaconicaAction extends TwitterapiAction
* Gives a full dump of configuration variables for this instance
* of StatusNet, minus variables that may be security-sensitive (like
* passwords).
* URL: http://identi.ca/api/laconica/config.(xml|json)
* URL: http://identi.ca/api/statusnet/config.(xml|json)
* Formats: xml, json
*
* @param array $args Web arguments
......
......@@ -93,11 +93,11 @@ require_once INSTALLDIR.'/lib/twitterapi.php';
case 'atom':
if (isset($apidata['api_arg'])) {
$selfuri = common_root_url() .
'api/laconica/tags/timeline/' .
'api/statusnet/tags/timeline/' .
$apidata['api_arg'] . '.atom';
} else {
$selfuri = common_root_url() .
'api/laconica/tags/timeline.atom';
'api/statusnet/tags/timeline.atom';
}
$this->show_atom_timeline($notice, $title, $id, $link,
$subtitle, null, $selfuri);
......
......@@ -71,7 +71,7 @@ class Status_network extends DB_DataObject
}
static function cacheKey($k, $v) {
return 'laconica:' . self::$base . ':status_network:'.$k.':'.$v;
return 'statusnet:' . self::$base . ':status_network:'.$k.':'.$v;
}
static function memGet($k, $v)
......
......@@ -15,7 +15,7 @@ if (!defined('LACONICA')) { exit(1); }
$config['site']['name'] = 'Just another Laconica microblog';
$config['site']['server'] = 'localhost';
$config['site']['path'] = 'laconica';
$config['site']['path'] = 'statusnet';
// $config['site']['fancy'] = false;
// $config['site']['theme'] = 'default';
// Sets the site's default design values
......@@ -44,7 +44,7 @@ $config['site']['path'] = 'laconica';
// $config['site']['private'] = true;
// If you want logging sent to a file instead of syslog
// $config['site']['logfile'] = '/tmp/laconica.log';
// $config['site']['logfile'] = '/tmp/statusnet.log';
// Change the syslog facility that Laconica logs to (default is LOG_USER)
// $config['syslog']['facility'] = LOG_LOCAL7;
......@@ -58,8 +58,8 @@ $config['site']['path'] = 'laconica';
// This is a PEAR DB DSN, see http://pear.php.net/manual/en/package.database.db.intro-dsn.php
// Set it to match your actual database
$config['db']['database'] = 'mysql://laconica:microblog@localhost/laconica';
// $config['db']['ini_your_db_name'] = $config['db']['schema_location'].'/laconica.ini';
$config['db']['database'] = 'mysql://statusnet:microblog@localhost/laconica';
// $config['db']['ini_your_db_name'] = $config['db']['schema_location'].'/statusnet.ini';
// *** WARNING *** WARNING *** WARNING *** WARNING ***
// Setting debug to a non-zero value will expose your DATABASE PASSWORD to Web users.
// !!!!!! DO NOT SET THIS ON PRODUCTION SERVERS !!!!!! DB_DataObject's bug, btw, not
......@@ -154,15 +154,15 @@ $config['sphinx']['port'] = 3312;
// using stomp requires an external message queue server
// $config['queue']['subsystem'] = 'stomp';
// $config['queue']['stomp_server'] = 'tcp://localhost:61613';
// use different queue_basename for each laconica instance managed by the server
// $config['queue']['queue_basename'] = 'laconica';
// use different queue_basename for each statusnet instance managed by the server
// $config['queue']['queue_basename'] = 'statusnet';
// The following customise the behaviour of the various daemons:
// $config['daemon']['piddir'] = '/var/run';
// $config['daemon']['user'] = false;
// $config['daemon']['group'] = false;
// For installations with high traffic, laconica can use MemCached to cache
// For installations with high traffic, statusnet can use MemCached to cache
// frequently requested information. Only enable the following if you have
// MemCached up and running:
// $config['memcached']['enabled'] = false;
......
......@@ -17,7 +17,7 @@ VALUES
('gravity', 'Gravity', 'http://mobileways.de/gravity', now()),
('Gwibber','Gwibber','http://launchpad.net/gwibber', now()),
('HelloTxt','HelloTxt','http://hellotxt.com/', now()),
('identicatools','Laconica Tools','http://bitbucketlabs.net/laconica-tools/', now()),
('identicatools','Laconica Tools','http://bitbucketlabs.net/statusnet-tools/', now()),
('identichat','identichat','http://identichat.prosody.im/', now()),
('IdentiFox','IdentiFox','http://www.bitbucket.org/uncryptic/identifox/', now()),
('identitwitch','IdentiTwitch','http://richfish.org/identitwitch/', now()),
......
......@@ -93,7 +93,7 @@ function checkMirror($action_obj, $args)
// on the master DB
$config['db']['database_rw'] = $config['db']['database'];
$config['db']['ini_rw'] = INSTALLDIR.'/classes/laconica.ini';
$config['db']['ini_rw'] = INSTALLDIR.'/classes/statusnet.ini';
foreach ($alwaysRW as $table) {
$config['db']['table_'.$table] = 'rw';
......
......@@ -284,7 +284,7 @@ function pgsql_db_installer($host, $database, $username, $password) {
updateStatus("Running database script...");
//wrap in transaction;
pg_query($conn, 'BEGIN');
$res = runDbScript(INSTALLDIR.'/db/laconica_pg.sql', $conn, 'pgsql');
$res = runDbScript(INSTALLDIR.'/db/statusnet_pg.sql', $conn, 'pgsql');
if ($res === false) {
updateStatus("Can't run database script.", true);
......@@ -335,7 +335,7 @@ function mysql_db_installer($host, $database, $username, $password) {
return false;
}
updateStatus("Running database script...");
$res = runDbScript(INSTALLDIR.'/db/laconica.sql', $conn);
$res = runDbScript(INSTALLDIR.'/db/statusnet.sql', $conn);
if ($res === false) {
updateStatus("Can't run database script.", true);
showForm();
......
......@@ -119,7 +119,7 @@
$.s.className = trueName;
$.s.h = document.createElement('H3');
$.s.h.a = document.createElement('A');
$.s.h.a.target = '_laconica';
$.s.h.a.target = '_statusnet';
$.s.h.appendChild($.s.h.a);
$.s.appendChild($.s.h);
$.s.r = document.createElement('UL');
......@@ -184,11 +184,11 @@
var icon = document.createElement('A');
if (r[i] && r[i].url) {
icon.href = r[i].url;
icon.target = '_laconica';
icon.target = '_statusnet';
icon.title = 'Visit ' + r[i].screen_name + ' at ' + r[i].url;
} else {
icon.href = 'http://' + $.a.server + '/' + r[i].screen_name;
icon.target = '_laconica';
icon.target = '_statusnet';
icon.title = 'Visit ' + r[i].screen_name + ' at http://' + $.a.server + '/' + r[i].screen_name;
}
......@@ -215,14 +215,14 @@
var date_link = document.createElement('A');
date_link.innerHTML = r[i].status.created_at.split(/\+/)[0];
date_link.href = 'http://' + $.a.server + '/notice/' + r[i].status.id;
date_link.target = '_laconica';
date_link.target = '_statusnet';
updated.appendChild(date_link);
if (r[i].status.in_reply_to_status_id) {
updated.appendChild(document.createTextNode(' in reply to '));
var in_reply_to = document.createElement('A');
in_reply_to.innerHTML = r[i].status.in_reply_to_status_id;
in_reply_to.href = 'http://' + $.a.server + '/notice/' + r[i].status.in_reply_to_status_id;
in_reply_to.target = '_laconica';
in_reply_to.target = '_statusnet';
updated.appendChild(in_reply_to);
}
} else {
......@@ -233,9 +233,9 @@
if (r[i].status && r[i].status.text) {
var raw = r[i].status.text;
var cooked = raw;
cooked = cooked.replace(/http:\/\/([^ ]+)/g, "<a href=\"http://$1\" target=\"_laconica\">http://$1</a>");
cooked = cooked.replace(/@([\w*]+)/g, '@<a href="http://' + $.a.server + '/$1" target=\"_laconica\">$1</a>');
cooked = cooked.replace(/#([\w*]+)/g, '#<a href="http://' + $.a.server + '/tag/$1" target="_laconica">$1</a>');
cooked = cooked.replace(/http:\/\/([^ ]+)/g, "<a href=\"http://$1\" target=\"_statusnet\">http://$1</a>");
cooked = cooked.replace(/@([\w*]+)/g, '@<a href="http://' + $.a.server + '/$1" target=\"_statusnet\">$1</a>');
cooked = cooked.replace(/#([\w*]+)/g, '#<a href="http://' + $.a.server + '/tag/$1" target="_statusnet">$1</a>');
p.innerHTML = cooked;
}
li.appendChild(p);
......
......@@ -754,7 +754,7 @@ class Action extends HTMLOutputter // lawsuit
*/
function showStatusNetLicense()
{
$this->element('dt', array('id' => 'site_laconica_license'), _('StatusNet software license'));
$this->element('dt', array('id' => 'site_statusnet_license'), _('StatusNet software license'));
$this->elementStart('dd', null);
if (common_config('site', 'broughtby')) {
$instr = _('**%%site.name%%** is a microblogging service brought to you by [%%site.broughtby%%](%%site.broughtbyurl%%). ');
......
......@@ -119,14 +119,14 @@ $config =
'shorturllength' => 30,
'dupelimit' => 60), # default for same person saying the same thing
'syslog' =>
array('appname' => 'laconica', # for syslog
array('appname' => 'statusnet', # for syslog
'priority' => 'debug', # XXX: currently ignored
'facility' => LOG_USER),
'queue' =>
array('enabled' => false,
'subsystem' => 'db', # default to database, or 'stomp'
'stomp_server' => null,
'queue_basename' => 'laconica',
'queue_basename' => 'statusnet',
'stomp_username' => null,
'stomp_password' => null,
),
......@@ -341,11 +341,11 @@ function addPlugin($name, $attrs = null)
if (isset($conffile)) {
$_config_files = array($conffile);
} else {
$_config_files = array('/etc/laconica/laconica.php',
'/etc/laconica/'.$_server.'.php');
$_config_files = array('/etc/statusnet/laconica.php',
'/etc/statusnet/'.$_server.'.php');
if (strlen($_path) > 0) {
$_config_files[] = '/etc/laconica/'.$_server.'_'.$_path.'.php';
$_config_files[] = '/etc/statusnet/'.$_server.'_'.$_path.'.php';
}
$_config_files[] = INSTALLDIR.'/config.php';
......@@ -368,12 +368,12 @@ function _have_config()
// XXX: Throw a conniption if database not installed
// Fixup for laconica.ini
// Fixup for statusnet.ini
$_db_name = substr($config['db']['database'], strrpos($config['db']['database'], '/') + 1);
if ($_db_name != 'laconica' && !array_key_exists('ini_'.$_db_name, $config['db'])) {
$config['db']['ini_'.$_db_name] = INSTALLDIR.'/classes/laconica.ini';
if ($_db_name != 'statusnet' && !array_key_exists('ini_'.$_db_name, $config['db'])) {
$config['db']['ini_'.$_db_name] = INSTALLDIR.'/classes/statusnet.ini';
}
// Ignore openidonly if OpenID is disabled
......
......@@ -373,7 +373,7 @@ class FacebookAction extends Action
display:inline-block;
}
#facebook_laconica_app {
#facebook_statusnet_app {
text-indent:-9999px;
height:16px;
width:16px;
......@@ -672,7 +672,7 @@ class FacebookProfileBoxNotice extends FacebookNoticeListItem
$this->app_uri = 'http://apps.facebook.com/' . $app_props['canvas_name'];
$this->app_name = $app_props['application_name'];
$this->out->elementStart('a', array('id' => 'facebook_laconica_app',
$this->out->elementStart('a', array('id' => 'facebook_statusnet_app',
'href' => $this->app_uri));
$this->out->text($this->app_name);
$this->out->elementEnd('a');
......
......@@ -395,30 +395,30 @@ class Router
array('action' => 'api',
'apiaction' => 'help'));
// laconica
// statusnet
$m->connect('api/laconica/:method',
$m->connect('api/statusnet/:method',
array('action' => 'api',
'apiaction' => 'laconica'));
'apiaction' => 'statusnet'));
$m->connect('api/laconica/:method',
$m->connect('api/statusnet/:method',
array('action' => 'api',
'apiaction' => 'laconica'));
'apiaction' => 'statusnet'));
// Groups
//'list' has to be handled differently, as php will not allow a method to be named 'list'
$m->connect('api/laconica/groups/list/:argument',
$m->connect('api/statusnet/groups/list/:argument',
array('action' => 'api',
'method' => 'list_groups',
'apiaction' => 'groups'));
foreach (array('xml', 'json', 'rss', 'atom') as $e) {
$m->connect('api/laconica/groups/list.' . $e,
$m->connect('api/statusnet/groups/list.' . $e,
array('action' => 'api',
'method' => 'list_groups.' . $e,
'apiaction' => 'groups'));
}
$m->connect('api/laconica/groups/:method',
$m->connect('api/statusnet/groups/:method',
array('action' => 'api',
'apiaction' => 'statuses'),
array('method' => '(list_all|)(\.(atom|rss|xml|json))?'));
......@@ -428,20 +428,20 @@ class Router
'apiaction' => 'statuses'),
array('method' => '(|user_timeline|friends_timeline|replies|mentions|show|destroy|friends|followers)'));
$m->connect('api/laconica/groups/:method/:argument',
$m->connect('api/statusnet/groups/:method/:argument',
array('action' => 'api',
'apiaction' => 'groups'));
$m->connect('api/laconica/groups/:method',
$m->connect('api/statusnet/groups/:method',
array('action' => 'api',
'apiaction' => 'groups'));
// Tags
$m->connect('api/laconica/tags/:method/:argument',
$m->connect('api/statusnet/tags/:method/:argument',
array('action' => 'api',
'apiaction' => 'tags'));
$m->connect('api/laconica/tags/:method',
$m->connect('api/statusnet/tags/:method',
array('action' => 'api',
'apiaction' => 'tags'));
......
......@@ -244,7 +244,7 @@ class Rss10Action extends Action
$this->element('dc:creator', null, ($profile->fullname) ? $profile->fullname : $profile->nickname);
$this->element('foaf:maker', array('rdf:resource' => $creator_uri));
$this->element('sioc:has_creator', array('rdf:resource' => $creator_uri.'#acct'));
$this->element('laconica:postIcon', array('rdf:resource' => $profile->avatarUrl()));
$this->element('statusnet:postIcon', array('rdf:resource' => $profile->avatarUrl()));
$this->element('cc:licence', array('rdf:resource' => common_config('license', 'url')));
if ($notice->reply_to) {
$replyurl = common_local_url('shownotice', array('notice' => $notice->reply_to));
......@@ -353,7 +353,7 @@ class Rss10Action extends Action
'http://rdfs.org/sioc/types#',
'xmlns:rdfs' =>
'http://www.w3.org/2000/01/rdf-schema#',
'xmlns:laconica' =>
'xmlns:statusnet' =>
'http://status.net/ont/',
'xmlns' => 'http://purl.org/rss/1.0/'));
$this->elementStart('sioc:Site', array('rdf:about' => common_root_url()));
......
......@@ -54,9 +54,9 @@ function common_init_language()
$language = common_language();
// So we don't have to make people install the gettext locales
$locale_set = common_init_locale($language);
bindtextdomain("laconica", common_config('site','locale_path'));
bind_textdomain_codeset("laconica", "UTF-8");
textdomain("laconica");
bindtextdomain("statusnet", common_config('site','locale_path'));
bind_textdomain_codeset("statusnet", "UTF-8");
textdomain("statusnet");
setlocale(LC_CTYPE, 'C');
if(!$locale_set) {
common_log(LOG_INFO,'Language requested:'.$language.' - locale could not be set:',__FILE__);
......@@ -1319,7 +1319,7 @@ function common_cache_key($extra)
$base_key = common_keyize(common_config('site', 'name'));
}
return 'laconica:' . $base_key . ':' . $extra;
return 'statusnet:' . $base_key . ':' . $extra;
}
function common_keyize($str)
......
# #-#-#-#-# laconica.pot (StatusNet 0.6.4) #-#-#-#-#
# #-#-#-#-# statusnet.pot (StatusNet 0.6.4) #-#-#-#-#
# StatusNet Bulgarian translation.
# Copyright (C) 2008
# This file is distributed under the same license as the StatusNet package.
# Yasen Pramatarov <yasen@lindeas.com>, 2008
# Stoyan Zhekov <laconica@zh.otherinbox.com>, 2008
# Stoyan Zhekov <statusnet@zh.otherinbox.com>, 2008
#
msgid ""
msgstr ""
......@@ -276,8 +276,8 @@ msgstr ""
#: actions/twitapiusers.php:55 actions/twitapiaccount.php:37
#: actions/twitapidirect_messages.php:111 actions/twitapifavorites.php:85
#: actions/twitapifavorites.php:102 actions/twitapifriendships.php:121
#: actions/twitapihelp.php:44 actions/twitapilaconica.php:82
#: actions/twitapilaconica.php:151 actions/twitapistatuses.php:79
#: actions/twitapihelp.php:44 actions/twitapistatusnet.php:82
#: actions/twitapistatusnet.php:151 actions/twitapistatuses.php:79
#: actions/twitapistatuses.php:147 actions/twitapistatuses.php:228
#: actions/twitapistatuses.php:239 actions/twitapistatuses.php:392
#: actions/twitapistatuses.php:402 actions/twitapistatuses.php:429
......@@ -302,7 +302,7 @@ msgstr "Не е открит методът в API."
#: actions/twitapistatuses.php:690 actions/twitapiaccount.php:45
#: actions/twitapiaccount.php:97 actions/twitapiaccount.php:103
#: actions/twitapidirect_messages.php:184 actions/twitapifavorites.php:143
#: actions/twitapihelp.php:52 actions/twitapilaconica.php:172
#: actions/twitapihelp.php:52 actions/twitapistatusnet.php:172
#: actions/twitapinotifications.php:31 actions/twitapinotifications.php:37
#: actions/twitapistatuses.php:562
msgid "API method under construction."
......
......@@ -276,8 +276,8 @@ msgstr ""
#: actions/twitapiusers.php:55 actions/twitapiaccount.php:37
#: actions/twitapidirect_messages.php:111 actions/twitapifavorites.php:85
#: actions/twitapifavorites.php:102 actions/twitapifriendships.php:121
#: actions/twitapihelp.php:44 actions/twitapilaconica.php:82
#: actions/twitapilaconica.php:151 actions/twitapistatuses.php:79
#: actions/twitapihelp.php:44 actions/twitapistatusnet.php:82
#: actions/twitapistatusnet.php:151 actions/twitapistatuses.php:79
#: actions/twitapistatuses.php:147 actions/twitapistatuses.php:228
#: actions/twitapistatuses.php:239 actions/twitapistatuses.php:392
#: actions/twitapistatuses.php:402 actions/twitapistatuses.php:429
......@@ -302,7 +302,7 @@ msgstr "No s'ha trobat el mètode API!"
#: actions/twitapistatuses.php:690 actions/twitapiaccount.php:45
#: actions/twitapiaccount.php:97 actions/twitapiaccount.php:103
#: actions/twitapidirect_messages.php:184 actions/twitapifavorites.php:143
#: actions/twitapihelp.php:52 actions/twitapilaconica.php:172
#: actions/twitapihelp.php:52 actions/twitapistatusnet.php:172