[WordPress] 外掛分享: Show Theme in Footer

首頁外掛目錄 › Show Theme in Footer
WordPress 外掛 Show Theme in Footer 的封面圖片
90+
安裝啟用
★★★★★
5/5 分(1 則評價)
50 天前
最後更新
問題解決
WordPress 3.0.1+ v1.1 上架:2016-12-17

內容簡介

此外掛會在後台頁尾右側顯示已啟用佈景主題名稱、版本及其母佈景主題名稱(僅當子佈景主題啟用時才會顯示母佈景主題)。

我們創建此外掛是因為我們管理著大量具有不同佈景主題的部落格。當更新佈景主題時,我們必須去查看哪個佈景主題是已啟用的、哪個是母佈景主題,以避免網站版面配置可能出現的問題。在更新已啟用的佈景主題之前,我們希望確認無啟用的佈景主題也是最新的。

資訊僅會顯示給已登入的管理員和編輯。

簡單、方便,而且節省了許多時間。

我們認為這個外掛會為管理不同佈景主題的部落格的所有使用者節省很多時間。

使用您語言的這個外掛

這個首次發佈的版本支援英文和西班牙文。在語言資料夾中,我們已經包含了翻譯此外掛所需的必要檔案。

如果您希望使用您的語言安裝此外掛並且您擅長翻譯,請透過聯絡我們來與我們聯繫。

進一步閱讀

您可以在以下網址找到西班牙文版本的外掛描述: Show Theme in Footer。

聯絡我們

欲獲得更多資訊,請透過電子郵件與我們聯繫。

翻譯 WordPress 外掛

翻譯外掛的步驟如下:

對代碼運行工具以產生 POT 檔案(Portable Object Template),這是可以本地化的所有文本的列表。我們的外掛已經在 /languages/ 資料夾中包含了此 POT 檔案。
使用純文字編輯器或特殊的本地化工具為每個文本部分產生翻譯,進而產生翻譯檔案 (Portable Object)。POT 和 PO 檔案之間的唯一差異在於,PO 檔案包含翻譯。
編譯 PO 文件以產生 MO 文件 (Machine Object),然後可在主題或外掛中使用。

若要翻譯外掛,您需要使用類似 poEdit 的特殊軟體工具。poEdit 是跨平台的圖形化工具,適用於 Windows、Linux 和 Mac OS X。

PO 和 MO 檔案的命名非常重要,必須與所需的語言區域相匹配。命名規則為: language_COUNTRY.po。且外掛還有一個進一步命名規則,即檔名中添加插件名稱: pluginname-fr_FR.po。

插件名稱必須是語言代碼後面是底線,國家代碼後面是連字號,兩個字母都要大寫。如果文件的編碼不是 UTF-8,則必須指定編碼。

例如:

en_US – 美式英文
en_UK – 英式英文
es_ES – 西班牙語(來自西班牙)
fr_FR – 法語(來自法國)
zh_CN – 簡體中文

語言代碼清單可在此處找到,國家代碼可在此處找到。編碼名稱的完整清單也可在IANA找到。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Show Theme in Footer」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin displays the active theme name, version and parent theme name in the Admin Footer on the right. Parent theme is only shown when a child theme is active.
We created this plugin because we manage a large number of blogs with different themes. When updating themes we always have to go and look which theme is active and which is the parent theme to prevent problems with the site layout. We always like to be sure before updating the active theme, but others non active theme should always be up to date.

Info is only shown to logged in Administrators and Editors.

Easy. Handy. And it saves us a lot of time.
We think it will save a lot of time of everybody that manages blogs with different themes.
Show Theme in Footer in your Language!
This first release is avaliable in English and Spanish. In the languages folder we have included the necessary files to translate this plugin.
If you would like the plugin in your language and you’re good at translating, please drop us a line at Contact us.
Further Reading
You can access the description of the plugin in Spanish at: Show Theme in Footer.
Contact
For further information please send us an email.
Translating WordPress Plugins
The steps involved in translating a plugin are:

Run a tool over the code to produce a POT file (Portable Object Template), simply a list of all localizable text. Our plugins allready havae this POT file in the /languages/ folder.
Use a plain text editor or a special localization tool to generate a translation for each piece of text. This produces a PO file (Portable Object). The only difference between a POT and PO file is that the PO file contains translations.
Compile the PO file to produce a MO file (Machine Object), which can then be used in the theme or plugin.

In order to translate a plugin you will need a special software tool like poEdit, which is a cross-platform graphical tool that is available for Windows, Linux, and Mac OS X.
The naming of your PO and MO files is very important and must match the desired locale. The naming convention is: language_COUNTRY.po and plugins have an additional naming convention whereby the plugin name is added to the filename: pluginname-fr_FR.po
That is, the plugin name name must be the language code followed by an underscore, followed by a code for the country (in uppercase). If the encoding of the file is not UTF-8 then the encoding must be specified.
For example:

en_US – US English
en_UK – UK English
es_ES – Spanish from Spain
fr_FR – French from France
zh_CN – Simplified Chinese

A list of language codes can be found here, and country codes can be found here. A full list of encoding names can also be found at IANA.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon