Author: dreimer
Date: Wed Feb 20 00:31:09 2008
New Revision: 32427
URL:
http://svn.reactos.org/svn/reactos?rev=32427&view=rev
Log:
Okokok, I dont know why someone should feel the urge to translate MB, KB, and GB (Except
specific languages...), but here they are.
Modified:
trunk/reactos/base/setup/usetup/interface/usetup.c
trunk/reactos/base/setup/usetup/lang/bg-BG.h
trunk/reactos/base/setup/usetup/lang/de-DE.h
trunk/reactos/base/setup/usetup/lang/el-GR.h
trunk/reactos/base/setup/usetup/lang/en-US.h
trunk/reactos/base/setup/usetup/lang/es-ES.h
trunk/reactos/base/setup/usetup/lang/fr-FR.h
trunk/reactos/base/setup/usetup/lang/it-IT.h
trunk/reactos/base/setup/usetup/lang/lt-LT.h
trunk/reactos/base/setup/usetup/lang/pl-PL.h
trunk/reactos/base/setup/usetup/lang/ru-RU.h
trunk/reactos/base/setup/usetup/lang/sk-SK.h
trunk/reactos/base/setup/usetup/lang/sv-SE.h
trunk/reactos/base/setup/usetup/lang/uk-UA.h
trunk/reactos/base/setup/usetup/mui.h
trunk/reactos/base/setup/usetup/partlist.c
Modified: trunk/reactos/base/setup/usetup/interface/usetup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/interfac…
==============================================================================
--- trunk/reactos/base/setup/usetup/interface/usetup.c (original)
+++ trunk/reactos/base/setup/usetup/interface/usetup.c Wed Feb 20 00:31:09 2008
@@ -1612,7 +1612,7 @@
if (DiskEntry->DiskSize >= 0x280000000ULL) /* 10 GB */
{
DiskSize = (DiskEntry->DiskSize + (1 << 29)) >> 30;
- Unit = "GB";
+ Unit = MUIGetString(STRING_GB);
}
else
#endif
@@ -1622,7 +1622,7 @@
if (DiskSize == 0)
DiskSize = 1;
- Unit = "MB";
+ Unit = MUIGetString(STRING_MB);
}
if (DiskEntry->DriverName.Length > 0)
@@ -1780,19 +1780,19 @@
if (PartEntry->PartInfo[0].PartitionLength.QuadPart >= 0x280000000LL) /* 10 GB
*/
{
PartSize = (PartEntry->PartInfo[0].PartitionLength.QuadPart + (1 << 29))
>> 30;
- Unit = "GB";
+ Unit = MUIGetString(STRING_GB);
}
else
#endif
if (PartEntry->PartInfo[0].PartitionLength.QuadPart >= 0xA00000LL) /* 10 MB */
{
PartSize = (PartEntry->PartInfo[0].PartitionLength.QuadPart + (1 << 19))
>> 20;
- Unit = "MB";
+ Unit = MUIGetString(STRING_MB);
}
else
{
PartSize = (PartEntry->PartInfo[0].PartitionLength.QuadPart + (1 << 9))
>> 10;
- Unit = "KB";
+ Unit = MUIGetString(STRING_KB);
}
if (PartType == NULL)
@@ -1820,7 +1820,7 @@
if (DiskEntry->DiskSize >= 0x280000000ULL) /* 10 GB */
{
DiskSize = (DiskEntry->DiskSize + (1 << 29)) >> 30;
- Unit = "GB";
+ Unit = MUIGetString(STRING_GB);
}
else
#endif
@@ -1830,7 +1830,7 @@
if (DiskSize == 0)
DiskSize = 1;
- Unit = "MB";
+ Unit = MUIGetString(STRING_MB);
}
if (DiskEntry->DriverName.Length > 0)
@@ -1913,24 +1913,24 @@
if (DiskEntry->DiskSize >= 0x280000000ULL) /* 10 GB */
{
DiskSize = (DiskEntry->DiskSize + (1 << 29)) >> 30;
- DiskUnit = "GB";
+ DiskUnit = MUIGetString(STRING_GB);
}
else
{
DiskSize = (DiskEntry->DiskSize + (1 << 19)) >> 20;
- DiskUnit = "MB";
+ DiskUnit = MUIGetString(STRING_MB);
}
/* adjust partition size */
if (PartEntry->PartInfo[0].PartitionLength.QuadPart >= 0x280000000LL) /* 10 GB
*/
{
PartSize = (PartEntry->PartInfo[0].PartitionLength.QuadPart + (1 << 29))
>> 30;
- PartUnit = "GB";
+ PartUnit = MUIGetString(STRING_GB);
}
else
{
PartSize = (PartEntry->PartInfo[0].PartitionLength.QuadPart + (1 << 19))
>> 20;
- PartUnit = "MB";
+ PartUnit = MUIGetString(STRING_MB);
}
/* adjust partition type */
Modified: trunk/reactos/base/setup/usetup/lang/bg-BG.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/bg-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/bg-BG.h (original)
+++ trunk/reactos/base/setup/usetup/lang/bg-BG.h Wed Feb 20 00:31:09 2008
@@ -1683,6 +1683,12 @@
"Unused"},
{STRING_FORMATUNKNOWN,
"Unknown"},
+ {STRING_KB,
+ "KB"},
+ {STRING_MB,
+ "MB"},
+ {STRING_GB,
+ "GB"},
{0, 0}
};
Modified: trunk/reactos/base/setup/usetup/lang/de-DE.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/de-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/de-DE.h (original)
+++ trunk/reactos/base/setup/usetup/lang/de-DE.h Wed Feb 20 00:31:09 2008
@@ -1680,6 +1680,12 @@
"Ungenutzt"},
{STRING_FORMATUNKNOWN,
"Unbekannt"},
+ {STRING_KB,
+ "KB"},
+ {STRING_MB,
+ "MB"},
+ {STRING_GB,
+ "GB"},
{0, 0}
};
Modified: trunk/reactos/base/setup/usetup/lang/el-GR.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/el-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/el-GR.h (original)
+++ trunk/reactos/base/setup/usetup/lang/el-GR.h Wed Feb 20 00:31:09 2008
@@ -1674,6 +1674,12 @@
"Unused"},
{STRING_FORMATUNKNOWN,
"Unknown"},
+ {STRING_KB,
+ "KB"},
+ {STRING_MB,
+ "MB"},
+ {STRING_GB,
+ "GB"},
{0, 0}
};
Modified: trunk/reactos/base/setup/usetup/lang/en-US.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/en-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/en-US.h (original)
+++ trunk/reactos/base/setup/usetup/lang/en-US.h Wed Feb 20 00:31:09 2008
@@ -1674,6 +1674,12 @@
"Unused"},
{STRING_FORMATUNKNOWN,
"Unknown"},
+ {STRING_KB,
+ "KB"},
+ {STRING_MB,
+ "MB"},
+ {STRING_GB,
+ "GB"},
{0, 0}
};
Modified: trunk/reactos/base/setup/usetup/lang/es-ES.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/es-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/es-ES.h (original)
+++ trunk/reactos/base/setup/usetup/lang/es-ES.h Wed Feb 20 00:31:09 2008
@@ -1673,6 +1673,12 @@
"Unused"},
{STRING_FORMATUNKNOWN,
"Unknown"},
+ {STRING_KB,
+ "KB"},
+ {STRING_MB,
+ "MB"},
+ {STRING_GB,
+ "GB"},
{0, 0}
};
Modified: trunk/reactos/base/setup/usetup/lang/fr-FR.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/fr-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/fr-FR.h (original)
+++ trunk/reactos/base/setup/usetup/lang/fr-FR.h Wed Feb 20 00:31:09 2008
@@ -1686,6 +1686,12 @@
"Non utilis"},
{STRING_FORMATUNKNOWN,
"Inconnu"},
+ {STRING_KB,
+ "Ko"},
+ {STRING_MB,
+ "Mo"},
+ {STRING_GB,
+ "Go"},
{0, 0}
};
Modified: trunk/reactos/base/setup/usetup/lang/it-IT.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/it-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/it-IT.h (original)
+++ trunk/reactos/base/setup/usetup/lang/it-IT.h Wed Feb 20 00:31:09 2008
@@ -1674,6 +1674,12 @@
"Unused"},
{STRING_FORMATUNKNOWN,
"Unknown"},
+ {STRING_KB,
+ "KB"},
+ {STRING_MB,
+ "MB"},
+ {STRING_GB,
+ "GB"},
{0, 0}
};
Modified: trunk/reactos/base/setup/usetup/lang/lt-LT.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/lt-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/lt-LT.h (original)
+++ trunk/reactos/base/setup/usetup/lang/lt-LT.h Wed Feb 20 00:31:09 2008
@@ -1683,6 +1683,12 @@
"Unused"},
{STRING_FORMATUNKNOWN,
"Unknown"},
+ {STRING_KB,
+ "KB"},
+ {STRING_MB,
+ "MB"},
+ {STRING_GB,
+ "GB"},
{0, 0}
};
Modified: trunk/reactos/base/setup/usetup/lang/pl-PL.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/pl-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/pl-PL.h (original)
+++ trunk/reactos/base/setup/usetup/lang/pl-PL.h Wed Feb 20 00:31:09 2008
@@ -1682,6 +1682,12 @@
"Unused"},
{STRING_FORMATUNKNOWN,
"Unknown"},
+ {STRING_KB,
+ "KB"},
+ {STRING_MB,
+ "MB"},
+ {STRING_GB,
+ "GB"},
{0, 0}
};
Modified: trunk/reactos/base/setup/usetup/lang/ru-RU.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/ru-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/ru-RU.h (original)
+++ trunk/reactos/base/setup/usetup/lang/ru-RU.h Wed Feb 20 00:31:09 2008
@@ -1674,6 +1674,12 @@
"¥ ¨á¯®«ì§®¢ ®"},
{STRING_FORMATUNKNOWN,
"¥¨§¢¥áâë©"},
+ {STRING_KB,
+ "KB"},
+ {STRING_MB,
+ "MB"},
+ {STRING_GB,
+ "GB"},
{0, 0}
};
Modified: trunk/reactos/base/setup/usetup/lang/sk-SK.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/sk-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/sk-SK.h (original)
+++ trunk/reactos/base/setup/usetup/lang/sk-SK.h Wed Feb 20 00:31:09 2008
@@ -1679,6 +1679,12 @@
"Unused"},
{STRING_FORMATUNKNOWN,
"Unknown"},
+ {STRING_KB,
+ "KB"},
+ {STRING_MB,
+ "MB"},
+ {STRING_GB,
+ "GB"},
{0, 0}
};
Modified: trunk/reactos/base/setup/usetup/lang/sv-SE.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/sv-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/sv-SE.h (original)
+++ trunk/reactos/base/setup/usetup/lang/sv-SE.h Wed Feb 20 00:31:09 2008
@@ -1673,6 +1673,12 @@
"Unused"},
{STRING_FORMATUNKNOWN,
"Unknown"},
+ {STRING_KB,
+ "KB"},
+ {STRING_MB,
+ "MB"},
+ {STRING_GB,
+ "GB"},
{0, 0}
};
Modified: trunk/reactos/base/setup/usetup/lang/uk-UA.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/uk-…
==============================================================================
--- trunk/reactos/base/setup/usetup/lang/uk-UA.h (original)
+++ trunk/reactos/base/setup/usetup/lang/uk-UA.h Wed Feb 20 00:31:09 2008
@@ -1674,6 +1674,12 @@
"Unused"},
{STRING_FORMATUNKNOWN,
"Unknown"},
+ {STRING_KB,
+ "KB"},
+ {STRING_MB,
+ "MB"},
+ {STRING_GB,
+ "GB"},
{0, 0}
};
Modified: trunk/reactos/base/setup/usetup/mui.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/mui.h?re…
==============================================================================
--- trunk/reactos/base/setup/usetup/mui.h (original)
+++ trunk/reactos/base/setup/usetup/mui.h Wed Feb 20 00:31:09 2008
@@ -121,4 +121,7 @@
#define STRING_UNFORMATTED 50
#define STRING_FORMATUNUSED 51
#define STRING_FORMATUNKNOWN 52
+#define STRING_KB 53
+#define STRING_MB 54
+#define STRING_GB 55
#endif
Modified: trunk/reactos/base/setup/usetup/partlist.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/partlist…
==============================================================================
--- trunk/reactos/base/setup/usetup/partlist.c (original)
+++ trunk/reactos/base/setup/usetup/partlist.c Wed Feb 20 00:31:09 2008
@@ -1120,19 +1120,19 @@
if (PartEntry->UnpartitionledLength >= 0x280000000ULL) /* 10 GB */
{
PartSize.QuadPart = (PartEntry->UnpartitionedLength + (1 << 29)) >>
30;
- Unit = "GB";
+ Unit = MUIGetString(STRING_GB);
}
else
#endif
if (PartEntry->UnpartitionedLength >= 0xA00000ULL) /* 10 MB */
{
PartSize.QuadPart = (PartEntry->UnpartitionedLength + (1 << 19))
>> 20;
- Unit = "MB";
+ Unit = MUIGetString(STRING_MB);
}
else
{
PartSize.QuadPart = (PartEntry->UnpartitionedLength + (1 << 9)) >>
10;
- Unit = "KB";
+ Unit = MUIGetString(STRING_KB);
}
sprintf (LineBuffer,
@@ -1176,19 +1176,19 @@
if (PartEntry->PartInfo[0].PartitionLength.QuadPart >= 0x280000000LL) /* 10 GB
*/
{
PartSize.QuadPart = (PartEntry->PartInfo[0].PartitionLength.QuadPart + (1
<< 29)) >> 30;
- Unit = "GB";
+ Unit = MUIGetString(STRING_GB);
}
else
#endif
if (PartEntry->PartInfo[0].PartitionLength.QuadPart >= 0xA00000LL) /* 10 MB */
{
PartSize.QuadPart = (PartEntry->PartInfo[0].PartitionLength.QuadPart + (1
<< 19)) >> 20;
- Unit = "MB";
+ Unit = MUIGetString(STRING_MB);
}
else
{
PartSize.QuadPart = (PartEntry->PartInfo[0].PartitionLength.QuadPart + (1
<< 9)) >> 10;
- Unit = "KB";
+ Unit = MUIGetString(STRING_KB);
}
if (PartType == NULL)
@@ -1274,7 +1274,7 @@
if (DiskEntry->DiskSize >= 0x280000000ULL) /* 10 GB */
{
DiskSize.QuadPart = (DiskEntry->DiskSize + (1 << 29)) >> 30;
- Unit = "GB";
+ Unit = MUIGetString(STRING_GB);
}
else
#endif
@@ -1282,7 +1282,7 @@
DiskSize.QuadPart = (DiskEntry->DiskSize + (1 << 19)) >> 20;
if (DiskSize.QuadPart == 0)
DiskSize.QuadPart = 1;
- Unit = "MB";
+ Unit = MUIGetString(STRING_MB);
}
if (DiskEntry->DriverName.Length > 0)