[WordPress] 外掛分享: Unit Converter

前言介紹

  • 這款 WordPress 外掛「Unit Converter」是 2009-03-18 上架。
  • 目前有 40 個安裝啟用數。
  • 上一次更新是 2019-11-05,距離現在已有 2305 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 2.7 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

miknight |

外掛標籤

unit | metric | imperial | standard | customary |

內容簡介

這個外掛程式可以檢測到度量單位(例如“10 磅”),並添加公制或非公制單位的等值(例如“4.5 公斤”)。轉換後的測量值可以以以下幾種方式之一添加:

當滑鼠移至原始測量值上時,或
在原始測量值後用括號括起來,例如“10 磅(4.5 公斤)”。

如果你使用了許多測量單位且正在為國際觀眾寫作,它將會非常有用。

支援的轉換種類

攝氏度 華氏度
厘米 英寸
克 盎司
千克 磅
千米 英里
千焦 能量卡(食物熱量單位)
升 加侖
米 英尺
毫升 液體盎司

請注意,這些非公制單位是美國常制單位。

錯誤

轉換後的測量值始終以它們的規範/長名稱書寫,例如“公斤”而不是“kg”。
無法處理帶引號的别名(例如5’或9”)或複合測量(例如5’9”)。

要報告任何錯誤,請從外掛程式主頁面進行。

計劃

選項頁面可配置外掛程式的各個方面。
轉換後的單位使用適當的詞語縮寫辨識。
提供選項以使用英國的度量單位,而不是美國的常制單位。

原文外掛簡介

This plugin detects units of measurement (e.g. “10 lbs”) and will add the metric or non-metric equivalent (e.g. “4.5 kilograms”). The converted measurement can be added in several ways:

as a mouse-over, or
in brackets after the original measurement, e.g. “10 lbs (4.5 kilograms)”.

It is useful if you use lots of measurements and are writing for an international audience.
Currently Supported Conversions

Celsius Fahrenheit
Centimetres inches
Grams ounces
Kilograms pounds
Kilometres miles
Kilojoules (food) calories
Litres gallons
Metres feet
Millilitres fluid ounces

Note that these non-metric units are in US customary units.
Bugs

Converted measurements will always be written in their canonical/long name, e.g. ‘kilograms’ instead of ‘kg’.
Cannot handle quoted aliases (e.g. 5′ or 9″) or composite measurements, e.g. 5’9″.

To report any bugs please do so from the plugin homepage.
Plans

An options page to configure various aspects of the plugin.
Auto-detection for which measurement abbreviation to use for the converted unit (lbs -> kg, pounds -> kilograms).
An option to use Imperial measurements as distinct from US customary units.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Unit Converter」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.1 | 0.2 | 0.3 | 0.5.2 | 0.5.3 | trunk |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon