mirror of
https://github.com/supabase/supabase.git
synced 2026-05-06 17:00:27 -04:00
e1bd23d66f
When translation tools go over prices, they wrongfully convert USD into other currencies without changing the price. $25 becomes Rp25 (Rupiah). By using `translate='no'` we avoid the translation of pricing info. There are some tooltips left that are not covered yet, but this should be the majority already. Kept the docs Pricing component as simple as possible, just wrapping in a span to avoid translation, not modifying any formatting.
8 lines
150 B
TypeScript
8 lines
150 B
TypeScript
interface PriceProps {
|
|
price: string
|
|
}
|
|
|
|
export const Price: React.FC<PriceProps> = ({ price }) => {
|
|
return <span translate="no">${price}</span>
|
|
}
|