Return-Path: Delivered-To: apmail-felix-commits-archive@www.apache.org Received: (qmail 31418 invoked from network); 23 Mar 2010 08:25:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Mar 2010 08:25:23 -0000 Received: (qmail 50764 invoked by uid 500); 23 Mar 2010 08:25:23 -0000 Delivered-To: apmail-felix-commits-archive@felix.apache.org Received: (qmail 50681 invoked by uid 500); 23 Mar 2010 08:25:23 -0000 Mailing-List: contact commits-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list commits@felix.apache.org Received: (qmail 50674 invoked by uid 99); 23 Mar 2010 08:25:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 08:25:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 08:25:21 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 3748B23888CE; Tue, 23 Mar 2010 08:25:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r926493 - in /felix/trunk/webconsole-plugins/upnp/src/main: java/org/apache/felix/webconsole/plugins/upnp/internal/WebConsolePlugin.java native2ascii/OSGI-INF/l10n/bundle_bg.properties resources/OSGI-INF/l10n/bundle.properties Date: Tue, 23 Mar 2010 08:25:01 -0000 To: commits@felix.apache.org From: vvalchev@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100323082501.3748B23888CE@eris.apache.org> Author: vvalchev Date: Tue Mar 23 08:25:00 2010 New Revision: 926493 URL: http://svn.apache.org/viewvc?rev=926493&view=rev Log: added localization of plugin title Modified: felix/trunk/webconsole-plugins/upnp/src/main/java/org/apache/felix/webconsole/plugins/upnp/internal/WebConsolePlugin.java felix/trunk/webconsole-plugins/upnp/src/main/native2ascii/OSGI-INF/l10n/bundle_bg.properties felix/trunk/webconsole-plugins/upnp/src/main/resources/OSGI-INF/l10n/bundle.properties Modified: felix/trunk/webconsole-plugins/upnp/src/main/java/org/apache/felix/webconsole/plugins/upnp/internal/WebConsolePlugin.java URL: http://svn.apache.org/viewvc/felix/trunk/webconsole-plugins/upnp/src/main/java/org/apache/felix/webconsole/plugins/upnp/internal/WebConsolePlugin.java?rev=926493&r1=926492&r2=926493&view=diff ============================================================================== --- felix/trunk/webconsole-plugins/upnp/src/main/java/org/apache/felix/webconsole/plugins/upnp/internal/WebConsolePlugin.java (original) +++ felix/trunk/webconsole-plugins/upnp/src/main/java/org/apache/felix/webconsole/plugins/upnp/internal/WebConsolePlugin.java Tue Mar 23 08:25:00 2010 @@ -33,7 +33,7 @@ public class WebConsolePlugin extends Si { private static final String LABEL = "upnp"; - private static final String TITLE = "UPnP"; + private static final String TITLE = "%pluginTitle"; private static final String CSS[] = { "/" + LABEL + "/res/upnp.css", // "/" + LABEL + "/res/jquery-treeview-1.4/jquery.treeview.css", // }; Modified: felix/trunk/webconsole-plugins/upnp/src/main/native2ascii/OSGI-INF/l10n/bundle_bg.properties URL: http://svn.apache.org/viewvc/felix/trunk/webconsole-plugins/upnp/src/main/native2ascii/OSGI-INF/l10n/bundle_bg.properties?rev=926493&r1=926492&r2=926493&view=diff ============================================================================== --- felix/trunk/webconsole-plugins/upnp/src/main/native2ascii/OSGI-INF/l10n/bundle_bg.properties (original) +++ felix/trunk/webconsole-plugins/upnp/src/main/native2ascii/OSGI-INF/l10n/bundle_bg.properties Tue Mar 23 08:25:00 2010 @@ -1,4 +1,33 @@ -# Convert to normal properties using: native2ascii.exe -encoding utf-8 bundle_bg.properties.utf8 bundle_bg.properties +#Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# +# Web Console strings for reference all strings here are commented. +# This file may be used to produce a translation of the strings +# +# Note that properties files are ISO-8859-1 encoded. To provide translations +# for languages requiring different character encodings, you may use the +# native2ascii Maven Plugin from http://mojo.codehaus.org/native2ascii-maven-plugin/ +# to translate the natively encoded files to ISO-8859-1 during bundle build +# +# Translations requiring non-ISO-8859-1 encoding are placed in the +# src/main/native2ascii/OSGI-INF/l10n folder and are converted using said +# plugin while building the bundle +# native2ascii -encoding utf-8 bundle_bg.raw_properties bundle_bg.properties +pluginTitle=У-ва UPnP + status.ok=UPnP работи. Вижте по-долу за наличните устройсва. btn.search=Търсене на устройства btn.reloadVars=Презареждане на променливите Modified: felix/trunk/webconsole-plugins/upnp/src/main/resources/OSGI-INF/l10n/bundle.properties URL: http://svn.apache.org/viewvc/felix/trunk/webconsole-plugins/upnp/src/main/resources/OSGI-INF/l10n/bundle.properties?rev=926493&r1=926492&r2=926493&view=diff ============================================================================== --- felix/trunk/webconsole-plugins/upnp/src/main/resources/OSGI-INF/l10n/bundle.properties (original) +++ felix/trunk/webconsole-plugins/upnp/src/main/resources/OSGI-INF/l10n/bundle.properties Tue Mar 23 08:25:00 2010 @@ -1,3 +1,33 @@ +#Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# +# Web Console strings for reference all strings here are commented. +# This file may be used to produce a translation of the strings +# +# Note that properties files are ISO-8859-1 encoded. To provide translations +# for languages requiring different character encodings, you may use the +# native2ascii Maven Plugin from http://mojo.codehaus.org/native2ascii-maven-plugin/ +# to translate the natively encoded files to ISO-8859-1 during bundle build +# +# Translations requiring non-ISO-8859-1 encoding are placed in the +# src/main/native2ascii/OSGI-INF/l10n folder and are converted using said +# plugin while building the bundle +# native2ascii -encoding utf-8 bundle_bg.raw_properties bundle_bg.properties +pluginTitle=UPnP + status.ok=UPnP Service Available. btn.search=Search for UPnP Devices btn.reloadVars=Reload State Variables