Also support "last X" REST interface
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?php # $Id: $
|
||||
|
||||
##########################################################################
|
||||
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity #
|
||||
# Developer Team) All rights reserved. See LICENSE file for licensing #
|
||||
# details #
|
||||
# #
|
||||
# (c) 2003 Jannis Hermanns <J@hacked.it> #
|
||||
# http://www.jannis.to/programming/serendipity.html #
|
||||
# #
|
||||
# Translated by #
|
||||
# (c) 2006 Demin Yin <damon@deminy.net> #
|
||||
# http://www.deminy.net #
|
||||
##########################################################################
|
||||
|
||||
@define('PLUGIN_CREATIVECOMMONS_NAME', '创作共用协议');
|
||||
@define('PLUGIN_CREATIVECOMMONS_DESC', '请选择适合您的创作共用协议');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT', '显示文本?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT_DESC', '为了正确传达协议信息,请对所选协议提供一份简要说明。');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP', '该原创内容遵循“<a href="#license_uri#">创作共用协议</a>”');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP_PD', '该原创内容使用<a href="#license_url#}">公共领域</a>条款。');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY', '需要分发?');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY_DESC', '作者允许他人复制、分发、演示、使用该作品。同时,使用者需向原作者支付报酬。');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC', '允许将您的作品用于商业用途?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC_DESC', '作者允许他人复制、分发、演示、使用该作品。同时,使用者不得将该作品用于商业用途,除非得到作者授权。');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND', '允许修改您的作品?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND_DESC', '作者只允许他人复制、分发、演示、使用未被修改的该作品。');
|
||||
@define('PLUGIN_CREATIVECOMMONS_SA_DESC', '允许,如果用途相同的话');
|
||||
|
||||
?>
|
@@ -0,0 +1,15 @@
|
||||
<?php # $Id: serendipity_event_creativecommons.php 235 2005-07-08 13:29:39Z garvinhicking $
|
||||
|
||||
@define('PLUGIN_CREATIVECOMMONS_NAME', 'Creative Commons Lizenz');
|
||||
@define('PLUGIN_CREATIVECOMMONS_DESC', 'Wählen Sie eine Lizenz für den Inhalt');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT', 'Text anzeigen?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT_DESC', 'Zeigt eine kurze Erklärung zu Ihrer individuellen Lizensierung an');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP', 'Der Inhalt dieses Werkes ist lizensiert unter der <a href="#license_uri#">Creative Commons Lizenz</a>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP_PD', 'Der Inhalt dieses Werkes ist als <a href="#license_url#}">Public Domain</a> gewidmet');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY', 'Attribution (Nennung als Author) erforderlich?');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY_DESC', 'Der Lizenzgeber erlaubt anderen dieses Werk zu kopieren, zu verteilen, anzuwenden und darzustellen. Als Gegenleistung müssen Lizenznehmer den ursprünglichen Authoren nennen.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC', 'Kommerzielle Nutzung des Werkes erlauben?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC_DESC', 'Der Lizenzgeber erlaubt anderen dieses Werk zu kopieren, zu verteilen, anzuwenden und darzustellen. Als Gegenleistung dürfen die Lizenznehmer das Werk nicht in kommerziellem Kontext einsetzen - es sei denn, sie erhalten die ausdrückliche Genehmigung.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND', 'Veränderungen des Werkes erlauben?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND_DESC', 'Der Lizenzgeber erlaubt anderen dieses Werk in unveränderter Form zu kopieren, zu verteilen, anzuwenden und darzustellen. Daran anlehnende oder ableitende Werke sind nicht erlaubt.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_SA_DESC', 'Ja, solange dieses Recht weitergegeben wird');
|
@@ -0,0 +1,22 @@
|
||||
<?php # $Id: lang_es.inc.php,v 1.0 2005/08/20 11:37:42 garvinhicking Exp $
|
||||
/**
|
||||
* @version $Revision: 690 $
|
||||
* @author Rodrigo Lazo Paz <rlazo.paz@gmail.com>
|
||||
* EN-Revision: 690
|
||||
*/
|
||||
|
||||
@define('PLUGIN_CREATIVECOMMONS_NAME', 'Licencia Creative Commons');
|
||||
@define('PLUGIN_CREATIVECOMMONS_DESC', 'Elige y muestra una licencia creative commons para tu contenido');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT', '¿Mostrar texto?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT_DESC', 'Útil para notificaciones visibles del estado de la licencia, muestra una pequeña explicación de la licencia que escogiste.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP', 'El contenido original de este trabajo está licenciado bajo una <a href="#license_uri#">Licencia Creative Commons</a>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP_PD', 'El contenido original de este trabajo está dedicado para el <a href="#license_url#}">Dominio Público</a>');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY', '¿Requiere reconocimiento?');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY_DESC', 'El licenciador autoriza a otros copiar, distribuir, mostrar y actuar su trabajo. A cambio, el licenciado debe dar crédito al autor original.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC', '¿Permitir usos comerciales de tu trabajo?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC_DESC', 'El licenciador autoriza a otros copiar, distribuir, mostrar y actuar su trabajo. A cambio, el licenciado no podrá utilizar el trabajo para propósitos comerciales -- a menos que reciba permiso explícito del licendiador.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND', '¿Permitir modificaciones a tu trabajo?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND_DESC', 'El licenciador autoriza a otros a copiar, distribuir, mostrary actuar sólo copias no alteradas de su trabajo -- no pueden derivarse trabajos basados en él.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_SA_DESC', 'Sí, siempre y cuando sea editado bajo la misma licencia');
|
||||
|
||||
?>
|
@@ -0,0 +1,29 @@
|
||||
<?php # $Id: lang_ja.inc.php,v 1.4 2005/05/17 11:37:42 garvinhicking Exp $
|
||||
|
||||
##########################################################################
|
||||
# serendipity - another blogger... #
|
||||
##########################################################################
|
||||
# #
|
||||
# (c) 2003 Jannis Hermanns <J@hacked.it> #
|
||||
# http://www.jannis.to/programming/serendipity.html #
|
||||
# #
|
||||
# Translated by #
|
||||
# Sebastian Mordziol <argh@php-tools.net> #
|
||||
# http://sebastian.mordziol.de #
|
||||
# #
|
||||
##########################################################################
|
||||
|
||||
@define('PLUGIN_CREATIVECOMMONS_NAME', 'Contrat Creative Commons');
|
||||
@define('PLUGIN_CREATIVECOMMONS_DESC', 'Choisissez et affichez un contrat Creative Commons pour les contenus de votre blog');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT', 'Afficher le texte?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT_DESC', 'Pour une meilleure visibilité du statut de votre contrat, vous pouvez entrer une brève description de votre choix de contrat.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP', 'Le contenu original de cette création est sous <a href="#license_uri#">contrat Creative Commons</a>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP_PD', 'Le contenu origianl de cette création et dédiée au <a href="#license_url#}">Domaine Public</a>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC', 'Autoriser une utilisation commerciale de vos créations?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC_DESC', 'L\'auteur autorise de reproduire, distribuer et communiquer cette création au public, mais n\'autorise pas l\'utilisation commerciale de cette création, à moins d\'en obetenir l\'autorisation de l\'auteur.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND', 'Autoriser la modification de vos créations?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND_DESC', 'L\'auteur autorise de reproduire, distribuer et communiquer cette création au public, mais n\'autorise pas la modification de cette création.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_SA_DESC', 'Oui, tant que les autres partagent aussi');
|
||||
|
||||
/* vim: set sts=4 ts=4 expandtab : */
|
||||
?>
|
@@ -0,0 +1,23 @@
|
||||
<?php # $Id: lang_ja.inc.php 693 2005-11-13 07:25:16Z elf2000 $
|
||||
|
||||
/**
|
||||
* @version $Revision$
|
||||
* @author Tadashi Jokagi <elf2000@users.sourceforge.net>
|
||||
* EN-Revision: 690
|
||||
*/
|
||||
|
||||
@define('PLUGIN_CREATIVECOMMONS_NAME', 'クリエイティブコモンライセンス');
|
||||
@define('PLUGIN_CREATIVECOMMONS_DESC', 'あなたのコンテンツのクリエイティブコモンズライセンスの選択と表示をします。');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT', 'テキストを表示しますか?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT_DESC', 'For visible notifications of license status, show a brief explanation of your license choice.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP', 'この作業のオリジナルコンテンツは <a href="#license_uri#">クリエイティブ・コモンズ・ライセンス</a> に帰属します。');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP_PD', 'この作業のオリジナルコンテンツは <a href="#license_url#}">パブリックドメイン</a> に捧げます。');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY', 'Require attribution?');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY_DESC', 'The licensor permits others to copy, distribute, display, and perform the work. In return, licensees must give the original author credit.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC', 'あなたの作品の商業用途を許可しますか?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC_DESC', 'The licensor permits others to copy, distribute, display, and perform the work. In return, licensees may not use the work for commercial purposes -- unless they get the licensor\'s permission.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND', '作品の修正を許可しますか?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND_DESC', 'The licensor permits others to copy, distribute, display and perform only unaltered copies of the work -- not derivative works based on it.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_SA_DESC', 'Yes, as long as others share alike');
|
||||
|
||||
?>
|
@@ -0,0 +1,19 @@
|
||||
<?php # $Id: lang_ko.inc.php,v 1.0 2005/06/29 13:41:13 garvinhicking Exp $
|
||||
# Translated by: Wesley Hwang-Chung <wesley96@gmail.com>
|
||||
# (c) 2005 http://www.tool-box.info/
|
||||
|
||||
@define('PLUGIN_CREATIVECOMMONS_NAME', '크리에이티브 커먼스 규약');
|
||||
@define('PLUGIN_CREATIVECOMMONS_DESC', '블로그에 작성한 글에 적용될 크리에이티브 커먼스 규약을 골라서 표시함');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT', '설명 표시');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT_DESC', '규약 적용 상태를 시각적으로 알리기 위해 선택한 규약에 대한 짤막한 설명을 표시합니다.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP', '이곳에 작성된 독창적인 작업물은 <a href="#license_uri#">크리에이티브 커먼스 규약</a>을 적용받습니다.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP_PD', '이곳에 작성된 독창적인 작업물은 <a href="#license_url#}">공유물(퍼블릭 도메인)</a>로 기증되었습니다.');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY', '저작자 표시 의무화');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY_DESC', '원작자의 작업물에 대한 복제, 공표, 게시, 이행 등을 허락하는 조건으로 원작자의 성명을 표시해야 합니다.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC', '작업물의 영리적 사용 제한 여부');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC_DESC', '원작자의 작업물에 대한 복제, 공표, 게시, 이행 등을 허락하는 조건으로 원작자의 허락 없이 작업물을 영리적 목적으로 사용하는 것을 금합니다.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND', '작업물에 대한 변경 제한 여부');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND_DESC', '원작자의 작업물에 대해서 원본 그대로의 상태로만 복제, 공표, 게시, 이행 등을 허락합니다. 변경을 일절 금합니다.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_SA_DESC', '동일 규약으로 공유한다는 조건으로 변경을 허락합니다.');
|
||||
|
||||
?>
|
@@ -0,0 +1,23 @@
|
||||
<?php # $Id: lang_en.inc.php 690 2005-11-13 04:49:04Z elf2000 $
|
||||
|
||||
/**
|
||||
* @version $Revision: 690 $
|
||||
* @author Kostas CoSTa Brzezinski <costa@kofeina.net>
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
*/
|
||||
|
||||
@define('PLUGIN_CREATIVECOMMONS_NAME', 'Licencja Creative Commons');
|
||||
@define('PLUGIN_CREATIVECOMMONS_DESC', 'Wybierz i wyświetl licencję Creative Commons dla swoich wpisów');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT', 'Pokazać jako tekst?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT_DESC', 'Dla uwidocznienia statusu licencji, zostanie wyświetlone krótkie wyjaśnienie wybranej przez Ciebie formy licencji.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP', 'Zawartość tej strony jest chroniona licencją <a href="#license_uri#">Creative Commons</a>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP_PD', 'Zawartość tej strony stanowi z woli autora Dobro Publiczne (<a href="#license_url#}">Public Domain</a>)');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY', 'Require attribution?');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY_DESC', 'The licensor permits others to copy, distribute, display, and perform the work. In return, licensees must give the original author credit.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC', 'Czy zezwalasz na komercyjne korzystanie z Twojego utworu?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC_DESC', 'Licencjonodawca zezwala innym na kopiowanie, rozpowszechnianie, odtwarzanie i wykonywanie utworu. Licencjonobiorcy nie mogą używać utworu w celach komercyjnych - chyba że otrzymają na takie działania zezwolenie od licencjonodawcy.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND', 'Czy zezwalasz na modyfikacje utworu?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND_DESC', 'Licencjonodawca zezwala innym na kopiowanie, rozpowszechnianie odtwarzanie i wykonywanie dzieła tylko w niezmienionej formie - nie udziela tym samym zezwolenia na korzystanie z utworu w dziełach zaleznych.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_SA_DESC', 'Yes, as long as others share alike');
|
||||
|
||||
?>
|
@@ -0,0 +1,21 @@
|
||||
<?php # $Id:$
|
||||
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
|
||||
# All rights reserved. See LICENSE file for licensing details
|
||||
# Translation (c) by Joao P Matos <jmatos@math.ist.utl.pt>
|
||||
/* vim: set sts=4 ts=4 expandtab : */
|
||||
|
||||
@define('PLUGIN_CREATIVECOMMONS_NAME', 'Licença Creative Commons');
|
||||
@define('PLUGIN_CREATIVECOMMONS_DESC', 'Escolhe e mostra uma licença creative commons para o seu conteúdo');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT', 'Mostrar texto?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT_DESC', 'Para notificações visíveis do estado da licença, mostra uma pequena explicação da sua escolha de licença.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP', 'O conteúdo original deste trabalho está licenciado sob uma <a href="#license_uri#">Licença Creative Commons</a>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP_PD', 'O conteúdo original deste trabalho foi doado ao <a href="#license_url#}">Domínio Público</a>');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY', 'Requer reconhecimento?');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY_DESC', 'O licenciador autoriza a terceiros a cópia, distribuição, exposição e utilização do seu trabalho. Por sua vez, o licenciado deve dar crédito ao autor original.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC', 'Permitir usos comerciais do seu trabalho?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC_DESC', 'O licenciador autoriza a terceiros a cópia, distribuição, exposição e utilização do seu trabalho. Por sua vez, o licenciado não poderá usar o trabalho para fins comerciais -- a menos que receba autorização explícita do licenciador.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND', 'Permitir modificações do seu trabalho?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND_DESC', 'O licenciador autoriza outros a copiar, distribuir, expor e utilizar só cópias não alteradas do seu trabalho -- não podem criar-se trabalhos baseados nele.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_SA_DESC', 'Sim, sempre que outros partilhem da mesma forma');
|
||||
|
||||
?>
|
@@ -0,0 +1,28 @@
|
||||
<?php # $Id: $
|
||||
##########################################################################
|
||||
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity #
|
||||
# Developer Team) All rights reserved. See LICENSE file for licensing #
|
||||
# details #
|
||||
# #
|
||||
# (c) 2003 Jannis Hermanns <J@hacked.it> #
|
||||
# http://www.jannis.to/programming/serendipity.html #
|
||||
# #
|
||||
# Translated by #
|
||||
# (c) 2004-2005 CapriSkye <admin@capriskye.com> #
|
||||
# http://open.38.com #
|
||||
##########################################################################
|
||||
|
||||
@define('PLUGIN_CREATIVECOMMONS_NAME', 'CC 授權條款');
|
||||
@define('PLUGIN_CREATIVECOMMONS_DESC', '請選擇適合您的網誌的授權條款');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT', '顯示文字?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT_DESC', '為了能正確的傳達條款內容,請提供條款簡介。');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP', '原著作內容的版權是 <a href="#license_uri#">CC 授權條款</a>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP_PD', '原著作內容使用的條款是 <a href="#license_url#}">公共領域</a>');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY', 'Require attribution?');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY_DESC', 'The licensor permits others to copy, distribute, display, and perform the work. In return, licensees must give the original author credit.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC', '允許商業用途?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC_DESC', '作者允許其他人複製,散佈,和展示他的作品。但不允許任何商業用途,除非得到允許。');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND', '允許修改內容?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND_DESC', '作者允許其他人複製,散佈,和展示未修改的作品。');
|
||||
@define('PLUGIN_CREATIVECOMMONS_SA_DESC', '允許,如果用途相同');
|
||||
?>
|
@@ -0,0 +1,30 @@
|
||||
<?php # $Id: $
|
||||
|
||||
##########################################################################
|
||||
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity #
|
||||
# Developer Team) All rights reserved. See LICENSE file for licensing #
|
||||
# details #
|
||||
# #
|
||||
# (c) 2003 Jannis Hermanns <J@hacked.it> #
|
||||
# http://www.jannis.to/programming/serendipity.html #
|
||||
# #
|
||||
# Translated by #
|
||||
# (c) 2006 Aphonex Li <aphonex.li@gmail.com> #
|
||||
# http://www.exten.cn #
|
||||
##########################################################################
|
||||
|
||||
@define('PLUGIN_CREATIVECOMMONS_NAME', '创作共用协议');
|
||||
@define('PLUGIN_CREATIVECOMMONS_DESC', '请选择适合您的创作共用协议');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT', '显示文本?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT_DESC', '为了正确传达协议信息,请对所选协议提供一份简要说明。');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP', '该原创内容遵循“<a href="#license_uri#">创作共用协议</a>”');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP_PD', '该原创内容使用<a href="#license_url#}">公共领域</a>条款。');
|
||||
@define('PLUGIN_CREATIVECOMMONS_BY', '需要分发?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_BY_DESC', '作者允许他人复制、分发、演示、使用该作品。同时,使用者需向原作者支付报酬。');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC', '允许将您的作品用于商业用途?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC_DESC', '作者允许他人复制、分发、演示、使用该作品。同时,使用者不得将该作品用于商业用途,除非得到作者授权。');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND', '允许修改您的作品?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND_DESC', '作者只允许他人复制、分发、演示、使用未被修改的该作品。');
|
||||
@define('PLUGIN_CREATIVECOMMONS_SA_DESC', '允许,如果用途相同的话');
|
||||
|
||||
?>
|
30
plugins/serendipity_event_creativecommons/lang_cn.inc.php
Normal file
30
plugins/serendipity_event_creativecommons/lang_cn.inc.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php # $Id: $
|
||||
|
||||
##########################################################################
|
||||
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity #
|
||||
# Developer Team) All rights reserved. See LICENSE file for licensing #
|
||||
# details #
|
||||
# #
|
||||
# (c) 2003 Jannis Hermanns <J@hacked.it> #
|
||||
# http://www.jannis.to/programming/serendipity.html #
|
||||
# #
|
||||
# Translated by #
|
||||
# (c) 2006 Demin Yin <damon@deminy.net> #
|
||||
# http://www.deminy.net #
|
||||
##########################################################################
|
||||
|
||||
@define('PLUGIN_CREATIVECOMMONS_NAME', '创作共用协议');
|
||||
@define('PLUGIN_CREATIVECOMMONS_DESC', '请选择适合您的创作共用协议');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT', '显示文本?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT_DESC', '为了正确传达协议信息,请对所选协议提供一份简要说明。');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP', '该原创内容遵循“<a href="#license_uri#">创作共用协议</a>”');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP_PD', '该原创内容使用<a href="#license_url#}">公共领域</a>条款。');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY', '需要分发?');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY_DESC', '作者允许他人复制、分发、演示、使用该作品。同时,使用者需向原作者支付报酬。');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC', '允许将您的作品用于商业用途?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC_DESC', '作者允许他人复制、分发、演示、使用该作品。同时,使用者不得将该作品用于商业用途,除非得到作者授权。');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND', '允许修改您的作品?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND_DESC', '作者只允许他人复制、分发、演示、使用未被修改的该作品。');
|
||||
@define('PLUGIN_CREATIVECOMMONS_SA_DESC', '允许,如果用途相同的话');
|
||||
|
||||
?>
|
15
plugins/serendipity_event_creativecommons/lang_de.inc.php
Normal file
15
plugins/serendipity_event_creativecommons/lang_de.inc.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php # $Id: serendipity_event_creativecommons.php 235 2005-07-08 13:29:39Z garvinhicking $
|
||||
|
||||
@define('PLUGIN_CREATIVECOMMONS_NAME', 'Creative Commons Lizenz');
|
||||
@define('PLUGIN_CREATIVECOMMONS_DESC', 'W<>hlen Sie eine Lizenz f<>r den Inhalt');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT', 'Text anzeigen?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT_DESC', 'Zeigt eine kurze Erkl<6B>rung zu Ihrer individuellen Lizensierung an');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP', 'Der Inhalt dieses Werkes ist lizensiert unter der <a href="#license_uri#">Creative Commons Lizenz</a>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP_PD', 'Der Inhalt dieses Werkes ist als <a href="#license_url#}">Public Domain</a> gewidmet');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY', 'Attribution (Nennung als Author) erforderlich?');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY_DESC', 'Der Lizenzgeber erlaubt anderen dieses Werk zu kopieren, zu verteilen, anzuwenden und darzustellen. Als Gegenleistung m<>ssen Lizenznehmer den urspr<70>nglichen Authoren nennen.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC', 'Kommerzielle Nutzung des Werkes erlauben?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC_DESC', 'Der Lizenzgeber erlaubt anderen dieses Werk zu kopieren, zu verteilen, anzuwenden und darzustellen. Als Gegenleistung d<>rfen die Lizenznehmer das Werk nicht in kommerziellem Kontext einsetzen - es sei denn, sie erhalten die ausdr<64>ckliche Genehmigung.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND', 'Ver<65>nderungen des Werkes erlauben?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND_DESC', 'Der Lizenzgeber erlaubt anderen dieses Werk in unver<65>nderter Form zu kopieren, zu verteilen, anzuwenden und darzustellen. Daran anlehnende oder ableitende Werke sind nicht erlaubt.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_SA_DESC', 'Ja, solange dieses Recht weitergegeben wird');
|
23
plugins/serendipity_event_creativecommons/lang_en.inc.php
Normal file
23
plugins/serendipity_event_creativecommons/lang_en.inc.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php # $Id$
|
||||
|
||||
/**
|
||||
* @version $Revision$
|
||||
* @author Translator Name <yourmail@example.com>
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
*/
|
||||
|
||||
@define('PLUGIN_CREATIVECOMMONS_NAME', 'Creative Commons License');
|
||||
@define('PLUGIN_CREATIVECOMMONS_DESC', 'Choose and display a creative commons license for your content');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT', 'Show text?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT_DESC', 'For visible notifications of license status, show a brief explanation of your license choice.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP', 'Original content in this work is licensed under a <a href="#license_uri#">Creative Commons License</a>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP_PD', 'Original content in this work is dedicated to the <a href="#license_url#}">Public Domain</a>');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY', 'Require attribution?');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY_DESC', 'The licensor permits others to copy, distribute, display, and perform the work. In return, licensees must give the original author credit.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC', 'Allow commercial uses of your work?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC_DESC', 'The licensor permits others to copy, distribute, display, and perform the work. In return, licensees may not use the work for commercial purposes -- unless they get the licensor\'s permission.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND', 'Allow modifications of your work?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND_DESC', 'The licensor permits others to copy, distribute, display and perform only unaltered copies of the work -- not derivative works based on it.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_SA_DESC', 'Yes, as long as others share alike');
|
||||
|
||||
?>
|
22
plugins/serendipity_event_creativecommons/lang_es.inc.php
Normal file
22
plugins/serendipity_event_creativecommons/lang_es.inc.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php # $Id: lang_es.inc.php,v 1.0 2005/08/20 11:37:42 garvinhicking Exp $
|
||||
/**
|
||||
* @version $Revision: 690 $
|
||||
* @author Rodrigo Lazo Paz <rlazo.paz@gmail.com>
|
||||
* EN-Revision: 690
|
||||
*/
|
||||
|
||||
@define('PLUGIN_CREATIVECOMMONS_NAME', 'Licencia Creative Commons');
|
||||
@define('PLUGIN_CREATIVECOMMONS_DESC', 'Elige y muestra una licencia creative commons para tu contenido');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT', '<27>Mostrar texto?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT_DESC', '<27>til para notificaciones visibles del estado de la licencia, muestra una peque<75>a explicaci<63>n de la licencia que escogiste.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP', 'El contenido original de este trabajo est<73> licenciado bajo una <a href="#license_uri#">Licencia Creative Commons</a>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP_PD', 'El contenido original de este trabajo est<73> dedicado para el <a href="#license_url#}">Dominio P<>blico</a>');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY', '<27>Requiere reconocimiento?');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY_DESC', 'El licenciador autoriza a otros copiar, distribuir, mostrar y actuar su trabajo. A cambio, el licenciado debe dar cr<63>dito al autor original.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC', '<27>Permitir usos comerciales de tu trabajo?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC_DESC', 'El licenciador autoriza a otros copiar, distribuir, mostrar y actuar su trabajo. A cambio, el licenciado no podr<64> utilizar el trabajo para prop<6F>sitos comerciales -- a menos que reciba permiso expl<70>cito del licendiador.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND', '<27>Permitir modificaciones a tu trabajo?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND_DESC', 'El licenciador autoriza a otros a copiar, distribuir, mostrary actuar s<>lo copias no alteradas de su trabajo -- no pueden derivarse trabajos basados en <20>l.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_SA_DESC', 'S<>, siempre y cuando sea editado bajo la misma licencia');
|
||||
|
||||
?>
|
29
plugins/serendipity_event_creativecommons/lang_fr.inc.php
Normal file
29
plugins/serendipity_event_creativecommons/lang_fr.inc.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php # $Id: lang_ja.inc.php,v 1.4 2005/05/17 11:37:42 garvinhicking Exp $
|
||||
|
||||
##########################################################################
|
||||
# serendipity - another blogger... #
|
||||
##########################################################################
|
||||
# #
|
||||
# (c) 2003 Jannis Hermanns <J@hacked.it> #
|
||||
# http://www.jannis.to/programming/serendipity.html #
|
||||
# #
|
||||
# Translated by #
|
||||
# Sebastian Mordziol <argh@php-tools.net> #
|
||||
# http://sebastian.mordziol.de #
|
||||
# #
|
||||
##########################################################################
|
||||
|
||||
@define('PLUGIN_CREATIVECOMMONS_NAME', 'Contrat Creative Commons');
|
||||
@define('PLUGIN_CREATIVECOMMONS_DESC', 'Choisissez et affichez un contrat Creative Commons pour les contenus de votre blog');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT', 'Afficher le texte?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT_DESC', 'Pour une meilleure visibilit<69> du statut de votre contrat, vous pouvez entrer une br<62>ve description de votre choix de contrat.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP', 'Le contenu original de cette cr<63>ation est sous <a href="#license_uri#">contrat Creative Commons</a>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP_PD', 'Le contenu origianl de cette cr<63>ation et d<>di<64>e au <a href="#license_url#}">Domaine Public</a>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC', 'Autoriser une utilisation commerciale de vos cr<63>ations?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC_DESC', 'L\'auteur autorise de reproduire, distribuer et communiquer cette cr<63>ation au public, mais n\'autorise pas l\'utilisation commerciale de cette cr<63>ation, <20> moins d\'en obetenir l\'autorisation de l\'auteur.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND', 'Autoriser la modification de vos cr<63>ations?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND_DESC', 'L\'auteur autorise de reproduire, distribuer et communiquer cette cr<63>ation au public, mais n\'autorise pas la modification de cette cr<63>ation.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_SA_DESC', 'Oui, tant que les autres partagent aussi');
|
||||
|
||||
/* vim: set sts=4 ts=4 expandtab : */
|
||||
?>
|
23
plugins/serendipity_event_creativecommons/lang_ja.inc.php
Normal file
23
plugins/serendipity_event_creativecommons/lang_ja.inc.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php # $Id$
|
||||
|
||||
/**
|
||||
* @version $Revision$
|
||||
* @author Tadashi Jokagi <elf2000@users.sourceforge.net>
|
||||
* EN-Revision: 690
|
||||
*/
|
||||
|
||||
@define('PLUGIN_CREATIVECOMMONS_NAME', 'クリエイティブコモンライセンス');
|
||||
@define('PLUGIN_CREATIVECOMMONS_DESC', 'あなたのコンテンツのクリエイティブコモンズライセンスの選択と表示をします。');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT', 'テキストを表示しますか?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT_DESC', 'For visible notifications of license status, show a brief explanation of your license choice.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP', 'この作業のオリジナルコンテンツは <a href="#license_uri#">クリエイティブ・コモンズ・ライセンス</a> に帰属します。');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP_PD', 'この作業のオリジナルコンテンツは <a href="#license_url#}">パブリックドメイン</a> に捧げます。');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY', 'Require attribution?');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY_DESC', 'The licensor permits others to copy, distribute, display, and perform the work. In return, licensees must give the original author credit.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC', 'あなたの作品の商業用途を許可しますか?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC_DESC', 'The licensor permits others to copy, distribute, display, and perform the work. In return, licensees may not use the work for commercial purposes -- unless they get the licensor\'s permission.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND', '作品の修正を許可しますか?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND_DESC', 'The licensor permits others to copy, distribute, display and perform only unaltered copies of the work -- not derivative works based on it.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_SA_DESC', 'Yes, as long as others share alike');
|
||||
|
||||
?>
|
19
plugins/serendipity_event_creativecommons/lang_ko.inc.php
Normal file
19
plugins/serendipity_event_creativecommons/lang_ko.inc.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php # $Id: lang_ko.inc.php,v 1.0 2005/06/29 13:41:13 garvinhicking Exp $
|
||||
# Translated by: Wesley Hwang-Chung <wesley96@gmail.com>
|
||||
# (c) 2005 http://www.tool-box.info/
|
||||
|
||||
@define('PLUGIN_CREATIVECOMMONS_NAME', '크리에이티브 커먼스 규약');
|
||||
@define('PLUGIN_CREATIVECOMMONS_DESC', '블로그에 작성한 글에 적용될 크리에이티브 커먼스 규약을 골라서 표시함');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT', '설명 표시');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT_DESC', '규약 적용 상태를 시각적으로 알리기 위해 선택한 규약에 대한 짤막한 설명을 표시합니다.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP', '이곳에 작성된 독창적인 작업물은 <a href="#license_uri#">크리에이티브 커먼스 규약</a>을 적용받습니다.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP_PD', '이곳에 작성된 독창적인 작업물은 <a href="#license_url#}">공유물(퍼블릭 도메인)</a>로 기증되었습니다.');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY', '저작자 표시 의무화');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY_DESC', '원작자의 작업물에 대한 복제, 공표, 게시, 이행 등을 허락하는 조건으로 원작자의 성명을 표시해야 합니다.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC', '작업물의 영리적 사용 제한 여부');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC_DESC', '원작자의 작업물에 대한 복제, 공표, 게시, 이행 등을 허락하는 조건으로 원작자의 허락 없이 작업물을 영리적 목적으로 사용하는 것을 금합니다.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND', '작업물에 대한 변경 제한 여부');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND_DESC', '원작자의 작업물에 대해서 원본 그대로의 상태로만 복제, 공표, 게시, 이행 등을 허락합니다. 변경을 일절 금합니다.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_SA_DESC', '동일 규약으로 공유한다는 조건으로 변경을 허락합니다.');
|
||||
|
||||
?>
|
23
plugins/serendipity_event_creativecommons/lang_pl.inc.php
Normal file
23
plugins/serendipity_event_creativecommons/lang_pl.inc.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php # $Id: lang_en.inc.php 690 2005-11-13 04:49:04Z elf2000 $
|
||||
|
||||
/**
|
||||
* @version $Revision: 690 $
|
||||
* @author Kostas CoSTa Brzezinski <costa@kofeina.net>
|
||||
* EN-Revision: Revision of lang_en.inc.php
|
||||
*/
|
||||
|
||||
@define('PLUGIN_CREATIVECOMMONS_NAME', 'Licencja Creative Commons');
|
||||
@define('PLUGIN_CREATIVECOMMONS_DESC', 'Wybierz i wy<77>wietl licencj<63> Creative Commons dla swoich wpis<69>w');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT', 'Pokaza<7A> jako tekst?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT_DESC', 'Dla uwidocznienia statusu licencji, zostanie wy<77>wietlone kr<6B>tkie wyja<6A>nienie wybranej przez Ciebie formy licencji.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP', 'Zawarto<74><6F> tej strony jest chroniona licencj<63> <a href="#license_uri#">Creative Commons</a>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP_PD', 'Zawarto<74><6F> tej strony stanowi z woli autora Dobro Publiczne (<a href="#license_url#}">Public Domain</a>)');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY', 'Require attribution?');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY_DESC', 'The licensor permits others to copy, distribute, display, and perform the work. In return, licensees must give the original author credit.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC', 'Czy zezwalasz na komercyjne korzystanie z Twojego utworu?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC_DESC', 'Licencjonodawca zezwala innym na kopiowanie, rozpowszechnianie, odtwarzanie i wykonywanie utworu. Licencjonobiorcy nie mog<6F> u<>ywa<77> utworu w celach komercyjnych - chyba <20>e otrzymaj<61> na takie dzia<69>ania zezwolenie od licencjonodawcy.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND', 'Czy zezwalasz na modyfikacje utworu?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND_DESC', 'Licencjonodawca zezwala innym na kopiowanie, rozpowszechnianie odtwarzanie i wykonywanie dzie<69>a tylko w niezmienionej formie - nie udziela tym samym zezwolenia na korzystanie z utworu w dzie<69>ach zaleznych.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_SA_DESC', 'Yes, as long as others share alike');
|
||||
|
||||
?>
|
21
plugins/serendipity_event_creativecommons/lang_pt_PT.inc.php
Normal file
21
plugins/serendipity_event_creativecommons/lang_pt_PT.inc.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php # $Id:$
|
||||
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
|
||||
# All rights reserved. See LICENSE file for licensing details
|
||||
# Translation (c) by Joao P Matos <jmatos@math.ist.utl.pt>
|
||||
/* vim: set sts=4 ts=4 expandtab : */
|
||||
|
||||
@define('PLUGIN_CREATIVECOMMONS_NAME', 'Licen<65>a Creative Commons');
|
||||
@define('PLUGIN_CREATIVECOMMONS_DESC', 'Escolhe e mostra uma licen<65>a creative commons para o seu conte<74>do');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT', 'Mostrar texto?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT_DESC', 'Para notifica<63><61>es vis<69>veis do estado da licen<65>a, mostra uma pequena explica<63><61>o da sua escolha de licen<65>a.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP', 'O conte<74>do original deste trabalho est<73> licenciado sob uma <a href="#license_uri#">Licen<65>a Creative Commons</a>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP_PD', 'O conte<74>do original deste trabalho foi doado ao <a href="#license_url#}">Dom<6F>nio P<>blico</a>');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY', 'Requer reconhecimento?');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY_DESC', 'O licenciador autoriza a terceiros a c<>pia, distribui<75><69>o, exposi<73><69>o e utiliza<7A><61>o do seu trabalho. Por sua vez, o licenciado deve dar cr<63>dito ao autor original.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC', 'Permitir usos comerciais do seu trabalho?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC_DESC', 'O licenciador autoriza a terceiros a c<>pia, distribui<75><69>o, exposi<73><69>o e utiliza<7A><61>o do seu trabalho. Por sua vez, o licenciado n<>o poder<65> usar o trabalho para fins comerciais -- a menos que receba autoriza<7A><61>o expl<70>cita do licenciador.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND', 'Permitir modifica<63><61>es do seu trabalho?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND_DESC', 'O licenciador autoriza outros a copiar, distribuir, expor e utilizar s<> c<>pias n<>o alteradas do seu trabalho -- n<>o podem criar-se trabalhos baseados nele.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_SA_DESC', 'Sim, sempre que outros partilhem da mesma forma');
|
||||
|
||||
?>
|
28
plugins/serendipity_event_creativecommons/lang_tn.inc.php
Normal file
28
plugins/serendipity_event_creativecommons/lang_tn.inc.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php # $Id: $
|
||||
##########################################################################
|
||||
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity #
|
||||
# Developer Team) All rights reserved. See LICENSE file for licensing #
|
||||
# details #
|
||||
# #
|
||||
# (c) 2003 Jannis Hermanns <J@hacked.it> #
|
||||
# http://www.jannis.to/programming/serendipity.html #
|
||||
# #
|
||||
# Translated by #
|
||||
# (c) 2004-2005 CapriSkye <admin@capriskye.com> #
|
||||
# http://open.38.com #
|
||||
##########################################################################
|
||||
|
||||
@define('PLUGIN_CREATIVECOMMONS_NAME', 'CC 授權條款');
|
||||
@define('PLUGIN_CREATIVECOMMONS_DESC', '請選擇適合您的網誌的授權條款');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT', '顯示文字?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT_DESC', '為了能正確的傳達條款內容,請提供條款簡介。');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP', '原著作內容的版權是 <a href="#license_uri#">CC 授權條款</a>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP_PD', '原著作內容使用的條款是 <a href="#license_url#}">公共領域</a>');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY', 'Require attribution?');
|
||||
// @define('PLUGIN_CREATIVECOMMONS_BY_DESC', 'The licensor permits others to copy, distribute, display, and perform the work. In return, licensees must give the original author credit.');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC', '允許商業用途?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC_DESC', '作者允許其他人複製,散佈,和展示他的作品。但不允許任何商業用途,除非得到允許。');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND', '允許修改內容?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND_DESC', '作者允許其他人複製,散佈,和展示未修改的作品。');
|
||||
@define('PLUGIN_CREATIVECOMMONS_SA_DESC', '允許,如果用途相同');
|
||||
?>
|
30
plugins/serendipity_event_creativecommons/lang_zh.inc.php
Normal file
30
plugins/serendipity_event_creativecommons/lang_zh.inc.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php # $Id: $
|
||||
|
||||
##########################################################################
|
||||
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity #
|
||||
# Developer Team) All rights reserved. See LICENSE file for licensing #
|
||||
# details #
|
||||
# #
|
||||
# (c) 2003 Jannis Hermanns <J@hacked.it> #
|
||||
# http://www.jannis.to/programming/serendipity.html #
|
||||
# #
|
||||
# Translated by #
|
||||
# (c) 2006 Aphonex Li <aphonex.li@gmail.com> #
|
||||
# http://www.exten.cn #
|
||||
##########################################################################
|
||||
|
||||
@define('PLUGIN_CREATIVECOMMONS_NAME', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Э<EFBFBD><D0AD>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_DESC', '<27><>ѡ<EFBFBD><D1A1><EFBFBD>ʺ<EFBFBD><CABA><EFBFBD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Э<EFBFBD><D0AD>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT', '<27><>ʾ<EFBFBD>ı<EFBFBD>?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_TXT_DESC', 'Ϊ<><CEAA><EFBFBD><EFBFBD>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD>Э<EFBFBD><D0AD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѡЭ<D1A1><D0AD><EFBFBD>ṩһ<E1B9A9>ݼ<EFBFBD>Ҫ˵<D2AA><CBB5><EFBFBD><EFBFBD>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP', '<27><>ԭ<EFBFBD><D4AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѭ<EFBFBD><D1AD><a href="#license_uri#"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Э<EFBFBD><D0AD></a><3E><>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_CAP_PD', '<27><>ԭ<EFBFBD><D4AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9><a href="#license_url#}"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></a><3E><><EFBFBD>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_BY', '<27><>Ҫ<EFBFBD>ַ<EFBFBD><D6B7><EFBFBD>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_BY_DESC', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˸<EFBFBD><CBB8>ơ<EFBFBD><C6A1>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE>ʹ<EFBFBD>ø<EFBFBD><C3B8><EFBFBD>Ʒ<EFBFBD><C6B7>ͬʱ<CDAC><CAB1>ʹ<EFBFBD><CAB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ԭ<EFBFBD><D4AD><EFBFBD><EFBFBD>֧<EFBFBD><D6A7><EFBFBD><EFBFBD><EFBFBD>ꡣ');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҵ<EFBFBD><D2B5>;<EFBFBD><CDBE>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_NC_DESC', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˸<EFBFBD><CBB8>ơ<EFBFBD><C6A1>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE>ʹ<EFBFBD>ø<EFBFBD><C3B8><EFBFBD>Ʒ<EFBFBD><C6B7>ͬʱ<CDAC><CAB1>ʹ<EFBFBD><CAB9><EFBFBD>߲<EFBFBD><DFB2>ý<EFBFBD><C3BD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҵ<EFBFBD><D2B5>;<EFBFBD><CDBE><EFBFBD><EFBFBD><EFBFBD>ǵõ<C7B5><C3B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȩ<EFBFBD><C8A8>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><DEB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ?');
|
||||
@define('PLUGIN_CREATIVECOMMONS_ND_DESC', '<27><><EFBFBD><EFBFBD>ֻ<EFBFBD><D6BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˸<EFBFBD><CBB8>ơ<EFBFBD><C6A1>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE>ʹ<EFBFBD><CAB9>δ<EFBFBD><CEB4><EFBFBD>ĵĸ<C4B5><C4B8><EFBFBD>Ʒ<EFBFBD><C6B7>');
|
||||
@define('PLUGIN_CREATIVECOMMONS_SA_DESC', '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>;<EFBFBD><CDBE>ͬ<EFBFBD>Ļ<EFBFBD>');
|
||||
|
||||
?>
|
@@ -0,0 +1,346 @@
|
||||
<?php # $Id$
|
||||
|
||||
// Probe for a language include with constants. Still include defines later on, if some constants were missing
|
||||
$probelang = dirname(__FILE__) . '/' . $serendipity['charset'] . 'lang_' . $serendipity['lang'] . '.inc.php';
|
||||
if (file_exists($probelang)) {
|
||||
include $probelang;
|
||||
}
|
||||
|
||||
include dirname(__FILE__) . '/lang_en.inc.php';
|
||||
|
||||
class serendipity_event_creativecommons extends serendipity_event {
|
||||
var $title = PLUGIN_CREATIVECOMMONS_NAME;
|
||||
|
||||
function introspect(&$propbag)
|
||||
{
|
||||
|
||||
$propbag->add('name', PLUGIN_CREATIVECOMMONS_NAME);
|
||||
$propbag->add('description', PLUGIN_CREATIVECOMMONS_DESC);
|
||||
$propbag->add('stackable', false);
|
||||
$propbag->add('author', 'Evan Nemerson');
|
||||
$propbag->add('version', '1.1');
|
||||
$propbag->add('requirements', array(
|
||||
'serendipity' => '0.8',
|
||||
'smarty' => '2.6.7',
|
||||
'php' => '4.1.0'
|
||||
));
|
||||
$propbag->add('configuration', array('nc', 'nd', 'txt', 'cc_v2'));
|
||||
$propbag->add('event_hooks',
|
||||
array('frontend_display:rss-1.0:per_entry' => true,
|
||||
'frontend_display:rss-1.0:once' => true,
|
||||
'frontend_display:rss-1.0:namespace' => true,
|
||||
'frontend_display:rss-2.0:per_entry' => true,
|
||||
'frontend_display:rss-2.0:namespace' => true,
|
||||
'frontend_display:html:per_entry' => true,
|
||||
'frontend_display:html_layout' => true));
|
||||
$propbag->add('groups', array('FRONTEND_EXTERNAL_SERVICES'));
|
||||
}
|
||||
|
||||
function introspect_config_item($name, &$propbag)
|
||||
{
|
||||
switch($name) {
|
||||
/*
|
||||
case 'by':
|
||||
$propbag->add('type', 'boolean');
|
||||
$propbag->add('name', PLUGIN_CREATIVECOMMONS_BY);
|
||||
$propbag->add('description', PLUGIN_CREATIVECOMMONS_BY_DESC);
|
||||
break;
|
||||
*/
|
||||
|
||||
case 'cc_v2':
|
||||
$propbag->add('type', 'hidden');
|
||||
$propbag->add('value', 'true');
|
||||
break;
|
||||
|
||||
case 'nc':
|
||||
$propbag->add('type', 'boolean');
|
||||
$propbag->add('name', PLUGIN_CREATIVECOMMONS_NC);
|
||||
$propbag->add('description', PLUGIN_CREATIVECOMMONS_NC_DESC);
|
||||
$propbag->add('default', 'true');
|
||||
break;
|
||||
|
||||
case 'nd':
|
||||
$propbag->add('type', 'radio');
|
||||
$propbag->add('name', PLUGIN_CREATIVECOMMONS_ND);
|
||||
$propbag->add('description', PLUGIN_CREATIVECOMMONS_ND_DESC);
|
||||
$propbag->add('radio', array(
|
||||
'value' => array('yes', 'sa', 'no'),
|
||||
'desc' => array(YES, PLUGIN_CREATIVECOMMONS_SA_DESC, NO)
|
||||
));
|
||||
$propbag->add('radio_per_row', '1');
|
||||
$propbag->add('default', 'yes');
|
||||
|
||||
break;
|
||||
|
||||
case 'txt':
|
||||
$propbag->add('type', 'boolean');
|
||||
$propbag->add('name', PLUGIN_CREATIVECOMMONS_TXT);
|
||||
$propbag->add('description', PLUGIN_CREATIVECOMMONS_TXT_DESC);
|
||||
$propbag->add('default', 'true');
|
||||
break;
|
||||
|
||||
default:
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
function generate_content(&$title) {
|
||||
$title = $this->title;
|
||||
}
|
||||
|
||||
function event_hook($event, &$bag, &$eventData) {
|
||||
global $serendipity;
|
||||
|
||||
$license_data = $this->get_license_data();
|
||||
$license_version = $this->get_config('cc_version', '1.0');
|
||||
$license_type = $license_data['type'];
|
||||
$license_string = $license_data['string'];
|
||||
$rdf = $license_data['rdf'];
|
||||
|
||||
if ($license_string == '') {
|
||||
$license_uri = 'http://web.resource.org/cc/PublicDomain';
|
||||
} else {
|
||||
$license_uri = 'http://creativecommons.org/licenses/'.$license_string.'/'.$license_version.'/';
|
||||
switch ($serendipity['lang']){
|
||||
case 'ja':
|
||||
$license_uri .= 'jp/';
|
||||
break;
|
||||
case 'de':
|
||||
$license_uri .= 'deed.de';
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
$cc_visibility = 'invisible';
|
||||
|
||||
switch ($event) {
|
||||
case 'frontend_display:html_layout':
|
||||
$cc_visibility = 'visible';
|
||||
case 'frontend_display:html:per_entry':
|
||||
$eventData['display_dat'] .= '<div style="text-align: center;">';
|
||||
if ($license_string == '') {
|
||||
if ($cc_visibility == 'visible') {
|
||||
$eventData['display_dat'] .= '<a href="http://creativecommons.org/licenses/publicdomain">';
|
||||
$eventData['display_dat'] .= '<img style="border: 0px" alt="No Rights Reserved" src="' . serendipity_getTemplateFile('img/norights.png') .'" />';
|
||||
$eventData['display_dat'] .= '</a>';
|
||||
if (serendipity_db_bool($this->get_config('txt', true))) {
|
||||
$eventData['display_dat'] .= '<br />' . str_replace('#license_uri#', $license_uri, PLUGIN_CREATIVECOMMONS_CAP_PD);
|
||||
}
|
||||
}
|
||||
} elseif ($cc_visibility == 'visible') {
|
||||
$eventData['display_dat'] .= '<a href="'.$license_uri.'">';
|
||||
$eventData['display_dat'] .= '<img style="border: 0px" alt="Creative Commons License - Some Rights Reserved" src="' . serendipity_getTemplateFile('img/somerights20.gif') .'" />';
|
||||
$eventData['display_dat'] .= '</a>';
|
||||
if (serendipity_db_bool($this->get_config('txt', true))) {
|
||||
$eventData['display_dat'] .= '<br />' . str_replace('#license_uri#', $license_uri, PLUGIN_CREATIVECOMMONS_CAP);
|
||||
}
|
||||
}
|
||||
|
||||
$eventData['display_dat'] .= '<!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><Work rdf:about=""><license rdf:resource="'.$license_uri.'"/></Work><License rdf:about="'.$license_uri.'">';
|
||||
if (is_array($rdf)) {
|
||||
foreach ($rdf as $rdf_t => $rdf_v) {
|
||||
$eventData['display_dat'] .= ' <'.$rdf_v.' rdf:resource="http://web.resource.org/cc/'.$rdf_t.'" />';
|
||||
}
|
||||
}
|
||||
|
||||
$eventData['display_dat'] .= '</License></rdf:RDF> -->';
|
||||
$eventData['display_dat'] .= '</div>';
|
||||
return true;
|
||||
break;
|
||||
|
||||
case 'frontend_display:rss-2.0:per_entry':
|
||||
$eventData['display_dat'] .= '<creativeCommons:license>'.$license_uri.'</creativeCommons:license>';
|
||||
return true;
|
||||
break;
|
||||
|
||||
case 'frontend_display:rss-1.0:per_entry':
|
||||
$eventData['display_dat'] .= '<cc:license rdf:resource="'.$license_uri.'" />';
|
||||
return true;
|
||||
break;
|
||||
|
||||
case 'frontend_display:rss-1.0:once':
|
||||
$eventData['display_dat'] .= '<cc:License rdf:about="'.$license_uri.'">';
|
||||
foreach ($rdf as $rdf_t => $rdf_v) {
|
||||
$eventData['display_dat'] .= '<cc:'.$rdf_v.' rdf:resource="http://web.resource.org/cc/'.$rdf_t.'" />';
|
||||
}
|
||||
$eventData['display_dat'] .= '</cc:License>';
|
||||
return true;
|
||||
break;
|
||||
|
||||
case 'frontend_display:rss-2.0:namespace':
|
||||
$eventData['display_dat'] .= 'xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"';
|
||||
return true;
|
||||
break;
|
||||
|
||||
case 'frontend_display:rss-1.0:namespace':
|
||||
$eventData['display_dat'] .= 'xmlns:cc="http://web.resource.org/cc/"';
|
||||
return true;
|
||||
break;
|
||||
|
||||
default:
|
||||
return true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
function get_license_data() {
|
||||
$license_type = array();
|
||||
$license_version = $this->get_config('cc_version', '1.0');
|
||||
|
||||
if ( ($license_version < 2.5) && ($this->get_config('cc_v2', 'false') == 'true') ) {
|
||||
$this->set_config('cc_version', '2.5');
|
||||
$license_version = '2.5';
|
||||
}
|
||||
|
||||
if (($license_version >= 2.5) || serendipity_db_bool($this->get_config('by', true))) {
|
||||
$license_type[] = 'by';
|
||||
}
|
||||
|
||||
if (!serendipity_db_bool($this->get_config('nc', true))) {
|
||||
$license_type[] = 'nc';
|
||||
}
|
||||
|
||||
if ($this->get_config('nd') == 'no') {
|
||||
$license_type[] = 'nd';
|
||||
}
|
||||
|
||||
|
||||
if ($this->get_config('nd') == 'sa') {
|
||||
$license_type[] = 'sa';
|
||||
}
|
||||
|
||||
$license_string = implode('-', $license_type);
|
||||
|
||||
switch ($license_string) {
|
||||
case 'by':
|
||||
$rdf = array(
|
||||
'Attribution' => 'requires',
|
||||
'Reproduction' => 'permits',
|
||||
'Distribution' => 'permits',
|
||||
'DerivativeWorks' => 'permits',
|
||||
'Notice' => 'requires'
|
||||
);
|
||||
break;
|
||||
|
||||
case 'by-nd':
|
||||
$rdf = array(
|
||||
'Attribution' => 'requires',
|
||||
'Reproduction' => 'permits',
|
||||
'Distribution' => 'permits',
|
||||
'Notice' => 'requires'
|
||||
);
|
||||
break;
|
||||
|
||||
case 'by-nd-nc':
|
||||
$rdf = array(
|
||||
'Attribution' => 'requires',
|
||||
'Reproduction' => 'permits',
|
||||
'Distribution' => 'permits',
|
||||
'CommercialUse' => 'prohibits',
|
||||
'Notice' => 'requires'
|
||||
);
|
||||
break;
|
||||
|
||||
case 'by-nc':
|
||||
$rdf = array(
|
||||
'Attribution' => 'requires',
|
||||
'Reproduction' => 'permits',
|
||||
'Distribution' => 'permits',
|
||||
'DerivativeWorks' => 'permits',
|
||||
'CommercialUse' => 'prohibits',
|
||||
'Notice' => 'requires'
|
||||
);
|
||||
break;
|
||||
|
||||
case 'by-nc-sa':
|
||||
$rdf = array(
|
||||
'Attribution' => 'requires',
|
||||
'Reproduction' => 'permits',
|
||||
'Distribution' => 'permits',
|
||||
'DerivativeWorks' => 'permits',
|
||||
'ShareAlike' => 'requires',
|
||||
'CommercialUse' => 'prohibits',
|
||||
'Notice' => 'requires'
|
||||
);
|
||||
break;
|
||||
|
||||
case 'by-sa':
|
||||
$rdf = array(
|
||||
'Attribution' => 'requires',
|
||||
'Reproduction' => 'permits',
|
||||
'Distribution' => 'permits',
|
||||
'DerivativeWorks' => 'permits',
|
||||
'ShareAlike' => 'requires',
|
||||
'Notice' => 'requires'
|
||||
);
|
||||
break;
|
||||
|
||||
case 'nd':
|
||||
$rdf = array(
|
||||
'Reproduction' => 'permits',
|
||||
'Distribution' => 'permits',
|
||||
'Notice' => 'requires'
|
||||
);
|
||||
break;
|
||||
|
||||
case 'nd-nc':
|
||||
$rdf = array(
|
||||
'Reproduction' => 'permits',
|
||||
'Distribution' => 'permits',
|
||||
'CommercialUse' => 'prohibits',
|
||||
'Notice' => 'requires'
|
||||
);
|
||||
break;
|
||||
|
||||
case 'nc':
|
||||
$rdf = array(
|
||||
'Reproduction' => 'permits',
|
||||
'Distribution' => 'permits',
|
||||
'DerivativeWorks' => 'permits',
|
||||
'CommercialUse' => 'prohibits',
|
||||
'Notice' => 'requires'
|
||||
);
|
||||
break;
|
||||
|
||||
case 'nc-sa':
|
||||
$rdf = array(
|
||||
'Reproduction' => 'permits',
|
||||
'Distribution' => 'permits',
|
||||
'DerivativeWorks' => 'permits',
|
||||
'ShareAlike' => 'requires',
|
||||
'CommercialUse' => 'prohibits',
|
||||
'Notice' => 'requires'
|
||||
);
|
||||
break;
|
||||
|
||||
case 'sa':
|
||||
$rdf = array(
|
||||
'Reproduction' => 'permits',
|
||||
'Distribution' => 'permits',
|
||||
'DerivativeWorks' => 'permits',
|
||||
'ShareAlike' => 'requires',
|
||||
'Notice' => 'requires'
|
||||
);
|
||||
break;
|
||||
|
||||
case '':
|
||||
$rdf = array(
|
||||
'Reproduction' => 'permits',
|
||||
'Distribution' => 'permits',
|
||||
'DerivativeWorks' => 'permits'
|
||||
);
|
||||
break;
|
||||
}
|
||||
|
||||
return array(
|
||||
'type' => $license_type,
|
||||
'string' => $license_string,
|
||||
'rdf' => $rdf
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/* vim: set sts=4 ts=4 expandtab : */
|
||||
?>
|
Reference in New Issue
Block a user